Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
anti-spin opened this issue Dec 13, 2024 · 2 comments

Comments

@anti-spin
Copy link

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

@KN4CK3R
Copy link
Member

KN4CK3R commented Dec 15, 2024

Reason and fix is here: #22810

@wxiaoguang
Copy link
Contributor

Reason and fix is here: #22810

Would there be some tests? Then get it in 1.23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants