[Yum] possible bug(2): repomanage: AttributeError: RpmUtilsError instance has no attribute 'message'
Fajar A. Nugraha
fajar at fajar.net
Wed Jan 20 09:45:44 UTC 2010
This bug happens under the following combinations:
- RHEL5.4
- yum-utils-1.1.24 (again, not really sure the bug first appear. I
just notice it now)
- yum-3.2.25
- rpm-4.4.2.3-18.el5
- python-2.4.3-27.el5
when running repomanage against a bad package, you got error message like this
error: rpmts_HdrFromFdno: MD5 digest: BAD
Expected(ceb1e8731d253cdcb3fcb34201408a12) !=
(0ff3308c3640ebd95f4121d2d5f5e13b)
Traceback (most recent call last):
File "/usr/bin/repomanage", line 234, in ?
main(sys.argv[1:])
File "/usr/bin/repomanage", line 153, in main
msg = "Error opening pkg %s: %s" % (pkg, e.message)
AttributeError: RpmUtilsError instance has no attribute 'message'
The workaround that I use now is to remove second parameter to msg
(i.e %s and e.message). Does this bug depend on different rpm version?
--
Fajar
More information about the Yum
mailing list