Bug 572893 - Error when processing RPM exceptions
Summary: Error when processing RPM exceptions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-12 09:41 UTC by Andrew Bartlett
Modified: 2010-03-23 02:26 UTC (History)
4 users (show)

Fixed In Version: anaconda-13.35-1.fc13
Clone Of:
Environment:
Last Closed: 2010-03-23 02:26:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrew Bartlett 2010-03-12 09:41:11 UTC
Description of problem:
When 'pki-ra' fails to install, the error message causes a python error

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

How reproducible:
Only tried once...

Steps to Reproduce:
1. Upgrade a system with pki-ra installed (from Fedora 9 packages of original Dogtag 1.0.0-2.fc9 release) to Fedora 13 Alpha
2.
3.
  
Actual results:
Python error

Expected results:
GUI error (better still, no error, but that's another bug)

Additional info:

On like 249 of yuminstall.py, the 'hdr' variable is dereferenced as an array.  It is a string. 

(Pdb) p hdr
'pki-ra'

Changing hdr['name'] to hdr should fix it.

Comment 1 Chris Lumens 2010-03-12 15:39:19 UTC
Oh it's not quite that simple.  Only on some of the callback types is hdr a string.  Sometimes, it's an rpm header instead and the code should stay as-is.  I'll put in a check that'll work for both cases.

Comment 2 Fedora Update System 2010-03-18 17:12:30 UTC
anaconda-13.35-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/anaconda-13.35-1.fc13

Comment 3 James Laska 2010-03-18 17:38:39 UTC
Andrew, are you able to confirm whether reported problem is resolved?  Updated installer images are available for testing at 
http://serverbeach1.fedoraproject.org/pub/alt/stage/13-Beta.TC0/Fedora ?

Comment 4 Andrew Bartlett 2010-03-19 23:03:45 UTC
Sadly I cannot - I removed the offending package with --noscript and completed the upgrade.

Comment 5 Fedora Update System 2010-03-23 02:25:36 UTC
anaconda-13.35-1.fc13 has been pushed to the Fedora 13 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.