[Spacewalk-list] Package numbers between channels differ

Anoop Bhat ABhat at trustwave.com
Fri Jul 24 15:53:55 UTC 2009


So last night I setup the channel for centos 5 i386 using the directions from centos' wiki page for spacewalk.

While pushing the packages, most packages were already on the server and so upload was skipped (which is fine)

However, the i386 base only shows 1188 packages where as the x86_64 base channel shows 3272 packages.

Image at http://anoop.net/upload/screen-capture-1.png

Am I doing something wrong? Or is this normal?

The commands I'm using for reposync and rhnpush are

# Repo sync script for Centos 5.3 x86_64 base, updates, extras, centosplus
reposync --arch=x86_64 --repoid=base -p /var/www/html/pub/CentOS5-x86_64 -d -l -g -n -q > /dev/null
reposync --arch=x86_64 --repoid=updates -p /var/www/html/pub/CentOS5-x86_64 -d -l -g -n -q > /dev/null
reposync --arch=x86_64 --repoid=extras -p /var/www/html/pub/CentOS5-x86_64 -d -l -g -n -q > /dev/null
reposync --arch=x86_64 --repoid=centosplus -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=
rhnpush --channel=centos5-updates-x86_64 --server=http://localhost/APP --dir=/var/www/html/pub/CentOS5-x86_64/updates/RPMS --username=rhnpush --password=
rhnpush --channel=centos5-extras-x86_64 --server=http://localhost/APP --dir=/var/www/html/pub/CentOS5-x86_64/extras/RPMS --username=rhnpush --password=
rhnpush --channel=centos5-centosplus-x86_64 --server=http://localhost/APP --dir=/var/www/html/pub/CentOS5-x86_64/centosplus/RPMS --username=rhnpush --password=

# Repo sync script for Centos 5.3 i686 base, updates, extras, centosplus
reposync --arch=i686 --repoid=base -p /var/www/html/pub/CentOS5-i386/ -d -l -g -n -q > /dev/null
reposync --arch=i686 --repoid=updates -p /var/www/html/pub/CentOS5-i386/ -d -l -g -n -q > /dev/null
reposync --arch=i686 --repoid=extras -p /var/www/html/pub/CentOS5-i386/ -d -l -g -n -q > /dev/null
reposync --arch=i686 --repoid=centosplus -p /var/www/html/pub/CentOS5-i386/ -d -l -g -n > /dev/null


rhnpush  --channel=centos5-base-i386 --server=http://localhost/APP --dir=/var/www/html/pub/CentOS5-i386/base/CentOS --username=rhnpush --password=
rhnpush  --channel=centos5-updates-i386 --server=http://localhost/APP --dir=/var/www/html/pub/CentOS5-i386/updates/RPMS/ --username=rhnpush --password=
rhnpush  --channel=centos5-extras-i386 --server=http://localhost/APP --dir=/var/www/html/pub/CentOS5-i386/extras/RPMS/ --username=rhnpush --password=
rhnpush  --channel=centos5-centosplus-i386 --server=http://localhost/APP --dir=/var/www/html/pub/CentOS5-i386/centosplus/RPMS/ --username=rhnpush --password=

Thanks!

Anoop

Anoop Bhat
Systems Administrator
Trustwave
70 W. Madison
Chicago, IL, 60602
O: 312.873.7446
C: 312.925.3271






More information about the Spacewalk-list mailing list