LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help!!! Cannot install the kernel sources!!! (https://www.linuxquestions.org/questions/linux-newbie-8/help-cannot-install-the-kernel-sources-146455/)

RJARRRPCGP 02-15-2004 03:48 PM

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!

bnice 02-15-2004 05:36 PM

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

RJARRRPCGP 02-15-2004 07:31 PM

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!!!

toastermaker 02-15-2004 10:14 PM

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?


All times are GMT -5. The time now is 10:43 PM.