Bug 567632 - Cannot upload package to Redhat Satellite Server because of "RPM Requires"-Problem
Summary: Cannot upload package to Redhat Satellite Server because of "RPM Requires"-Pr...
Keywords:
Status: CLOSED DUPLICATE of bug 567630
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml
Version: 12
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Gérard Milmeister
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-23 14:10 UTC by Patrick Grieshaber
Modified: 2010-02-24 10:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-24 10:53:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Patrick Grieshaber 2010-02-23 14:10:06 UTC
Description of problem:
I've attempted to upload the package ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm
to Red Hat Satellite via rhnpush. 

After a couple of seconds, the following error message appears:
Internal server error 500 Internal Server Error Error pushing
/root/mirror.switch.ch/mirror/fedora/linux/releases/12/Everything/x86_64/os/Packages/ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm:
Error 500Error 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) Waiting 5 seconds and trying
again...
Internal server error 500 Internal Server Error Error pushing
/root/mirror.switch.ch/mirror/fedora/linux/releases/12/Everything/x86_64/os/Packages/ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm:
Error 500Error 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) Waiting 5 seconds and trying
again...
Internal server error 500 Internal Server Error Error pushing
/root/mirror.switch.ch/mirror/fedora/linux/releases/12/Everything/x86_64/os/Packages/ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm:
Error 500Error 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) Waiting 1 seconds and trying
again...
Giving up after 3 attempts 

Version-Release number of selected component (if applicable):


How reproducible:
rhnpush -d Packages/ -c fedora12-stag --server=satellite.example.com --force

Steps to Reproduce:
1. rhnpush -d Packages/ -c fedora12-stag --server=satellite.example.com --force
2.
3.

Actual results:
Can't upload package.

Expected results:
Upload package.

Additional info:
There is the suspicion the error occures because of multiple requires for the
same "package dependencies":
rpm -q --requires -p ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm
util-linux-ng  
rpmlib(VersionedDependencies) <= 3.0.3-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(VersionedDependencies) <= 3.0.3-1
/bin/sh  
libc.so.6()(64bit)  
libc.so.6(GLIBC_2.11)(64bit)  
libc.so.6(GLIBC_2.2.5)(64bit)  
libc.so.6(GLIBC_2.3.2)(64bit)  
libc.so.6(GLIBC_2.3.4)(64bit)  
libc.so.6(GLIBC_2.3)(64bit)  
libc.so.6(GLIBC_2.4)(64bit)  
libc.so.6(GLIBC_2.7)(64bit)  
libdl.so.2()(64bit)  
libdl.so.2(GLIBC_2.2.5)(64bit)  
libgdbm.so.2()(64bit)  
libm.so.6()(64bit)  
libm.so.6(GLIBC_2.2.5)(64bit)  
libncurses.so.5()(64bit)  
libpthread.so.0()(64bit)  
libpthread.so.0(GLIBC_2.2.5)(64bit)  
libtinfo.so.5()(64bit)  
libX11.so.6()(64bit)  
rpmlib(PayloadIsXz) <= 5.2-1

Comment 1 Richard W.M. Jones 2010-02-23 15:24:48 UTC
See: https://bugzilla.redhat.com/show_bug.cgi?id=567630#c1

Comment 2 Patrick Grieshaber 2010-02-24 07:53:49 UTC
Same issue here (as show in https://bugzilla.redhat.com/show_bug.cgi?id=567630#c2):

# rpm -q --requires -p ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm | sort > ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm.full
# rpm -q --requires -p ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm | sort -u > ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm.filtered
# diff -u  ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm.f ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm.filtered 
ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm.filtered  ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm.full      
# diff -u  ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm.full ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm.filtered 
--- ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm.full	2010-02-24 08:53:45.437886638 +0100
+++ ocaml-runtime-3.11.1-0.rc1.2.fc12.1.x86_64.rpm.filtered	2010-02-24 08:54:05.984011870 +0100
@@ -22,5 +22,4 @@
 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
 rpmlib(PayloadIsXz) <= 5.2-1
 rpmlib(VersionedDependencies) <= 3.0.3-1
-rpmlib(VersionedDependencies) <= 3.0.3-1
 util-linux-ng  

--> rpmlib(VersionedDependencies) <= 3.0.3-1

Comment 3 Richard W.M. Jones 2010-02-24 10:53:46 UTC
There's likely only one bug here -- combining the
two bugs together.

*** This bug has been marked as a duplicate of bug 567630 ***


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