Updateinfo file is not valid XML

Using yum-cron, I got this message from Anacron:

/etc/cron.daily/0yum-daily.cron: Updateinfo file is not valid XML: <open file ‘/var/cache/yum/x86_64/7/epel/92f2e15cad66d79ea1ad327e2af7af89d98e4d153d7a3e27ff41946f476af5b4-updateinfo.xml.zck’, mode ‘rt’ at 0x7f811c1d5930>

This seems to be caused by a problem on EPEL repository. Hopefully they’ll fix it soon.
https://pagure.io/releng/issue/8392

Do note it might take a yum clean metadata or yum clean all to make it work again.

2 Likes

It is fixed upstream. Today I didn’t get that error message (did not have to run yum clean).

puiterwijk | comment #572880

This is caused by a bug in the commit that introduced zchunk support (Create zchunked updateinfo · fedora-infra/bodhi@ae2e3da · GitHub), where it inserts the zchunk file with filetype rather than ft .
Fix is at Set the correct filetype for zchunk metadata by puiterwijk · Pull Request #3261 · fedora-infra/bodhi · GitHub

2 Likes