You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 inside Package 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:
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.
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: