[packagekit] Odd error in GetUpdates

Richard Hughes hughsient at gmail.com
Mon Mar 3 18:01:05 PST 2008


On Tue, 2008-03-04 at 01:27 +0000, Richard Hughes wrote:
> I *think* this is a yum error:

Error: internal-error : Error Type: <type 'exceptions.AttributeError'>
Error Value: 'str' object has no attribute 'epoch'
  File : /usr/share/PackageKit/helpers/yum/install.py , line 19, in <module>
    backend.install(packages)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 786, in install
    pkg,inst = self._findPackage(package)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 574, 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 149, in populate
    if self._check_db_version(repo, mydbtype):
  F
install-package runtime was 1.7 seconds          

The same sort of error when doing a package install. This is yum git
from today.

Richard.





More information about the PackageKit mailing list