Bug 694812

Summary: yum error 'Plugin "refresh-packagekit" can't be imported' from missing dependency
Product: [Fedora] Fedora Reporter: Phillip Sorensen <pas37>
Component: PackageKitAssignee: Richard Hughes <richard>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: jonathan, rhughes, richard, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: PackageKit-0.6.14-2.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-08 14:36:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.