Skip to content

Deleting a debian package does not remove it from the apt Packages list that clients see #32830

Open
@anti-spin

Description

@anti-spin

Description

we erroneously uploaded a dev version of a package and after deleting it via the gitea web ui, we can confirm it is removed

  • 🗹 from the file system
  • 🗹 from the sqlite db we use, and
  • 🗹 it does not show in gitea admin lists.

But when fetching the Packages list via apt - or curl -

  • ☐ we still see the "dirty" version in there.

We tried restarting the gitea instance and we can not find a regenerate for debian Package lists.

The expectation would be that deleted packages do not show up via apt.

By no means severe but a bit annoying, since the deleted version happens to get preferred as newer than the actual newest one in our case, which made us have to blacklist that version on clients for apt upgrade to run smoothly.

Gitea Version

Gitea version 1.22.3 built with GNU Make 4.3, go1.22.8

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

git version 2.30.2

Operating System

debian

How are you running Gitea?

using a downloaded gitea version, self hosted.

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions