Skip to content
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

Broken filelists.xml #3025

Open
lystor opened this issue Jan 7, 2025 · 1 comment
Open

Broken filelists.xml #3025

lystor opened this issue Jan 7, 2025 · 1 comment
Labels
new New bug submitted

Comments

@lystor
Copy link

lystor commented Jan 7, 2025

OpenMandriva version:
Cooker

Describe the bug:
Hello
filelists.xml can't be parsed due to XML errors.
It is broken in cooker x86_64 main release repository.

Steps to reproduce:

$ wget https://abf-downloads.openmandriva.org/cooker/repository/x86_64/main/release/repodata/59c3b2b330dd575b8aebbfdd497d2d7cbd16531add1d587afac96b073c822227-filelists.xml.xz

$ unxz 59c3b2b330dd575b8aebbfdd497d2d7cbd16531add1d587afac96b073c822227-filelists.xml.xz

$ xmllint 59c3b2b330dd575b8aebbfdd497d2d7cbd16531add1d587afac96b073c822227-filelists.xml 
59c3b2b330dd575b8aebbfdd497d2d7cbd16531add1d587afac96b073c822227-filelists.xml:4320035: parser error : Opening and ending tag mismatch: file line 4319581 and filelists
</filelists>
            ^
59c3b2b330dd575b8aebbfdd497d2d7cbd16531add1d587afac96b073c822227-filelists.xml:4320035: parser error : Premature end of data in tag package line 4318593
</filelists>
            ^

Observed behavior:

        <file>/usr/share/zsh/5.9/functions/Completion/Zsh/_command</file>
        <file>/usr/share/zsh/5.9/functions/Completion/Zsh/_command_names</file>
        <file>/usr/sh<package pkgid="6406b45b9f3d6f10af3c1dc7acabeac1678dca59599857e2f25e94e14dc327b1" name="zsh-curl" arch="x86_64">         <--- line 4319581
        <version epoch="0" ver="8.11.1" rel="1"/>
        <file>/usr/share/zsh/site-functions/_curl</file>
</package>

Expected behavior:
no XML errors

@lystor lystor added the new New bug submitted label Jan 7, 2025
@rugyada
Copy link
Contributor

rugyada commented Jan 7, 2025

filelists.xml can't be parsed due to XML errors.

Hello,
It may happen while publishing package/s and refreshing the repository metadata. Usually the good old fix "try again later" should work.
Good practice is to clean the dnf cache before try again
sudo dnf clean all;dnf clean all

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

No branches or pull requests

2 participants