LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-06-2004, 06:07 PM   #1
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Rep: Reputation: 35
Uninstalling rpm's


Hello.

I have problems uninstalling rpm's packages.

I installed a package.rpm using this command: rpm -i package.rpm all went smooth.
Now, i'd like to uninstall it. I tried using rpm -e package.rpm , but the answer was: package.rpm is not installed

??

What am i doing wrong?
(btw: i'm using FC2).

10x 4 help!
 
Old 06-06-2004, 06:26 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"What am i doing wrong?"

When you install you use the complete file name in the rpm -i command.
rpm -i package-xx-xx.rpm

When you uninstall you use just the package name in the rpm -e command. Try:
rpm -e package

If you don't know the exact spelling of the package name use:
rpm -qa | sort | less
to get an alphabetical list of your package names.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 06-06-2004, 11:34 PM   #3
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
rpm -e rpmname dont add the .rpm at the end leave it out.
 
Old 06-07-2004, 01:38 PM   #4
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Original Poster
Rep: Reputation: 35
10x guys!!
 
Old 06-30-2004, 08:34 AM   #5
k41184
Member
 
Registered: Nov 2003
Location: Sioux Center, IA
Distribution: RH9, Fedora Core I,II,III
Posts: 37

Rep: Reputation: 15
Same problem unistalling java

I am having a very similar problem. I am trying to unistall the package j2re-1_4_2_04-linux-i586.rpm . The RPM -i command tells me the package is installed. Yet using rpm -e j2re-1_4_2_04-linux-i586 will not remove it, saying the package is not installed. I have also tried rpm -e --force -nodps j2re-1_4_2_04-linux-i586. Any other ideas how to remove and rpm that is there but the comptuer thinks is not? I am using FCII, fully updated
 
Old 07-18-2004, 08:17 AM   #6
kevinlyfellow
Member
 
Registered: Sep 2003
Distribution: Ubuntu 5.10
Posts: 56

Rep: Reputation: 15
Me too, it will not allow me to query or anything, yet when I try to install it after I try to uninstall it, it tells me package is already installed. I know there is a system log that keeps track of all the rpms installed on the system, maybe it needs to reference to that and its getting the wrong location. But I never changed that before and it worked at one time. Anyone know what's going on?
 
Old 07-18-2004, 08:23 AM   #7
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
The package name might not be exactly the same as the filename minus the .rpm end. Try to find it in a gui package manager, or try some variation like j2re-1_4_2_04.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are source RPM's and binary RPM's installed the same way? Simon Adebisi Linux - Software 3 06-28-2005 03:45 AM
Looking for rpm's for RH AS 3 flipinboy Red Hat 1 04-02-2004 03:25 PM
What to do with rpm's flashingcurser Slackware 2 05-27-2003 03:08 PM
Rpm's KevStA Linux - General 4 05-19-2002 06:42 AM
rpm's whp Linux - General 2 01-03-2002 01:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration