Bug 91587 - rpm -e fails to uninstall
Summary: rpm -e fails to uninstall
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-25 02:36 UTC by Dennis Daniels
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-05-27 18:01:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Dennis Daniels 2003-05-25 02:36:14 UTC
Description of problem:
rpm -e fails

rpm sees a package is there but won't uninstall it or allow to re-installed

Version-Release number of selected component (if applicable):
latest rpm as of 22may

How reproducible:
install j2sdk

Steps to Reproduce:
download]# rpm -iv j2sdk-1_4_2-beta-linux-i586.rpm
Preparing packages for installation...
        package j2sdk-1.4.2-beta is already installed

root@localhost download]# rpm -e j2sdk-1_4_2-beta-linux-i586.rpm
error: package j2sdk-1_4_2-beta-linux-i586.rpm is not installed

root@localhost download]# rpm -e j2sdk-1_4_2-beta
error: package j2sdk-1_4_2-beta is not installed


2.
3.
    
Actual results:
j2sdk not found

Expected results:
j2sdk deleted

Additional info:

Comment 1 Michael Young 2003-05-25 17:55:05 UTC
You haven't got the syntax right. Try rpm -e j2sdk-1.4.2-beta , or even just
rpm -e j2sdk .

Comment 2 Jeff Johnson 2003-05-27 18:01:41 UTC
Yup, a common problem with rpm users is confusing
a package file name (like *.rpm) with a package name.

Only install/upgrade/freshen, or query/verify with a -p
option, or the signature modes, take package file names
as argument.

The package name is used elsewhere.


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