[packagekit] Another yum backend error problem

Richard Hughes hughsient at gmail.com
Sat Nov 3 04:17:13 PDT 2007


Hey,

Whilst sitting in a traffic jam this morning (no Internet access) I got
this:

[hughsie at hughsie-laptop PackageKit]$ /usr/share/PackageKit/helpers/yum/resolve.py none power
allow-interrupt true
no-percentage-updates
Traceback (most recent call last):
  File "/usr/share/PackageKit/helpers/yum/resolve.py", line 18, in <module>
    backend.resolve(filters, name)
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 678, in resolve
    for pkg in self.yumbase.pkgSack.returnNewestByNameArch():
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 526, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 381, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.5/site-packages/yum/repos.py", line 242, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 142, in populate
    if self._check_db_version(repo, mydbtype):
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 199, in _check_db_version
    if repo.repoXML.repoData.has_key(mdtype):
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 769, in <lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 765, in _getRepoXML
    raise Errors.RepoError, msg
yum.Errors.RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: development. Please verify its path and try again

I think we need to catch this one too. Thanks.

Richard.





More information about the PackageKit mailing list