Bug 492918 - missing filename in rpmts_HdrFromFdno: MD5 digest: BAD Expected
Summary: missing filename in rpmts_HdrFromFdno: MD5 digest: BAD Expected
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-30 18:08 UTC by John Reiser
Modified: 2014-01-21 23:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-30 20:04:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Reiser 2009-03-30 18:08:51 UTC
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 18:30:46 UTC
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 19:57:17 UTC
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.