Bug 573140 - Error when pushing solaris package with duplicate requires
Summary: Error when pushing solaris package with duplicate requires
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.7
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space09
TreeView+ depends on / blocked
 
Reported: 2010-03-12 23:21 UTC by Justin Sherrill
Modified: 2010-05-05 14:57 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-05 14:57:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Justin Sherrill 2010-03-12 23:21:46 UTC
Description of problem:
Try to push a solaris package with duplicate requires.  It will fail with the error message below.  Reported by spacewalk user.



rhnpush  SUNWadmc-11.9-2005.01.09.20.45_PSTAMP_2008.05.21.20.00.sparc-solaris.mpm  --server

Error pushing SUNWadmc-11.9-2005.01.09.20.45_PSTAMP_2008.05.21.20.00.sparc-solaris.mpm: Error Message:
    ORA-00001: unique constraint (RHNSAT.RHN_PKG_REQ_PID_CID_S_UQ) violated
Error Class Code: 54
Error Class Info: 
     Package Upload Failed due to uniqueness constraint violation.
     Make sure the package does not have any duplicate dependencies or
     does not already exists on the server (500)

Comment 1 Justin Sherrill 2010-03-12 23:30:12 UTC
Fixed in spacewalk master:
006c2b2a9b9db432556e946d57272ad51a3fa4c7

tested by spacewalk user.

Comment 2 Miroslav Suchý 2010-05-05 14:57:03 UTC
This bug has been fixed in Spacewalk 1.0.
Closing.


Note You need to log in before you can comment on or make changes to this bug.