Bug 694812 - yum error 'Plugin "refresh-packagekit" can't be imported' from missing dependency
Summary: yum error 'Plugin "refresh-packagekit" can't be imported' from missing depend...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-08 14:02 UTC by Phillip Sorensen
Modified: 2018-11-28 20:11 UTC (History)
4 users (show)

Fixed In Version: PackageKit-0.6.14-2.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-08 14:36:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Phillip Sorensen 2011-04-08 14:02:16 UTC
Description of problem:

When running yum from the command line you get the message 'Plugin "refresh-packagekit" can't be imported'.  After yum finishes update packages, PackageKit does not know about the change and continues to show that there are updates needed.

After looking at the refresh-packagekit.py yum plugin, I found that I needed the package dbus-python installed to make things work.  A 'rpm -q --depends PackageKit-yum-plugin' shows that there is no requirement for dbus-python to be installed.


Version-Release number of selected component (if applicable):

PackageKit-yum-plugin-0.6.12 (from srpm PackageKit-0.6.12)


Steps to Reproduce:
1. Uninstall dbus-python
2. Run yum update on out of date system

  
Actual results:

PackageKit status not updated


Expected results:

PackageKit status updates


Additional Info:

The RPM PackageKit-yum-plugin should require that RPM dbus-python be installed.

Comment 1 Richard Hughes 2011-04-08 14:36:20 UTC
Great, thanks for debugging. I've applied this to F14, F15 and devel:

commit b81be1c95616c1a4bcc0c7186f0589eceb25a3fc
Author: Richard Hughes <richard>
Date:   Fri Apr 8 15:31:41 2011 +0100

    Add a dbus-python dep on PackageKit-yum-plugin to fix rh#694812
    
    I'll rebuild on next upstream release.

Comment 2 Fedora Update System 2011-05-04 12:06:08 UTC
PackageKit-0.6.14-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/PackageKit-0.6.14-1.fc15

Comment 3 Fedora Update System 2011-05-06 08:29:01 UTC
PackageKit-0.6.14-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/PackageKit-0.6.14-2.fc15

Comment 4 Fedora Update System 2011-05-09 04:09:10 UTC
PackageKit-0.6.14-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.