Hi Christopher,

I tried to reproduce your problem with no luck..

# cobbler repo add --name epel
--mirror='http://download.fedoraproject.org/pub/epel/5/x86_64' \
  --rpmlist=iperf --arch=x86_64 --mirror-locally=Y --breed=yum
# cobbler reposync

$ wget 
http://192.168.2.123/cobbler/repo_mirror/epel/iperf-2.0.5-1.el5.x86_64.rpm
$ file iperf-2.0.5-1.el5.x86_64.rpm
iperf-2.0.5-1.el5.x86_64.rpm: RPM v3.0 bin i386/x86_64

Here are few commands that might help you to divide the problem..

$ curl -so- 
http://download.fedora.redhat.com/pub/epel/5/x86_64/iperf-2.0.5-1.el5.x86_64.rpm
| md5sum
af5ef2995beb866a638eea02337a4755  -
$ md5sum /var/www/cobbler/repo_mirror/epel/iperf-2.0.5-1.el5.x86_64.rpm
af5ef2995beb866a638eea02337a4755
/var/www/cobbler/repo_mirror/epel/iperf-2.0.5-1.el5.x86_64.rpm
$ curl -so- 
http://192.168.xx.xx/cobbler/repo_mirror/epel/iperf-2.0.5-1.el5.x86_64.rpm
| md5sum
af5ef2995beb866a638eea02337a4755  -

I actually manually corrupted my local copy of that rpm, to test what
happens. 'cobbler reposync' now hangs on
running: createrepo -g
repodata/78f41dcf522c086bd5c8e2639e115237b34ff242-comps-el5.xml -c
cache -s sha /var/www/cobbler/repo_mirror/epel

To clear and start again..
# rm -rf /var/www/cobbler/repo_mirror/epel/*
# cobbler reposync

My versions
# rpm -q cobbler createrepo
cobbler-2.0.11-2.el5
createrepo-0.4.11-3.el5

Regards,

BranoZ
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to