[Spacewalk-list] Unable to sync Red Hat errata incorrect metadata

Tony Dufour Tony.Dufour at gemalto.com
Wed Oct 5 15:25:46 UTC 2016


Dear Spacewalk users,

For weeks now I'm unable to sync Red Hat errata from RHSM, when I perform a reposync I have the following error:
ERROR: invalid literal for int() with base 10: 'RHSA-2015:0087'

There is an open bug at Red Hat since it seems to be a formatting issue on their side:
https://bugzilla.redhat.com/show_bug.cgi?id=1354496

But the bug has been opened for quite a month and still no solution.
So I'm wondering if a workaround is possible since I really need to get and apply errata on my servers.

As described on bug page, I'm able to find and modify the "corrupted" file, for example :
/var/cache/rhn/reposync/rhel-6-x86_64/c98304f7c9e142a93ff1ef2ef8b70a4ca06fdca3f71efc49bf7e3cdd57cec29c-updateinfo.xml.gz
Gunzip to XML > apply the sed command on bug page > gzip the XML back.

But when I have this modified file in /var/cache/reposync I don't know if there's a way to push the errata into my Spacewalk ?
Or maybe another workaround is possible ?

Any kind of idea or comment will be appreciated :)

Best Regards,

Tony
________________________________
 This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus.




More information about the Spacewalk-list mailing list