[packagekit] Odd error in GetUpdates

Richard Hughes hughsient at gmail.com
Mon Mar 3 17:27:03 PST 2008


I *think* this is a yum error:

[hughsie at hughsie-laptop xf86-video-nouveau]$ pkcon get updates
    [.............................===.......................................................................................................]                
Error: internal-error : Error Type: <type 'exceptions.AttributeError'>
Error Value: 'str' object has no attribute 'epoch'
  File : /usr/share/PackageKit/helpers/yum/get-updates.py , line 19, in <module>
    backend.get_updates(filter)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 1058, in get_updates
    ygl = self.yumbase.doPackageLists(pkgnarrow='updates')
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 1317, in doPackageLists
    for (n,a,e,v,r) in self.up.getUpdatesList():
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 587, in <lambda>
    up = property(fget=lambda self: self._getUpdates(),
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 477, in _getUpdates
    sack_pkglist = self.pkgSack.simplePkgList()
  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=r
get-updates runtime was 1.7 seconds             

If I do "sudo yum check-update" then get updates works. Ideas?

Richard





More information about the PackageKit mailing list