[Spacewalk-list] sync_repos.py in crontab

Jakl Stefan Stefan.Jakl at wuerth-itensis.com
Fri Aug 24 06:47:58 UTC 2012


Dear List

I've insert the script sync_repos.py (https://fedorahosted.org/spacewalk/wiki/UploadFedoraContent#no1)  into root's crontab. 
Unfortunally, it seems that the script doesn't download the latest packages. 
This here is written in the logs :

Sync started: Fri Aug 24 06:04:20 2012
['/usr/bin/spacewalk-repo-sync', '--type=yum', '--url=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates', '--channel=centos6-x86_64-updates']

No further errormessages or something else ...?


If I run the script from the CLI, it works as expected, and it's downloading the latest packages. 
Output from the log:
spacewalk-repo-sync --type=yum  --url='http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates' --channel='centos6-x86_64-updates'
Repo URL: http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates
Packages in repo:               473
Packages already synced:        460
Packages to sync:                13
1/13 : libvirt-client-0.9.10-21.el6_3.4-0.x86_64
2/13 : openssl-1.0.0-25.el6_3.1-0.x86_64
3/13 : openssl-devel-1.0.0-25.el6_3.1-0.x86_64
4/13 : openssl-static-1.0.0-25.el6_3.1-0.x86_64
5/13 : libvirt-devel-0.9.10-21.el6_3.4-0.i686
6/13 : openssl-1.0.0-25.el6_3.1-0.i686
7/13 : libvirt-client-0.9.10-21.el6_3.4-0.i686
8/13 : libvirt-lock-sanlock-0.9.10-21.el6_3.4-0.x86_64
9/13 : libvirt-python-0.9.10-21.el6_3.4-0.x86_64
10/13 : openssl-devel-1.0.0-25.el6_3.1-0.i686
11/13 : openssl-perl-1.0.0-25.el6_3.1-0.x86_64
12/13 : libvirt-0.9.10-21.el6_3.4-0.x86_64
13/13 : libvirt-devel-0.9.10-21.el6_3.4-0.x86_64
Repo http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates has 0 errata.
Sync completed.
Total time: 0:00:42

Do you have any hint for me what I might have to change/adjust ?

Kind regards
Stefan






More information about the Spacewalk-list mailing list