[Spacewalk-list] Uniqueness Constraint Violation in Spacewalk Repo Sync with Errata (Fedora 14)

Trevor T Kates trevor.t.kates at dom.com
Tue Apr 26 18:05:01 UTC 2011


List:

Spacewalk Ver: 1.4
OS Ver: CentOS 5.6

I'm getting the following traceback when attempting to repo sync the Fedora 14 updates
channel in my Spacewalk server. The channel was initially unpopulated. Is there a
possible incorrect configuration on my end that is causing this? Thanks for the
assistance.

Traceback (most recent call last):
  File "/usr/bin/spacewalk-repo-sync", line 69, in ?
    sys.exit(abs(main() or 0))
  File "/usr/bin/spacewalk-repo-sync", line 63, in main
    sync.main()
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", line 110, in main
    self.import_updates(plugin, url)
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", line 145, in import_updates
    self.upload_updates(notices)
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", line 305, in upload_updates
    importer.run()
  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/importLib.py", line 622, in run
    self.submit()
  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/errataImport.py", line 196, in submit
    dml = self.backend.processErrata(self.batch)
  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 682, in processErrata
    transactional=1)
  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 1364, in __processObjectCollection
    return self.__processObjectCollection__(objColl, parentTable, childDict, **kwargs)
  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 1534, in __processObjectCollection__
    return self.__doDML(dml)
  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 1642, in __doDML
    self.__doInsert(dml.insert, dml.tables)
  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 1651, in __doInsert
    raise rhnFault(54, str(e[1]), explain=0)
spacewalk.common.rhnException.rhnFault: (54, '904', '\n     Package Upload Failed due to uniqueness constraint violation.\n     Make sure the package does not have any duplicate dependencies or\n     does not already exists on the server\n     ')

_______________________________________________________________________________
Trevor T. Kates


CONFIDENTIALITY NOTICE:  This electronic message contains
information which may be legally confidential and/or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect.  The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful.  If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it.  Thank you.




More information about the Spacewalk-list mailing list