Skip to content

Debian registry: Reading package lists... Error! #26313

Closed
@podsvirov

Description

@podsvirov

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 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions