Bug 17679 - Update System: Refreshing package cache error
Summary: Update System: Refreshing package cache error
Status: RESOLVED INVALID
Alias: None
Product: PackageKit
Classification: Unclassified
Component: backend-yum (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Richard Hughes
QA Contact: Joseph Hutley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-20 06:25 UTC by Joseph Hutley
Modified: 2011-03-11 13:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Joseph Hutley 2008-09-20 06:25:27 UTC
When 'Update System' is invoked manually or automatically in Gnome, it fails with the following error:

Error Type: <type 'exceptions.AttributeError'>
Error Value: 'NoneType' object has no attribute 'timestamp'
  File : /usr/share/PackageKit/helpers/yum/refresh-cache.py , line 18, in <module>
    backend.refresh_cache()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 876, in refresh_cache
    self.yumbase.repos.populateSack(which=[repo.id],mdtype='metadata',cacheonly=1)
  File : /usr/lib/python2.5/site-packages/yum/repos.py , line 251, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 159, in populate
    if self._check_db_version(repo, mydbtype):
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 216, in _check_db_version
    return repo._check_db_version(mdtype)
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 958, in _check_db_version
    repoXML = self.repoXML
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 1116, in <lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 1108, in _getRepoXML
    self._loadRepoXML(text=self)
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 1098, in _loadRepoXML
    return self._groupLoadRepoXML(text, ["primary"])
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 1082, in _groupLoadRepoXML
    if self._commonLoadRepoXML(text):
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 951, in _commonLoadRepoXML
    if not self._groupCheckDataMDNewer():
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 910, in _groupCheckDataMDNewer
    if old_repo_XML.timestamp > self.repoXML.timestamp:
Comment 1 Richard Hughes 2008-09-21 03:09:48 UTC
What repositories do you have enabled? Thanks.
Comment 2 Richard Hughes 2008-10-13 06:31:54 UTC
Ping?
Comment 3 Jean-François Fortin Tam 2011-03-11 13:57:34 UTC
Closing this bug report as no further information has been provided after more than 6 weeks. Please feel free to reopen this bug if you can provide the information asked for. Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.