Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Linux Software => Linux Installation Support => Topic started by: piyush on September 23, 2004, 09: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.
-
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>
-
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.
-
well.. that is strange, no idea about that here.. hope someone else to give his view in this matter !
-
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?
-
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