LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2005, 02:09 PM   #1
sunnysharma
LQ Newbie
 
Registered: Feb 2005
Location: India
Distribution: Fedora Core 3
Posts: 13

Rep: Reputation: 0
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
 
Old 02-20-2005, 02:49 PM   #2
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
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.
 
Old 02-20-2005, 02:49 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
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
 
Old 02-20-2005, 02:55 PM   #4
semlak
LQ Newbie
 
Registered: May 2004
Location: Illinois
Distribution: Fedora
Posts: 8

Rep: Reputation: 0
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
 
Old 02-20-2005, 04:26 PM   #5
sunnysharma
LQ Newbie
 
Registered: Feb 2005
Location: India
Distribution: Fedora Core 3
Posts: 13

Original Poster
Rep: Reputation: 0
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 ~]#
 
Old 02-20-2005, 04:35 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
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.

Last edited by reddazz; 02-20-2005 at 04:36 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Uninstalling Packages Rpm! tdkratboy Red Hat 1 02-02-2005 03:42 AM
Problem With Installing .rpm Packages On Fedora Core 2 FireDemon666 Fedora 8 08-15-2004 09:01 AM
Problem uninstalling a RPM PeL Linux - Software 7 04-21-2003 11:51 PM
mplayer rpm packages problem dark_light Linux - General 1 03-31-2003 02:43 PM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 07:03 PM


All times are GMT -5. The time now is 08:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration