Franky<br>Its a little more complicated than that look at the ticket the API overrides the package IDs because when you add the package via the API it does an other NVREA search and propagates the first package it finds to the rest of the channels. Even if it doesn't match the package id you defined in the creation of the errata.<br>This isn't by accident by the way it explicitly stated in comment in the code that it was done that way on purpose. Its not actually the fault of the developers of the errata sync scripts.<br>So don't blame it on David Nutter by saying he wrote a bad script.<br><br>I did a lot of digging into the subject and would be glad to share notes with you on the developers list. Just start the thread and I'll jump in.<br><br>That being said there are a few options for sync scripts.<br>There Frankys script<br>There is mine <a href="https://github.com/prmarino1/Extravehicular-Activity-Admin/blob/master/errata-tools/eva-direct-errata-sync.pl" type="url">https://github.com/prmarino1/Extravehicular-Activity-Admin/blob/master/errata-tools/eva-direct-errata-sync.pl</a><br>And many more<br> <br><br><br><br><span style="font-family:Prelude, Verdana, san-serif;"><br><br></span><span id="signature"><div style="font-family: arial, sans-serif; font-size: 12px;color: #999999;">-- Sent from my HP Pre3</div><br></span><span style="color:navy; font-family:Prelude, Verdana, san-serif; "><hr align="left" style="width:75%">On Jan 28, 2013 5:11 PM, Franky Van Liedekerke <liedekef@telenet.be> wrote: <br><br></span>On Mon, 28 Jan 2013 12:54:27 -0600 <br>Nick Wales <nick@nickwales.co.uk> wrote: <br> <br>> Using David Nutters script <br>> https://github.com/davidnutter/Centos-Errata <br>>  <br>> I have a centos 5 machine and a centos 6 machine pushing errata. The <br>> centos 6 errata is entered fine, but for errata which spans both <br>> releases the second release that is attempted, in this case 5, the <br>> log reads <br>>  <br>> "Errata CEEA-2012:1488 already exists on server, skipping" <br>>  <br>> Any thoughts on how this can be overcome? <br> <br>This is one of the scripts that can (and will) lead to <br>channel-crosscontamination, so I suggest you don't use it. <br>See this line in the code: <br> <br>            if len(result) > 0: <br>                pkg_details = result[0] <br> <br>==> the package info is searched upon based on it's NVREA (name, <br>version, release, epoch and architecture), but this can be the same for <br>redhat and centos, so the solution in the script: if you find more than <br>one package, just use the first one found ... and as a result that <br>package gets pushed in your channel (and so redhat packages can get in <br>centos channels). <br>Please consider using another script (in this case I'll advertise <br>mine but there are others) that has no such issues:  <br>https://github.com/liedekef/spacewalk_scripts <br> <br>Franky <br> <br>_______________________________________________ <br>Spacewalk-list mailing list <br>Spacewalk-list@redhat.com <br>https://www.redhat.com/mailman/listinfo/spacewalk-list <br>