Reposync comps.xml failure for EL6 optional and extras repos:
Using reposync (on a valid registered EL6 server) I get an issue with comps.xml for EL6 optional and extras repos:
reposync -c /etc/reposync.conf --gpgcheck -l --norepopath --repoid=rhel-6-server-optional-rpms --download-metadata --downloadcomps --download_path=/xxxx/rhel-6-server-optional-rpms
Traceback (most recent call last):
File "/usr/bin/reposync", line 386, in
main()
File "/usr/bin/reposync", line 290, in main
resultfile = repo.retrieveMD(ftype)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1571, in retrieveMD
return self._retrieveMD(mdtype)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1654, in _retrieveMD
size=thisdata.size)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 842, in _getFile
raise Errors.NoMoreMirrorsRepoError, errstr
yum.Errors.NoMoreMirrorsRepoError: failure: repodata/cfb3e8951992a01c1ed175ca4be8980e9d7c4989dc2ef7ec2db09db7074cb376-comps.xml from rhel-6-server-optional-rpms: [Errno 256] No more mirrors to try.
(the identical error occurs for the extras repo).
Without the options --download-metadata --downloadcomps , the sync works just fine. It seems an issue with the comps.xml files generated @redhat.
Could this get fixed? Or should I just remove those options for the mentioned repos?
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
