[packagekit] another error with the yum backend

Richard Hughes hughsient at gmail.com
Sat Jan 12 04:04:51 PST 2008


Hey guys:

I got this error this morning when giving a demo to my local LUG:

Error Type: <class 'yum.Errors.RepoError'>
Error Value: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
  File : /usr/share/PackageKit/helpers/yum/get-updates.py , line 17, in <module>
    backend.get_updates()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 1011, in get_updates
    ygl = self.yumbase.doPackageLists(pkgnarrow='updates')
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 1149, in doPackageLists
    for (n,a,e,v,r) in self.up.getUpdatesList():
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 542, in <lambda>
    up = property(fget=lambda self: self._getUpdates(),
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 436, in _getUpdates
    sack_pkglist = self.pkgSack.simplePkgList()
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 529, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File : /usr/lib/python2.5/site-packages/yum/__init__.p

Can we throw a proper error in this case please. Thanks.

Richard.





More information about the PackageKit mailing list