LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem uninstalling rpm packages..... (https://www.linuxquestions.org/questions/linux-newbie-8/problem-uninstalling-rpm-packages-292660/)

sunnysharma 02-20-2005 01:09 PM

problem uninstalling rpm packages.....
 
hi frnds.....i am not able to uninstall some rpm packages......as you can see, a output from terminal

Code:

[root@zombie ~]# rpm -e Scorched3D-38.1-i386.rpm
error: package Scorched3D-38.1-i386.rpm is not installed
[root@zombie ~]# rpm -i Scorched3D-38.1-i386.rpm
        package scorched3d-38.1-1 is already installed
[root@zombie ~]#

so i dont think i need anymore explanation....plzzz help me.....thanx

liquidtenmilion 02-20-2005 01:49 PM

don't type the extention, a simple

rpm -e Scorch....

should do it, so just drop the rpm off of that command and it should work. if not, try to drop the version too.

reddazz 02-20-2005 01:49 PM

It's coz you are doing it the wrong way, just use the name of the package excluding the version and file type e.g.

#rpm -e Scorched3D

semlak 02-20-2005 01:55 PM

Re: problem uninstalling rpm packages.....
 
Quote:

Originally posted by sunnysharma
hi frnds.....i am not able to uninstall some rpm packages......as you can see, a output from terminal

Code:

[root@zombie ~]# rpm -e Scorched3D-38.1-i386.rpm
error: package Scorched3D-38.1-i386.rpm is not installed
[root@zombie ~]# rpm -i Scorched3D-38.1-i386.rpm
        package scorched3d-38.1-1 is already installed
[root@zombie ~]#

so i dont think i need anymore explanation....plzzz help me.....thanx

Yeah, 'rpm -e' can be a bit of a pain. I remember being so annoyed with this same problem.

try:
Code:

rpm -e Scorched3D
reason: packages have a format where the is the package name, followed by a hyphen, followed by the version and other crap.
The hyphen seperates the package name from the version and the other crap. When uninstalling, you only include the package name.

Good luck.
joe

sunnysharma 02-20-2005 03:26 PM

hi folks.....i tried it the way you guys told....but its not working.....

Code:

[root@zombie ~]# rpm -e Scorched3D
error: package Scorched3D is not installed
[root@zombie ~]# rpm -i Scorched3D*
        package scorched3d-38.1-1 is already installed
[root@zombie ~]#


reddazz 02-20-2005 03:35 PM

Do,
#rpm -qa | grep -i scorched3d
the name of the installed version will be printed to the screen, uninstall it by doing
#rpm -e versionThatWasPrinted

By the way rpm -i should also be used for new packages that are not installed on your system, rpm -U is what you should use if you have an older version of the package installed on your system.


All times are GMT -5. The time now is 03:27 AM.