LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-26-2013, 06:25 AM   #1
kevinyeandel
Member
 
Registered: Jun 2008
Posts: 49

Rep: Reputation: 16
yum mirror/RPM's OK yet kernel source 2.6 thought to be latest not 3.6x!


Hi

Uname -r gives
3.4.68-9.el6.centos.alt.x86_64
If I check the mirror the rpm I need is there.
If I wget the rpm and
execute rpm2cpio kernel-devel-3.4.68-9.el6.centos.alt.x86_64.rpm | cpio -idmv
I can see /usr/src/kernels/3.4.68-9.el6.centos.alt.x86_64/*

I've done yum clean all but when I do
If yum [re]install kernel-devel*
I get told
Package kernel-devel-2.6.32-358.23.2.el6.x86_64 already installed and latest Nothing to do

And in folder

/usr/src/kernels/
drwxr-xr-x. 22 root root 4096 Nov 22 23:25 2.6.32-358.23.2.el6.x86_64
drwxr-xr-x. 22 root root 4096 Nov 22 23:55 2.6.32-358.23.2.el6.x86_64.debug

In /lib/modules/3.4.68-9.el6.centos.alt.x86_64 is the link
build -> ../../../usr/src/kernels/3.4.68-9.el6.centos.alt.x86_64
(which is therefore invalid)

So, try again being more specific:
yum install kernel-devel-$(uname -r)
<snip>Setting up Install Process
No package kernel-devel-3.4.68-9.el6.centos.alt.x86_64 available.
Error: Nothing to do

Any clues?

Thanks in advance

Kevin
 
Old 11-26-2013, 11:43 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
I'm not sure what your question is...RHEL/CentOS 6 uses the 2.6.32 kernel. Are you trying to force it to use a different kernel? For what purpose?

I'm not sure why uname -r is telling you you're running 3.4, because you shouldn't be, unless some time in the past you manually forced it to install and use a non-standard kernel, in which case yum won't be able to help you.

RHEL/CentOS won't be moving to the 3.x kernel until version 7. If you need bleeding-edge, then a slow release long term support "stable" distro like RHEL/CentOS is not for you.

Last edited by suicidaleggroll; 11-26-2013 at 11:45 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how should I upgrade httpd server if no rpm source has the latest package hahacc Linux - Server 4 12-30-2011 08:40 PM
building from source vs. yum install vs. rpm vbekker Linux - Newbie 7 11-08-2010 08:13 PM
Yum update 404 after rpm mirror updates WindleX Linux - Software 3 08-19-2009 08:42 AM
Need latest 8.10 kernel source/build-dep in 9.04 Jeff91 Linux - Laptop and Netbook 0 06-27-2009 07:28 PM
Fast Yum Mirror Settings For Yum ( RH9 ) fortezza Red Hat 1 06-11-2004 04:24 PM

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

All times are GMT -5. The time now is 12:31 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
Open Source Consulting | Domain Registration