Epel has been known to have similar problems in the past.
Its usually due to a bad mirror which isn't completely synced with the master.
That's why with epel I usually sync from the mirror list first for speed then sync from an other two known good but slower repos after that.
It would be nice if all mirrors were always complete but unfortunately it doesn't always work that way.



-- Sent from my HP Pre3


On Mar 15, 2013 2:14 PM, Coffman, Anthony J <[email protected]> wrote:

For what it's worth - it appears that errata are now importing correctly now from the public-yum repository.

--Tony




From: [email protected] [mailto:[email protected]] On Behalf Of Robinson, Adam (ITS)
Sent: Friday, March 15, 2013 1:51 PM
To: '[email protected]'
Subject: [Spacewalk-list] Oracle Linux Errata

I saw on the list a few weeks ago that there were some questions about how to get Oracle Linux errata info into Spacewalk.  Most of what I saw looks like it related to importing data from the public-yum repository.  I however am using the ULN to mirror the packages and the errata.

I have a server registered to ULN that mirrors the packages into a yum repository.  This yum repository contains no errata info.  I am then having spacewalk sync from the local repository.  I have written a script that on the mirror server pulls the errata info from ULN and writes an XML file.  I have another script that I run on the Spacewalk server that takes that xml file and creates errata from it.  I also have some hacks in there to connect to the database and set the creation date.  I need to update it for 1.9 because it looks like the API was extended to support setting the date.

It's not the prettiest (the first thing I have ever written in Python), and it makes some assumptions (like your repository names in Spacewalk match the ULN repository names),  but I hope others will find it useful.

Thanks,
Adam Robinson
Systems Administrator Intermediate
University of Michigan-Flint

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to