-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Debian registry: Reading package lists... Error! #26313
Labels
Milestone
Comments
Thank you for the report. That's the first debian package I got which has a double newline character at the end of the control block. I will send a fix soon. |
KN4CK3R
added a commit
that referenced
this issue
Aug 5, 2023
GiteaBot
pushed a commit
to GiteaBot/gitea
that referenced
this issue
Aug 5, 2023
KN4CK3R
added a commit
that referenced
this issue
Aug 5, 2023
Backport #26332 by @KN4CK3R Fixes #26313 Co-authored-by: KN4CK3R <[email protected]>
Thanks for quick fix! 🥳 |
project-mirrors-bot-tu bot
pushed a commit
to project-mirrors/forgejo-as-gitea-fork
that referenced
this issue
Jan 23, 2025
…a#26342) Backport go-gitea#26332 by @KN4CK3R Fixes go-gitea#26313 Co-authored-by: KN4CK3R <[email protected]> (cherry picked from commit 3e9475b)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I was create Debian packages as described there, and then upload it to registry at Gitea demo site there. I also reproduse this error at my Gitea instanse version
1.20.2
.But when I try to setup this registry from the command line, I get the error:
Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/try.gitea.io_api_packages_podsvirov_debian_dists_ubuntu_jammy_binary-amd64_Packages.lz4 E: The package lists or status file could not be parsed or opened.
Looks like Gite generate extra empty line inside
Package
file insidePackage
description block.I guess the source of the error in the code is here.
Gitea Version
1.20.2
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
The docker container from image gitea/gitea:1.20.2 on Ubuntu host via docker-compose.
Database
SQLite
The text was updated successfully, but these errors were encountered: