Bug 505367

Summary: Add/Remove Software Error remove_leaves
Product: [Fedora] Fedora Reporter: Frank Murphy <frankly3d>
Component: PackageKitAssignee: Richard Hughes <richard>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: lmacken, rhughes, richard, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-22 12:18:11 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 Frank Murphy 2009-06-11 16:30:32 UTC
Description of problem: 


Version-Release number of selected component (if applicable):
PackageKit-yum-0.4.6-8.fc11.x86_64
PackageKit-gtk-module-0.4.6-8.fc11.x86_64
PackageKit-glib-0.4.6-8.fc11.x86_64
PackageKit-gstreamer-plugin-0.4.6-8.fc11.x86_64
PackageKit-yum-plugin-0.4.6-8.fc11.x86_64
PackageKit-0.4.6-8.fc11.x86_64
gnome-packagekit-2.27.2-1.fc11.x86_64

yum-3.2.22-4.fc11.noarch
yum-presto-0.4.5-4.fc11.noarch
yum-plugin-auto-update-debug-info-1.1.21-2.fc11.noarch
yum-plugin-remove-with-leaves-1.1.21-2.fc11.noarch
yum-plugin-post-transaction-actions-1.1.21-2.fc11.noarch
anaconda-yum-plugins-1.0-4.fc11.noarch
yum-plugin-upgrade-helper-1.1.21-2.fc11.noarch
yum-plugin-protectbase-1.1.21-2.fc11.noarch
yum-metadata-parser-1.1.2-12.fc11.x86_64
yum-utils-1.1.21-2.fc11.noarch
yum-NetworkManager-dispatcher-1.1.21-2.fc11.noarch
yum-plugin-fastestmirror-1.1.21-2.fc11.noarch


How reproducible: Always with add\remove and apply


Steps to Reproduce:
1. add/remove 
2. click gfeed
3. apply
  
Actual results:
Traceback (most recent call last):
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1215, in _get_depends_not_installed
    rc, msgs =  self.yumbase.buildTransaction()
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 719, in buildTransaction
    self.plugins.run('postresolve', rescode=rescode, restring=restring)
  File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 179, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/remove-with-leaves.py", line 71, in postresolve_hook
    if opts.remove_leaves or remove_always:
AttributeError: 'NoneType' object has no attribute 'remove_leaves'


Expected results: install gfeed


Additional info: yum install gfeed | worked

Comment 1 Richard Hughes 2009-06-11 16:45:41 UTC
You want to grab the packages here: https://admin.fedoraproject.org/updates/kpackagekit-0.4.1.1-1.fc11,PackageKit-0.4.8-1.fc11 - does the PackageKit update fix things?

Comment 2 Frank Murphy 2009-06-11 17:47:34 UTC
Those fixed it

Comment 3 Steven M. Parrish 2009-07-22 12:18:11 UTC
Closing as WORKSFORME.  Please feel free to reopen if the problem returns.

-- 
Steven M. Parrish - KDE Triage Master
                  - PackageKit Triager
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers