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

Jan Dobes jdobes at redhat.com
Wed Oct 5 15:40:17 UTC 2016


Hello,

I implemented workaround in spacewalk-repo-sync.

https://github.com/spacewalkproject/spacewalk/commit/47d82a693ac26a25970732c10aee8731eb92fe82

On 5.10.2016 17:25 Tony Dufour wrote:
> 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.
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>

-- 
Jan Dobes
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list