Bug 18986

Summary: Packagekit, yum, python2.5 on Fedora 10
Product: PackageKit Reporter: Joachim Jacob <joachim.jacob>
Component: backend-yumAssignee: Richard Hughes <richard>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: yangzhichina
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Joachim Jacob 2008-12-09 12:50:29 UTC
Error Type: <class 'yum.Errors.RepoError'>
Error Value: database disk image is malformed
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2202, in <module>
    main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2199, in main
    backend.dispatcher(sys.argv[1:])
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 610, in dispatcher
    self.dispatch_command(args[0], args[1:])
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 482, in dispatch_command
    self.get_files(pkgs)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1629, in get_files
    files = pkg.returnFileEntries('dir')
  File : /usr/lib/python2.5/site-packages/yum/sqlitesack.py, line 223, in returnFileEntries
    self._loadFiles()
  File : /usr/lib/python2.5/site-packages/yum/sqlitesack.py, line 174, in _loadFiles
    "WHERE  packages.pkgId = ?", (self.pkgId,))
  File : /usr/lib/python2.5/site-packages/yum/sqlitesack.py, line 46, in newFunc
    raise Errors.RepoError, str(e.message)
Comment 1 Richard Hughes 2008-12-10 01:51:25 UTC
Can you please try "yum clean all" and then "yum check-update" as root, and then retry. Thanks.
Comment 2 Jeffrey R. Young 2009-03-14 05:16:31 UTC
Hi guys

I get a PackageKit error as followed:

Error Type: &lt;class &apos;yum.Errors.PackageSackError&apos;&gt;
Error Value: No Package Matching preupgrade
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2202, in &lt;module&gt;
    main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2199, in main
    backend.dispatcher(sys.argv[1:])
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 599, in dispatcher
    self.dispatch_command(args[0], args[1:])
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 503, in dispatch_command
    self.get_distro_upgrades()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1674, in get_distro_upgrades
    pkgs = self.yumbase.pkgSack.returnNewestByName(name=&apos;preupgrade&apos;)
  File : /usr/lib/python2.5/site-packages/yum/packageSack.py, line 399, in returnNewestByName
    raise PackageSackError, &apos;No Package Matching $s&apos; $ ui_pats
Comment 3 Jean-François Fortin Tam 2012-01-05 10:25:39 UTC
Hi there,
This bug report is very old and based on a version not supported anymore. By upgrading to a newer version of PackageKit you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of PackageKit.
Please feel free to reopen this bug if the problem still occurs with the latest version.

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.