[packagekit] yum error?

Richard Hughes hughsient at gmail.com
Mon Mar 17 08:25:36 PDT 2008


On Mon, 2008-03-17 at 13:22 +0100, Tim Lauridsen wrote:
> Looks like a bug in the meta group code, you can work around it by 
> comment out repo.mdpolicy = "group:all" in _check_init() in 
> yumDBUSBackend.py, until it is fixed in upstream yum

I've just tried with yum from git again.

Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
    self.run()
  File "/usr/lib/python2.5/threading.py", line 440, in run
    self.__target(*self.__args, **self.__kwargs)
  File "./yumDBUSBackend.py", line 927, in doGetFiles
    pkg,inst = self._findPackage(package)
  File "./yumDBUSBackend.py", line 1370, in _findPackage
    pkgs = self.yumbase.pkgSack.searchNevra(name=n,epoch=e,ver=v,rel=r,arch=a)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 574, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 425, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.5/site-packages/yum/repos.py", line 244, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 165, in populate
    dobj = repo.cacheHandler.open_database(db_un_fn)
AttributeError: 'YumRepository' object has no attribute 'cacheHandler'

Richard.





More information about the PackageKit mailing list