Bug 573140

Summary: Error when pushing solaris package with duplicate requires
Product: [Community] Spacewalk Reporter: Justin Sherrill <jsherril>
Component: ServerAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-05 14:57:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 559281    

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.