Bug 448062

Summary: Pirut crashes after recent yum-* update
Product: [Fedora] Fedora Reporter: Mary Ellen Foster <mefoster>
Component: yum-utilsAssignee: Luke Macken <lmacken>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 8CC: james.antill, jhutar, kmd6076, mcepl, mcepl, petrosyan, pfrields, pmatilai, sysoutfran, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-09 20:55:36 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:
Attachments:
Description Flags
Pirut crash log none

Description Mary Ellen Foster 2008-05-23 09:24:50 UTC
Description of problem:
I did an update this morning which installed new version of yum-utils,
yum-skip-broken, and yum-fastestmirror. Since that update, pirut crashes when it
tries to run. The dialogue box says
    "An unhandled exception has occurred.  This is most likely a bug.  Please
save the crash dump and file a detailed bug report against pirut at
https://bugzilla.redhat.com/bugzilla"

I'll attach the crash dump.

Version-Release number of selected component (if applicable):
pirut-1.3.28-1.fc8
But I didn't update that today, so I suspect one of the new yum packages:
yum-skip-broken-1.1.14-1.fc8
yum-utils-1.1.14-1.fc8
yum-fastestmirror-1.1.14-1.fc8

How reproducible:
Every time

Steps to Reproduce:
1. Run "pirut"
  
Actual results:
Crash

Expected results:
System update

Additional info:
"yum update" now prints this at the start of its output:
Configuration file /etc/yum/pluginconf.d/fastestmirror-asyncore.conf not found
Unable to find configuration file for plugin fastestmirror-asyncore

Don't know if that's related.

Comment 1 Mary Ellen Foster 2008-05-23 09:24:50 UTC
Created attachment 306469 [details]
Pirut crash log

Comment 2 Jeremy Katz 2008-05-23 16:05:08 UTC
Plugin bug.

Comment 3 James Antill 2008-05-23 18:32:07 UTC
Relevant bit is:

  File "/usr/lib/yum-plugins/fastestmirror.py", line 133, in postreposetup_hook
    if opts.cacheonly:
AttributeError: 'NoneType' object has no attribute 'cacheonly'


...I'm guessing changing that to:

    if hasattr(opts, 'cacheonly') and opts.cacheonly

...will fix it (can you check/confirm mary?).


Comment 4 Luke Macken 2008-05-23 20:29:15 UTC
Fixed in 50e3b20a427335f914fa3e64b96324184cb0001d

Comment 5 Fedora Update System 2008-05-26 12:13:21 UTC
yum-utils-1.1.14-3.fc8 has been submitted as an update for Fedora 8

Comment 6 Fedora Update System 2008-05-26 12:14:33 UTC
yum-utils-1.1.14-3.fc9 has been submitted as an update for Fedora 9

Comment 7 Luke Macken 2008-05-27 15:24:44 UTC
*** Bug 448513 has been marked as a duplicate of this bug. ***

Comment 8 Luke Macken 2008-05-27 21:11:00 UTC
*** Bug 448614 has been marked as a duplicate of this bug. ***

Comment 9 Richard Hughes 2008-05-28 09:08:21 UTC
*** Bug 448092 has been marked as a duplicate of this bug. ***

Comment 10 Fedora Update System 2008-05-29 02:34:54 UTC
yum-utils-1.1.14-3.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update yum-utils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-4407

Comment 11 Jan Hutař 2008-08-06 14:06:52 UTC
Checked that with yum-fastestmirror-1.1.14-1.fc8.noarch.rpm I was getting:

# yum upgrade
Loading "fastestmirror" plugin
Configuration file /etc/yum/pluginconf.d/fastestmirror-asyncore.conf not found
Unable to find configuration file for plugin fastestmirror-asyncore
Loading mirror speeds from cached hostfile
...

and after update to yum-fastestmirror-1.1.14-4.fc8 I have:

# yum upgrade
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
...

=> VERIFIED

Comment 12 Fedora Update System 2008-08-07 13:59:55 UTC
yum-utils-1.1.15-1.fc9 has been submitted as an update for Fedora 9

Comment 13 Fedora Update System 2008-08-07 14:05:46 UTC
yum-utils-1.1.15-1.fc8 has been submitted as an update for Fedora 8

Comment 14 Fedora Update System 2008-08-12 18:17:35 UTC
yum-utils-1.1.15-1.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update yum-utils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-7132

Comment 15 Fedora Update System 2008-08-12 18:25:05 UTC
yum-utils-1.1.15-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update yum-utils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7211

Comment 16 Jan Hutař 2008-08-21 12:14:39 UTC
Changing to VERIFIED as per comment #11.

Comment 17 petrosyan 2008-09-09 20:55:36 UTC
If the bug has been fixed its status should be changed to CLOSED.
VERIFIED means that the bug is still present.

Comment 18 Fedora Update System 2008-09-10 06:47:23 UTC
yum-utils-1.1.15-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2008-09-10 07:04:54 UTC
yum-utils-1.1.15-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.