Bug 491651 - TypeError crash in rpmtrans.py @ _dopkgtup
Summary: TypeError crash in rpmtrans.py @ _dopkgtup
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-23 14:05 UTC by Matěj Cepl
Modified: 2018-04-11 16:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-23 14:12:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matěj Cepl 2009-03-23 14:05:04 UTC
When running yum upgrade I got this:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/yum/rpmtrans.py", line 389, in callback
    self._scriptError(bytes, total, h)
  File "/usr/lib/python2.6/site-packages/yum/rpmtrans.py", line 510, in _scriptError
    remove_hdr = False # if we're in a clean up/remove then hdr will not be an rpm.hdr
  File "/usr/lib/python2.6/site-packages/yum/rpmtrans.py", line 237, in _dopkgtup
    tmpepoch = hdr['epoch']
TypeError: string indices must be integers, not str
error: python callback <bound method RPMTransaction.callback of <yum.rpmtrans.RPMTransaction instance at 0x7fde4c7ebf80>> failed, aborting!
[root@hubmaier ~]# 

Version-Release number of selected component (if applicable):
yum-3.2.21-16.fc11.noarch (or maybe -12 -- I have duplicate packages)

How reproducible:
happened once 

Steps to Reproduce:
1.yum upgrade
2.
3.
  
Actual results:
see above

Expected results:
nicely upgraded system and no messages

Additional info:

Comment 1 seth vidal 2009-03-23 14:12:32 UTC
Pretty sure it is -12 that is running b/c -15 should have the fix for that.


Note You need to log in before you can comment on or make changes to this bug.