[Spacewalk-list] rhnpush and fedora 10 repo

Pradeep Kilambi pkilambi at redhat.com
Wed Feb 11 15:11:04 UTC 2009


Kirill Morozov wrote:
> Hi,
>
> i want to add Fedora 10 updates channel to my spacewalk server.
> my actions:
> 1. create Fedora 10 base channel
> 2. create Fedora 10 updates channel, and parrent set to fedora 10 base
> 3. try to push packages:
>
> # rhnpush --channel=fedora10-updates-x86_64 
> --server=http://localhost/APP --dir=/var/www/html/pub/Fedora10-x86_64/fedora-10-updates 
> \
> >         --username=rhnpush --password=
> Internal server error 500 Internal Server Error
> Error pushing 
> /var/www/html/pub/Fedora10-x86_64/fedora-10-updates/kernel-2.6.27.12-170.2.5.fc10.x86_64.rpm: 
> Error 500Error Message:
>     ORA-00001: unique constraint (SPACEWALK.RHN_PKG_PROV_CID_PID_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 
> /var/www/html/pub/Fedora10-x86_64/fedora-10-updates/kernel-2.6.27.12-170.2.5.fc10.x86_64.rpm: 
> Error 500Error Message:
>     ORA-00001: unique constraint (SPACEWALK.RHN_PKG_PROV_CID_PID_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 
> /var/www/html/pub/Fedora10-x86_64/fedora-10-updates/kernel-2.6.27.12-170.2.5.fc10.x86_64.rpm: 
> Error 500Error Message:
>     ORA-00001: unique constraint (SPACEWALK.RHN_PKG_PROV_CID_PID_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
>
> hmm.. what i need to check?
>

I fixed this as part of bug#475894. Should make it into spacewalk-0.5. I 
can get you the commit you're interested.

Thanks,
~ Prad

-- 
--
Pradeep Kilambi
RHN Satellite Engineering
pkilambi at redhat.com
Phone: +1 919 754 4285
RHCE # 805008680430554





More information about the Spacewalk-list mailing list