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-15-2004, 03: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 03:50 PM.
 
Old 02-15-2004, 05: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, 07: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 07:34 PM.
 
Old 02-15-2004, 10: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



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

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

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