[Spacewalk-list] Errata not updating

Michael Mraka michael.mraka at redhat.com
Thu Sep 7 08:58:28 UTC 2017


Sean Roe:
> Hi All,
> 
> I just finished updating my spacewalk install to 2.6 and then we migrated to postgres.  I manually run the repo syncs and now I am getting this error "ERROR: duplicate key value violates unique constraint "rhn_errata_advisory_uq""  when I do one.  My research indicates that this will kill my erratas.  How do I repair this?
> 
> Output from the repo sync:
> 13:15:52 Linking packages to channel.
> 13:15:55 Repo http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/i386/ has comps file comps.xml.
> 13:15:56 Repo http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/i386/ has 1285 errata.
> 13:17:26 ERROR: duplicate key value violates unique constraint "rhn_errata_advisory_uq"
> 
> Any suggestions would be helpful.

Did all upgrade steps described on https://github.com/spacewalkproject/spacewalk/wiki/HowToUpgrade passed succefully?
Especially schema upgrade step; were there any errors?
 
> Thanks,
> Sean

Regards,

--
Michael Mráka
System Management Engineering, Red Hat




More information about the Spacewalk-list mailing list