LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-03-2001, 01:45 PM   #1
gogo
Member
 
Registered: Apr 2001
Posts: 117

Rep: Reputation: 15
Question uninstall kernel-source-2.4.7-12


Hi,

I am so stupid that I installed kernel-source-2.4.7-12 rpm under /usr/src and I am running kernel only 2.4.7-10.

Then, I rm -rf /usr/src/kernel-source-2.4.7-12.

I tried to reinstall kernel-source-2.4.7-10 again. However, it said that there is a newer version 2.4.7-12 installed and not allow me to rpm -Uvh kernel-source-2.4.7-10.

I tried to locate / find / rpm -qa | grep kernel-source*, I tried to rpm -e kernel-source*, but nothing was found or deleted.

Now, I have 2 questions:

1. How can I remove completely the kernel-source-2.4.7-12?

2. If I cannot remove it, how can I install kernel-source-2.4.7-10 under /usr/src?

I have to install it, otherwise I cannot install the Lan card driver.

Thanks in advance.

gogo
 
Old 12-03-2001, 02:41 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
way to mess up the rpm db!

if there seems to be no entry in the database to the rpm then howcome it thinks it's still there? what abuot just grep-ing for 'kernel'? [nb you don't need the *]

you can always
a) reinstall the dodgy rpm and then erase it PROPERLY!!!
b) force the install of the older rpm.
rpm -iv --force kernel...........rpmv
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to uninstall from a source file Rick069 Mandriva 2 11-15-2005 05:41 PM
Uninstall after source install... SpiderIRE Linux - Software 1 10-01-2005 06:02 AM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
Kernel-Source rpm Install/Uninstall error in Fedora i286 Linux - General 1 12-29-2003 11:31 AM
uninstall source installations shanenin Linux - Software 1 09-24-2003 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:54 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