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 - 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, 01: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, 01:49 PM   #2
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

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

Rep: Reputation: 77
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, 01: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, 03: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, 03:35 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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 03:36 PM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:45 AM.

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