Bug 492918 - missing filename in rpmts_HdrFromFdno: MD5 digest: BAD Expected
missing filename in rpmts_HdrFromFdno: MD5 digest: BAD Expected
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-30 14:08 EDT by John Reiser
Modified: 2014-01-21 18:08 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-03-30 16:04:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description John Reiser 2009-03-30 14:08:51 EDT
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:
Comment 1 seth vidal 2009-03-30 14:30:46 EDT
test this repomanage and tell me if it prints out correctly.

http://skvidal.fedorapeople.org/misc/repomanage.py
Comment 2 John Reiser 2009-03-30 15:57:17 EDT
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.

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