Red Hat Bugzilla – Bug 69751
Installing non-RPM file gives cryptic error
Last modified: 2008-05-01 11:38:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
Description of problem:
Sometimes HTML files are downloaded in place of RPMs. When you try to install
these HTML files via rpm -ivh (on the command line), the command fails with a
cryptic error "read manifest failed: Success". Please change this error
message to say something more intuitive. Example:
"You have tried to install an invalid RPM file. Please check that your file is
a valid RPM and try again."
This will prevent confusion of those who don't realize that they have actually
downloaded an HTML file instead of an RPM file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download a file with the RPM extension that is actually an HTML file. (This
usually happens unknowingly; hence the confusion.)
2. Install using rpm -i or rpm -ivh from the command line.
Actual Results: Error: read manifest failed: Success
Expected Results: The RPM command should have explained the real problem --
that the file is not a valid RPM.
Fixed (i.e. "not an rpm package (or package manifest)")
in rpm-4.1-0.71. The Success was fixed previously.