LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-09-2006, 10:35 PM   #1
dhanju
Member
 
Registered: Aug 2005
Location: bangalore
Posts: 47

Rep: Reputation: 18
RPM already installed, but it not getting unistalled


hai,

we are seeing this problem so long, whats the problem is, if we find any rpm (service or package) not working properly we try to reinstall that one.

but when we try to reinstall its showing that particular rpm is "Already installed", and when we try to remove or uninstall it is showing that particular rpm was "not installed".

to solve this problem what may be the solution.

thanks in advance
 
Old 01-09-2006, 11:11 PM   #2
T.Hsu
Member
 
Registered: Jan 2005
Posts: 178

Rep: Reputation: 31
Only use package's name to uninstall. for example:

you use

Code:
rpm -ivh firefox-1.5-0.fc4.i386.rpm
to install firefox; then use

Code:
rpm -e firefox
to remove it.

Beware that you may encounter dependency problem during uninstall, what distro are you using, maybe better to use a rpm manager like yum. It seems that yum lacks a "reinstall" feature like apt in debian.

and I strongly suggest you to figure out what really cause the problem before reinstalling a package. Reinstallation is the last thing to do.
 
Old 01-10-2006, 04:43 AM   #3
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Maybe you could use the upgrade (-U) command instead of remove/install.

rpm -U ...
 
  


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
rpm -ivh says installed rpm -e says not installed ??? skog Fedora 3 12-22-2004 03:52 PM
rpm -q not shows installed rpm mla Linux - Software 4 10-31-2004 02:49 PM
RPM is saying installed packages aren't installed ticky87 Linux - Newbie 4 07-26-2004 01:17 AM
Unistalled Linux and now Windows wont Boot SirEarAlot Linux - Software 2 10-06-2003 05:16 PM
rpm: installed or not installed... c0c0deuz Linux - General 4 07-12-2003 06:38 PM

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

All times are GMT -5. The time now is 04:20 PM.

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