[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Linux Software  |  Linux Installation Support  |  Topic: installed packaged cannot be uninstalled using rpm -e
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: installed packaged cannot be uninstalled using rpm -e  (Read 1310 times)
0 Members and 1 Guest are viewing this topic.
piyush
New Member

Offline Offline

Posts: 3


View Profile
« on: September 23, 2004, 05:27:05 AM »

Hello,
         Recently i had installed gaim-1.0.0 for redhat 9 for i386  . The application installs fine and runs as expected,  but  when i gave the command   rpm -e "package name"  in command line it says that the package is not installed. Though i can uninstall succesfully through the add/remove program facility in the GUI mode. Can anyone help me in telling what is the problem in command line and how can i solve it?
         Running "rpm -e <package>" from the /usr/bin directory works but i think it should work from the root's homw directory too- that is the proper way, isn't it?
        Waiting eagerly for an early reply.
Regards,
Piyush.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #1 on: September 23, 2004, 10:47:05 AM »

well.. when you are su or logged in as root then you can do uninstallation or installation from any place!

Secondly when removing a package you need to know the exact package name.. say you want to unistall a previously installed rpm package then you can get its exact version by..

rpm -q <package name>

then it will give you exact package name with version etc then try removing it with

rpm -e <full package name with version etc>
Logged
piyush
New Member

Offline Offline

Posts: 3


View Profile
« Reply #2 on: September 23, 2004, 11:05:30 PM »

Hello,
         I agree with your suggestion Ricky but even when i give rpm -q <package>  in command line it tells that the package is  not installed ,  though i can  run the program  and it could be seen installed in the GUI Add/Remove program for RH 9 Linux. Awaiting a reply...

Regards,
Piyush.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #3 on: September 25, 2004, 05:22:19 AM »

well.. that is strange, no idea about that here.. hope someone else to give his view in this matter !
Logged
sashijoseph
Linux Noob !
*
Offline Offline

Posts: 14


View Profile
« Reply #4 on: September 26, 2004, 12:45:07 AM »

Well try rpm -qf on a file installed by the package. For eg if there is a gaim binary in /usr/bin then try      rpm -qf /usr/bin/gaim .This should give the correct package name.Maybe you've already done this.
Could it be happening due to some dependency prob?
Logged
deven_01
Linux Learner
***
Offline Offline

Posts: 143


View Profile
« Reply #5 on: May 23, 2005, 06:32:22 AM »

hi piyush
do
rpm -qa | grep <pkgname>.rpm
it gives you particular pakage with version
do
rpm -e <pkgname>
it uninstall that pkg
if it depends on another then uninstall that pkges also
Ok dear good bye
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
redhat installed..but still does'nt boot Linux Installation Support kanishk 2 1328 Last post January 27, 2004, 06:54:49 AM
by neo
How to know which application is installed and which is not Miscellaneous taraj 1 823 Last post August 23, 2004, 09:37:38 AM
by anil_garg5
how suse installed Linux Installation Support Khalid_Hussain 5 838 Last post August 25, 2005, 09:28:47 PM
by ilias
i installed radmin but there was a problem Linux Installation Support gadekishore 0 662 Last post October 14, 2005, 01:29:46 AM
by gadekishore
Installed Fedora 7: worried about Ubuntu Linux Installation Support akashyak 2 453 Last post June 13, 2008, 04:44:41 AM
by dragoncity99
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 03:39:39 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 02:29:08 PM]

[November 20, 2008, 11:30:52 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]
Members
Total Members: 6229
Latest: razon_nnn
Stats
Total Posts: 8270
Total Topics: 2254
Online Today: 14
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 10
Total: 10
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc