LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-15-2004, 04:48 PM   #1
RJARRRPCGP
Member
 
Registered: Feb 2004
Location: USA (Springfield, Windsor County, Vermont)
Posts: 57

Rep: Reputation: 15
Help!!! Cannot install the kernel sources!!!


I'm using Mandrake Linux 8.1, but it looks like I don't have the kernel sources, because there isn't a /usr/src/linux directory, but when I found and double clicked on the RPM archive file that apparently contains the kernel sources, the RPM installer refuses to install the RPM package with the message stating that the RPM package is already installed!

Last edited by RJARRRPCGP; 02-15-2004 at 04:50 PM.
 
Old 02-15-2004, 06:36 PM   #2
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
look for directory under /usr/src: probably linux-2.1.44 or something like that

then:

ln -s /usr/src/linux-2.1.44 /usr/src/linux

replace linux-2.1.44 with whatever version you find in /usr/src
 
Old 02-15-2004, 08:31 PM   #3
RJARRRPCGP
Member
 
Registered: Feb 2004
Location: USA (Springfield, Windsor County, Vermont)
Posts: 57

Original Poster
Rep: Reputation: 15
Unfortunately, I only have /usr/src/RPM directory that isn't empty and many other subdirectories are empty!

Like what I just said, The RPM installer *WILL REFUSE* to install the kernel source RPM, because the RPM installer insists that the RPM package was already installed!!!

Last edited by RJARRRPCGP; 02-15-2004 at 08:34 PM.
 
Old 02-15-2004, 11:14 PM   #4
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Rep: Reputation: 30
I had a similar problem with mandy 9.2, but I kNoW it didn't have kernel source installed. Someone had me run "updatedb" from a command line. After that the installer went ahead and installed. May have been specific to my circumstances though.

Any one familiar with "updatedb"? Could it help here?
 
  


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
need to install full kernel sources? vbguru12000 Debian 9 10-25-2005 02:33 PM
Install kernel sources? cheesekeeper Fedora 2 02-04-2005 07:05 AM
where to dl (and how to install) kernel 2.4.25 sources in MDK 10 shenlong Mandriva 3 04-04-2004 02:01 PM
I didn't install full kernel sources? nutshell Linux - General 6 05-08-2003 01:44 PM
How do I install the kernel sources?? justiceisblind Linux - Newbie 12 03-11-2002 01:36 PM


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