Description of problem: I get this message from a yum cron job on a laptop presumably when it doesn't have internet access: Error: Cannot retrieve repository metadata (repomd.xml) for repository: %s. Please verify its path and try again Two issues: - The message is not printed properly. I believe this will fix: --- /usr/lib/python2.5/site-packages/yum/yumRepo.py.orig 2007-08-27 13:38:48.000000000 -0600 +++ /usr/lib/python2.5/site-packages/yum/yumRepo.py 2007-08-27 13:40:01.000000000 -0600 @@ -720,8 +720,8 @@ try: self._loadRepoXML(text=self) except Errors.RepoError, e: - msg = "Cannot retrieve repository metadata (repomd.xml) for repository: %s. " + \ - "Please verify its path and try again" % self + msg = "Cannot retrieve repository metadata (repomd.xml) for repository: %s. " \ + % self + "Please verify its path and try again" raise Errors.RepoError, (msg) return self._repoXML - Second issue is that this is being run with -e 0 and I don't think it should be printing this error. Version-Release number of selected component (if applicable): yum-3.2.3-2.fc7 (This is an updated yum from development build on f7)
-e0 outputs critical failures - of which this is one. so it's printing out is correct but the output is, indeed, wrong. Thank you. I've applied a slight different patch than yours - but thank you for pointing it out.
*** Bug 279151 has been marked as a duplicate of this bug. ***
yum-3.2.5-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
yum-3.2.5-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.