Red Hat Bugzilla – Bug 493351
yum fails with traceback when cleaning up nfs-utils
Last modified: 2015-03-03 17:40:09 EST
Description of problem:
at the time of fail, I was updating pre-beta rawhide to post-beta, excluding kernel, pango, freetype and some other packages... i.e. not complete upgrade. However dependency resolution succeeded.
Version-Release number of selected component (if applicable):
yum-3.2.22-1.fc11.noarch (both installed at the same time?)
Only during this upgrade, haven't tested again
Steps to Reproduce:
1. Run gpk-update-viewer, select updates, Apply
2. Dependency check phase completes successfully
3. Upgrade phase completes successfully
4. during cleanup of nfs-utils, error message is displayed
Error Type: <type 'exceptions.TypeError'>
Error Value: string indices must be integers, not str
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']
This is fixed in yum 3.2.22 which is in rawhide.
you probably want to run:
...to make sure you just have 3.2.22 installed.