Bug 491651 - TypeError crash in rpmtrans.py @ _dopkgtup
TypeError crash in rpmtrans.py @ _dopkgtup
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-03-23 10:05 EDT by Matěj Cepl
Modified: 2018-04-11 12:11 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-03-23 10:12:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matěj Cepl 2009-03-23 10:05:04 EDT
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
Actual results:
see above

Expected results:
nicely upgraded system and no messages

Additional info:
Comment 1 seth vidal 2009-03-23 10:12:32 EDT
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.