LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-22-2005, 01:08 PM   #1
AKAKAK
Member
 
Registered: Jan 2005
Posts: 64

Rep: Reputation: 15
how am i remove rpm pack's?


i instelled rpm file,but i instell the worng one (older vervsion),so how am i remove the rpm pack?

Last edited by AKAKAK; 01-22-2005 at 01:10 PM.
 
Old 01-22-2005, 01:20 PM   #2
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,687

Rep: Reputation: 68
Don't worry about it , it will update itself, when you do next update.

Jim
 
Old 01-22-2005, 01:28 PM   #3
AKAKAK
Member
 
Registered: Jan 2005
Posts: 64

Original Poster
Rep: Reputation: 15
when i try to update the old rpm

i get message that the two pack's are missing in the new rpm.
so i thinked to remove the old rpm and try again to instell the new rpm.
with the windows it's help some time's,but i don't know if it's gona help me with linux.
can it's help instelling the new rpm?
 
Old 01-22-2005, 02:17 PM   #4
drj000
Member
 
Registered: Sep 2004
Location: Houston, TX
Distribution: Fedora
Posts: 261

Rep: Reputation: 33
If you want to remove the package, type
Code:
rpm -e packagename
 
Old 01-22-2005, 02:23 PM   #5
flysideways
Member
 
Registered: Jul 2003
Posts: 151

Rep: Reputation: 30
Code:
man rpm
Read away. Seriously. I know that the man pages are horribly painful to read for those of us that are new to Linux and computing with control but the sooner you learn to decipher the information that is available, the sooner Linux will reward your effort.

Code:
rpm -e name_of_rpm
will remove an installed rpm.
Code:
rpm -qa | grep name_of_rpm
will query the installed rpm database and return all references to name_of_rpm. Then you can rpm -e the one that you want to get rid of.

Example:
[@localhost ~]$ rpm -qa | grep k3b
k3b-0.11.17-1

Now I could rpm -e k3b-0.11.17-1 and it will be erased. Notice that I did not include .rpm at the end, it is not required. That seems to be a fairly common mistake the first few times someone does this.

As an interesting side note, when you are erasing old kernels that you no longer need to boot, the kernel reference is also removed from the grub logon screen.

Cheers
 
Old 01-22-2005, 02:25 PM   #6
flysideways
Member
 
Registered: Jul 2003
Posts: 151

Rep: Reputation: 30
I type way too slowly. Or is it the verbosity?
 
  


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
remove RPM TuxFreak Linux - Newbie 6 01-16-2005 02:04 PM
Question on Add/Remove apps, rpm file equivalents? Arodef Fedora 7 01-09-2005 12:56 PM
remove rpm invisibleghost Linux - Newbie 5 09-04-2004 10:42 PM
remove rpm ust Linux - Software 2 08-13-2004 03:58 AM
remove rpm vnpcg Linux - Software 9 02-24-2003 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:59 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
Open Source Consulting | Domain Registration