[Spacewalk-list] rhnpush cannot upload packages

Kirill Morozov l0rda at l0rda.biz
Tue Feb 10 21:42:34 UTC 2009


09.02.2009, в 20:52, Pradeep Kilambi написал(а):

>
> It would be good to understand how your database ended up in this  
> state. Did you push this package before and failed somehow?


crazy:)

some days ago, when i installed spacewalk, i wrote cron job:

# cat /etc/cron.daily/reposync.cron
#!/bin/sh

reposync --arch=i386 --repoid=base -p /var/www/html/pub/CentOS5-i386 - 
d -l -g -n -q > /dev/null
rhnpush --channel=centos5-base-i386 --server=http://localhost/APP -- 
dir=/var/www/html/pub/CentOS5-i386/base/CentOS \
         --username=rhnpush --password=
reposync --arch=i386 --repoid=updates -p /var/www/html/pub/CentOS5- 
i386 -d -l -g -n -q > /dev/null
rhnpush --channel=centos5-updates-i386 --server=http://localhost/APP -- 
dir=/var/www/html/pub/CentOS5-i386/updates/RPMS \
         --username=rhnpush --password=
reposync --arch=i386 --repoid=extras -p /var/www/html/pub/CentOS5-i386  
-d -l -g -n -q > /dev/null
rhnpush --channel=centos5-extras-i386 --server=http://localhost/APP -- 
dir=/var/www/html/pub/CentOS5-i386/extras/RPMS \
         --username=rhnpush --password=
reposync --arch=i386 --repoid=spacewalk-client-tools -p /var/www/html/ 
pub/CentOS5-i386 -d -l -g -n -q > /dev/null
rhnpush --channel=spacewalk-client-tools-i386 --server=http://localhost/APP 
  --dir=/var/www/html/pub/CentOS5-i386/spacewalk-client-tools \
         --username=rhnpush --password=get4school

reposync --arch=x86_64 --repoid=base -p /var/www/html/pub/CentOS5- 
x86_64 -d -l -g -n -q > /dev/null
rhnpush --channel=centos5-base-x86_64 --server=http://localhost/APP -- 
dir=/var/www/html/pub/CentOS5-x86_64/base/CentOS \
         --username=rhnpush --password=


as i see now, packages from centos5-updates-i386 and spacewalk-client- 
tools were pushed :)
but rhnpush to base repos was failed.

How i can completely remove packages from spacewalk? I want to try  
delete all channels and packages. When i remove channel, packages are  
not removed. When i try to remove package, that is not assigned to any  
channel i got an error.


-- 
Kirill Morozov
KIMO2-RIPE, RHCE





More information about the Spacewalk-list mailing list