Bug 502399 - gpk-application doesn't like yum-plugin-remove-with-leaves
Summary: gpk-application doesn't like yum-plugin-remove-with-leaves
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-packagekit
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 503370 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-24 20:31 UTC by Matěj Cepl
Modified: 2018-04-11 10:54 UTC (History)
5 users (show)

Fixed In Version: 0.4.8-1.fc11
Clone Of:
Environment:
Last Closed: 2009-05-26 09:34:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matěj Cepl 2009-05-24 20:31:01 UTC
Description of problem:

When I have installed yum-plugin-remove-with-leaves plugin for yum, and tried to install (not remove) a pakcage, I got this backtrace:

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'


Version-Release number of selected component (if applicable):
yum-plugin-remove-with-leaves.noarch 0:1.1.21-2.fc11 
gnome-packagekit-2.27.2-0.2.20090414git.fc11.x86_64

How reproducible:
happened once

Steps to Reproduce:
1.see above
2.
3.

Comment 1 Richard Hughes 2009-05-26 09:34:50 UTC
ommit f3834b8d932aa52468e9b606472ca9d19f010145
Author: Richard Hughes <richard>
Date:   Tue May 26 10:33:52 2009 +0100

    yum: Blacklist remove-with-leaves as well. Fixes rh#502399

Comment 2 Fedora Update System 2009-06-01 10:55:01 UTC
PackageKit-0.4.8-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/PackageKit-0.4.8-1.fc11

Comment 3 Richard Hughes 2009-06-01 11:43:37 UTC
*** Bug 503370 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2009-06-07 09:04:59 UTC
kpackagekit-0.4.1-3.fc11,PackageKit-0.4.8-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/kpackagekit-0.4.1-3.fc11,PackageKit-0.4.8-1.fc11

Comment 5 Fedora Update System 2009-06-18 11:59:16 UTC
PackageKit-0.4.8-1.fc11, kpackagekit-0.4.1.1-1.fc11 has been pushed to the Fedora 11 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.