Description of problem: When running repomanage, the filename is missing from the error message "error: rpmts_HdrFromFdno: MD5 digest: BAD Expected(...". There is no way to tell which *.rpm is bad. Version-Release number of selected component (if applicable): yum-utils-1.1.21-2.fc11.noarch How reproducible: always Steps to Reproduce: 1. "repomanage -o ." in a directory containing one bad .rpm and many good .rpm files 2. 3. Actual results: The filename is missing from the error message which alerts the user to the bad digest. The user receives no clue about which is the bad .rpm. Expected results: Any error message that pertains to a file must include the filename. Additional info:
test this repomanage and tell me if it prints out correctly. http://skvidal.fedorapeople.org/misc/repomanage.py
The output looks good (contains the filename): ----- error: rpmts_HdrFromFdno: MD5 digest: BAD Expected(770fa61062f27255aae54c7cacb601ab) != (0fea6700ec3ed283c7dc1c1ebade43ce) /home/jreiser/Download/repomanage.py:153: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 msg = "Error opening pkg %s: %s" % (pkg, e.message) Error opening pkg openoffice.org-langpack-or_IN-3.1.0-4.1.fc11.i586.rpm: RPM Error opening Package ----- and indeed that file was bad. Thank you.