[Spacewalk-list] rhnpush and fedora 10 repo

mark m.roth2006 at rcn.com
Thu Feb 12 03:22:08 UTC 2009


Kirill Morozov wrote:
> 
> 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)
<snip>
That's interesting. I pushed the CentOS 5.2 base, and it showed up in "no
channels". Last thing I did before I left work was to try to push it again,
with a corrected command line. What happened was that it told me they were
already there... and when I went to look, it have moved them from 'no channels"
to the base subchannel I'd set up.

	mark




More information about the Spacewalk-list mailing list