LinuxQuestions.org
Visit Jeremy's Blog.
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 01-26-2006, 10:55 PM   #1
lyar1031
Member
 
Registered: Jul 2004
Posts: 54

Rep: Reputation: 15
remove rpm


OK when I do

rpm -qa | grep kernel

I get the following.

kernel-pcmcia-cs-3.1.31-13
kernel-2.4.20-8
kernel-2.4.20-28.9
kernel-source-2.4.20-8

However, I want to remove "kernal-2.4.20-28.9" from the list by typing
rpm -e kernel-2.4.20-28.9.rpm

I get the follwoing error!!
error: package kernel-2.4.20-28.9.i386 is not installed

How do I remove this rpm from the list

Thanks
 
Old 01-27-2006, 12:20 AM   #2
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi,
the correct command is
rpm -e kernel-2.4.20-28.9
 
Old 01-27-2006, 12:21 AM   #3
lyar1031
Member
 
Registered: Jul 2004
Posts: 54

Original Poster
Rep: Reputation: 15
Ya I tried that to, but same error!!

Thanks
 
Old 01-27-2006, 09:04 AM   #4
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,397
Blog Entries: 1

Rep: Reputation: 64
rebuild the rpm's databse first:
# rpm --rebuilddb

and them, verify the kernel you want to remove still there. If is, them try to remove it now.
 
  


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
remove rpm invisibleghost Linux - Newbie 5 09-04-2004 10:42 PM
remove rpm ust Linux - Software 2 08-13-2004 03:58 AM
Cannot remove RPM drwsc6 Fedora - Installation 1 04-03-2004 06:27 AM
remove rpm vnpcg Linux - Software 9 02-24-2003 12:24 AM


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