Bug 18986 - Packagekit, yum, python2.5 on Fedora 10
Summary: Packagekit, yum, python2.5 on Fedora 10
Status: RESOLVED INVALID
Alias: None
Product: PackageKit
Classification: Unclassified
Component: backend-yum (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-09 12:50 UTC by Joachim Jacob
Modified: 2012-01-05 10:25 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


bug/show.html.tmpl processed on Mar 25, 2017 at 23:33:32.
(provided by the Example extension).