LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sjw01748 kernel does NOT match devel package (https://www.linuxquestions.org/questions/linux-newbie-8/sjw01748-kernel-does-not-match-devel-package-522004/)

sjw01748 01-23-2007 07:33 AM

sjw01748 kernel does NOT match devel package
 
Good Morning:

I downloaded and installed Fedora 5 version 2.6.15-1.2054_FC5.

After installation I experienced a "broken link" error when attempting to execute "make".

Attempting to fix the broken link error and reading the Release_Notes.txt I executed 'yum install kernel-devel'.

This installed kernel-devel-2.6.18-1.2257.fc5.
This kernel-devel version does not match my kernel version.

Will this cause me problems?

I wish to utilize the 2.6.15-1.2054_FC5 kernel and its tools.

Should I uninstall the kernel-devel-2.6..18-1.2257.fc5?

If I should uninstall the kernel-devel package what is the command and exact syntax?


Thanks all for your help.

\Steve

Lenard 01-24-2007 05:21 AM

It is very important that the kernel-devel package matches your running kernel. To remove the newer version of the kernel-devel rpm package as root type;

rpm -e kernel-devel-2.6..18-1.2257.fc5

But you need to install the matching kernel-devel for your current kernel-2.6.15-1.2054_FC5 which should be on the installation media or here;

http://download.fedora.redhat.com/pu.../linux/core/5/

FYI: since FC5 was released a large number of updates have happened, any reason to first update and use the current updated kernel for FC5 which is kernel-2.6..18-1.2257.fc5, notice that this is the kernel for the kernel-devel package you wish to remove. It would be a better idea to update the OS first.

yum update yum
yum update

Yes it will take a fair amount of time but it is worth it.


All times are GMT -5. The time now is 04:58 PM.