Hi Jan I can see the XML file
------------------ <?xml version="1.0" encoding="UTF-8"?> <repomd xmlns="http://linux.duke.edu/metadata/repo"> <data type="other_db"> <location href="repodata/other.sqlite.bz2"/> <checksum type="sha">4024362281593b3efde44427320fe5844734f1e1</checksum> <timestamp>1325018848</timestamp> <open-checksum type="sha">db7ec3038e0d3cb80cc969f30fcd94260017f780</open-checksum> <database_version>10</database_version> </data> <data type="other"> <location href="repodata/other.xml.gz"/> <checksum type="sha">64c240826814faa9782136f2d7d693ed3a86936c</checksum> <timestamp>1325018835</timestamp> <open-checksum type="sha">34a929b7989d71fa0061cf58f501cb38044f0220</open-checksum> </data> <data type="filelists_db"> <location href="repodata/filelists.sqlite.bz2"/> <checksum type="sha">27877a852daa88ac256f0bb81e740c9587c27995</checksum> <timestamp>1325018854</timestamp> <open-checksum type="sha">9d45ced679087ef8e070fa4155eed830c2cfe5a8</open-checksum> <database_version>10</database_version> </data> <data type="filelists"> <location href="repodata/filelists.xml.gz"/> <checksum type="sha">139ffa3cb2f917d28e93c96c9f0185ba8356f43a</checksum> <timestamp>1325018835</timestamp> <open-checksum type="sha">46f3157cbfb43078a2d8123e595b39e964806cd3</open-checksum> </data> <data type="primary_db"> <location href="repodata/primary.sqlite.bz2"/> <checksum type="sha">6b58a9881779c5f845af74b872786b0af65cf84c</checksum> <timestamp>1325018856</timestamp> <open-checksum type="sha">d5afa07b6c64363e0da922ef3a1d268d828a17dc</open-checksum> <database_version>10</database_version> </data> <data type="primary"> <location href="repodata/primary.xml.gz"/> <checksum type="sha">cfda25cad272333fe8d86ae89fc86b814fd2b3f8</checksum> <timestamp>1325018835</timestamp> <open-checksum type="sha">d9447c0cfd1167eb9f65b9848a91665137529077</open-checksum> </data> </repomd> --------------------- > ------------------------------ > > Message: 6 > Date: Tue, 3 Jan 2012 14:31:57 +0100 > From: Jan Pazdziora <[email protected]> > To: [email protected] > Subject: Re: [Spacewalk-list] Problem on first installation > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > On Tue, Jan 03, 2012 at 12:47:29PM +0100, Carlo Filippetto wrote: >> Hi all, >> I'm new with Spacewalk. >> I'm able to install and make the first configuration on Centos 5.7, >> and version Spacewalk 1.6 + Postgress >> >> I follow these guides: >> https://fedorahosted.org/spacewalk/wiki/UserDocs#Introduction >> http://wiki.centos.org/HowTos/PackageManagement/Spacewalk#head-e04eadc5ed664bd79068564af7d84662c3081b22 >> >> >> >> Now I'm tring to add channel but I receive always the same error when >> try to use >> >> spacewalk-repo-sync >> >> ----------------------------- >> /usr/bin/spacewalk-repo-sync --channel centos5-updates-i386 \ >> > --url >> > http://mirror.centos.org/centos/5/updates/i386/ \ >> > >> Traceback (most recent call last): >> File "/usr/bin/spacewalk-repo-sync", line 100, in ? >> sys.exit(abs(main() or 0)) >> File "/usr/bin/spacewalk-repo-sync", line 93, in main >> sync.sync() >> File >> "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", >> line 103, in sync >> self.import_packages(plugin, repo_id, url) >> File >> "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", >> line 309, in import_packages >> packages = plug.list_packages(filters) >> File >> "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/repo_plugins/yum_src.py", >> line 149, in list_packages >> self.sack.populate(self.repo, 'metadata', None, 0) >> File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 168, in >> populate >> if self._check_db_version(repo, mydbtype): >> File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 226, in >> _check_db_version >> return repo._check_db_version(mdtype) >> File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1226, >> in _check_db_version >> repoXML = self.repoXML >> File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1399, in >> <lambda> >> repoXML = property(fget=lambda self: self._getRepoXML(), >> File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1395, >> in _getRepoXML >> raise Errors.RepoError, msg >> yum.Errors.RepoError: Cannot retrieve repository metadata (repomd.xml) >> for repository: centos5-updates-i386. Please verify its path and try >> again >> ------------------ > > The command works just fine on my Spacewalk. Are you able to reach > the yum repo at all? What does > > # curl http://mirror.centos.org/centos/5/updates/i386/repodata/repomd.xml > > output? > > -- > Jan Pazdziora > Principal Software Engineer, Satellite Engineering, Red Hat > > > > ------------------------------ > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list > > End of Spacewalk-list Digest, Vol 44, Issue 2 > ********************************************* _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
