Bug 91587

Summary: rpm -e fails to uninstall
Product: [Retired] Red Hat Linux Reporter: Dennis Daniels <ddaniels>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-05-27 18:01:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.