Hi Jonathan,
On Fri, Nov 27, 2009 at 2:40 PM, <[email protected]> wrote:
> [...]
> Thank you for your suggestion, unfortunately it doesn't seem to work as
> last night's run resulted in identical errors. The cron is still unable to
> retrieve the metadata.
> [...]
>
if spacewalk-repo-sync isn't able to retrieve the metadata it is most likely
that the URL is wrong. For CentOS the following is working:
### Architectures ###
ARCH="x86_64 i386"
### Get packages for CentOS (i386 and x86_64) ###
for archItem in ${ARCH}; do
spacewalk-repo-sync --channel centos-5-${archItem} --type yum
--label base \
--url http://ftp.tu-chemnitz.de/pub/linux/centos/5.4/os/${archItem}
spacewalk-repo-sync --channel centos-5-${archItem}-updates --type yum
--label updates \
--url http://ftp.tu-chemnitz.de/pub/linux/centos/5.4/updates/${archItem}
spacewalk-repo-sync --channel centos-5-${archItem}-extras --type yum
--label extras \
--url http://ftp.tu-chemnitz.de/pub/linux/centos/5.4/extras/${archItem}
done
Regards, Thomas
--
thomas bendler (systemadministration/network/SAP)
cimt consulting ag fon: +49 (163) 6081 302
burchardstrasse 17 fax: +49 (40) 5 33 02-22
20095 hamburg http://www.cimt.de/
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list