[Spacewalk-list] ERROR: duplicate key value violates unique constraint "rhn_pkg_clr_pid_cld_uq"

Dennis Pittman djpittma at outlook.com
Sun Nov 24 16:39:19 UTC 2019


Hi Frank,

This is normally caused when you have a package that the metadata changed.   Try clearing the satellite sync cache and then attempt your reposync again and this that fails you will need to remove the package completely and resync.


Steps:
  # rm -rf /var/cache/rhn/satsync

  # satellite-sync -c ‘channel-name”
Regards,

Dennis P.


From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> On Behalf Of Frank Mueller
Sent: Wednesday, November 20, 2019 2:23 AM
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] ERROR: duplicate key value violates unique constraint "rhn_pkg_clr_pid_cld_uq"

Hello,

i have problems with some rpm not being pushed into spacewalk with this error message in postgres log:

ERROR: duplicate key value violates unique constraint "rhn_pkg_clr_pid_cld_uq"
STATEMENT: insert into rhnPackageChangeLogRec (package_id, changelog_data_id, id) values (746638, 813286, 673903952)

Any suggestions how to fix this ?

Thanks

regards

frank


________________________________
FreeMail powered by mail.de<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.de&data=02%7C01%7C%7C97211924c5eb490db13008d76d8ab53d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637098314816015324&sdata=2F83xy45%2FlXNAfE%2BW4CGoaYE%2BaowkwSgE1A4grp9G9A%3D&reserved=0> - mehr Sicherheit, Seriosität und Komfort
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20191124/74b8a8e4/attachment.htm>


More information about the Spacewalk-list mailing list