Bug 69751 - Installing non-RPM file gives cryptic error
Summary: Installing non-RPM file gives cryptic error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-24 22:46 UTC by Need Real Name
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-07-24 22:46:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2002-07-24 22:46:31 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 
1.0.3705)

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):


How reproducible:
Always

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.

Additional info:

Comment 1 Jeff Johnson 2002-08-05 20:12:05 UTC
Fixed (i.e. "not an rpm package (or package manifest)")
in rpm-4.1-0.71. The Success was fixed previously.


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