[Spacewalk-list] spacewalk-repo-sync gives me an error
Jerome Yanga
jerome.yanga at gmail.com
Thu May 3 15:57:04 UTC 2012
Hi!
Newbee here.
I have created a Software Channel via WebUI.
Channel Name: fedora_13_32bit
Channel Label: fedora_13_x86
Architecture: IA-32 (this is weird as i see a x86_64 in the drop down
menu but not i386)
Yum Repository Checksum Type: sha1
I have also create a Repository via WebUI.
Repository Label: fedora_13_x86_repo
Repository URL:
http://mirror.us.leaseweb.net/fedora/linux/releases/13/Everything/i386/os/repodata/repomd.xml
I have linked the channel with the repo. I then tried running the
command below.
spacewalk-repo-sync --channel=fedora_13_x86
--url=http://mirror.us.leaseweb.net/fedora/linux/releases/13/Everything/i386/os/repodata/repomd.xml
This command gave me the following error.
Traceback (most recent call last):
File "/usr/bin/spacewalk-repo-sync", line 100, in <module>
sys.exit(abs(main() or 0))
File "/usr/bin/spacewalk-repo-sync", line 93, in main
sync.sync()
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py",
line 100, in sync
self.import_packages(plugin, repo_id, url)
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py",
line 303, in import_packages
packages = plug.list_packages(filters)
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/repo_plugins/yum_src.py",
line 151, in list_packages
self.sack.populate(self.repo, 'metadata', None, 0)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 164, in populate
if self._check_db_version(repo, mydbtype):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 222, in
_check_db_version
return repo._check_db_version(mdtype)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1263,
in _check_db_version
repoXML = self.repoXML
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1462, in <lambda>
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1458,
in _getRepoXML
raise Errors.RepoError, msg
yum.Errors.RepoError: Cannot retrieve repository metadata (repomd.xml)
for repository: fedora_13_x86. Please verify its path and try again
I have the following installed.
# yum list installed | egrep -i "spacewalk-oracle|spacewalk-utils"
spacewalk-oracle.noarch 1.7.3-1.el6 @spacewalk
spacewalk-utils.noarch 1.7.15-1.el6 @spacewalk
I am running on...
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.2 (Santiago)
Help.
Regards,
j
More information about the Spacewalk-list
mailing list