Red Hat Bugzilla – Bug 843374
Error when rhnpushing packes, to check if they're present at server
Last modified: 2012-11-01 12:18:10 EDT
Description of problem:
After pushing contents of fedora17/Packages to my custom channel I decided to repeat this process once more time, just to check if all packages have been successfully pushed. Error is shown at Additional info section
Version-Release number of selected component (if applicable):
Spacewalk 1.8 (Nightly)
Seems as random bug for me, but I when I was repeating this process once more (to see if error message is gone) I still got error messages at exactly same point.
Steps to Reproduce:
1. Upload some packages to custom channel.
2. Try to push these packages one more time.
Error message shown bellow.
ORA-00001: unique constraint (SPACEUSER.RHN_CNP_CID_NID_UQ) violated
ORA-06512: at "SPACEUSER.RHN_CHANNEL", line 1096
ORA-06512: at line 1
Error Class Code: 23
Error Class Info: Could not update database entry.
- have an rpm package
- create a copy and sign it with different key
- push both packages (the same NEVRA but different checksum) into a channel
Fixed in spacewalk master
843374 - fixed subquery in FROM must have an alias
843374 - upgrade script for rhnChannelNewestPackageView
843374 - make list of newest packages unique
there can be two packages with the same NEVRA but different checksum
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18