Kris zhang
2012-Aug-27 07:42 UTC
[CentOS] I cannot find the package: kernel-headers-2.6.32-71.29.1 in centos mirror list
Hi guys, I want to build openvswitch kernel module, and my centos is 6.0, kernel version is 2.6.32-71.29.1.el6.x86_64. But i cannot find the kernel-headers-2.6.32-71.29.1.el6.x86_64. I use the yum command to install kernel-headers package: yum install kernel-headers-2.6.32-71.29.1.el6.x86_64, it says no package available. (BTW My yum repos is coming from http://www.centos.org/modules/tinycontent/index.php?id=30.) Please help me if you have this package, or plz tell me where can find it. Thanks in advanced, Kris
Alexander Dalloz
2012-Aug-27 07:54 UTC
[CentOS] I cannot find the package: kernel-headers-2.6.32-71.29.1 in centos mirror list
Am 27.08.2012 09:42, schrieb Kris zhang:> Hi guys, > > I want to build openvswitch kernel module, and my centos is 6.0, kernel > version is 2.6.32-71.29.1.el6.x86_64. But i cannot find the > kernel-headers-2.6.32-71.29.1.el6.x86_64. I use the yum command to install > kernel-headers package: yum > install kernel-headers-2.6.32-71.29.1.el6.x86_64, it says no package > available. (BTW My yum repos is coming from > http://www.centos.org/modules/tinycontent/index.php?id=30.) > > Please help me if you have this package, or plz tell me where can find it. > > Thanks in advanced, > KrisCentOS 6.0 is deprecated, current is 6.3 plus current updates. IT is important to keep your install up to date. Once you updated your CentOS installation to the current state, including the current kernel, rebootet your system with the new kernel, you can simply run "yum install kernel-headers". Alexander
Thomas Göttgens
2012-Aug-27 09:23 UTC
[CentOS] I cannot find the package: kernel-headers-2.6.32-71.29.1 in centos mirror list
For building most kernel modules, you need kernel-devel, not kernel-headers. -----Urspr?ngliche Nachricht----- Von: centos-bounces at centos.org [mailto:centos-bounces at centos.org] Im Auftrag von Kris zhang Gesendet: Montag, 27. August 2012 09:42 An: centos at centos.org Betreff: [CentOS] I cannot find the package: kernel-headers-2.6.32-71.29.1 in centos mirror list Hi guys, I want to build openvswitch kernel module, and my centos is 6.0, kernel version is 2.6.32-71.29.1.el6.x86_64. But i cannot find the kernel-headers-2.6.32-71.29.1.el6.x86_64. I use the yum command to install kernel-headers package: yum install kernel-headers-2.6.32-71.29.1.el6.x86_64, it says no package available. (BTW My yum repos is coming from http://www.centos.org/modules/tinycontent/index.php?id=30.) Please help me if you have this package, or plz tell me where can find it. Thanks in advanced, Kris _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
Lamar Owen
2012-Aug-27 13:55 UTC
[CentOS] I cannot find the package: kernel-headers-2.6.32-71.29.1 in centos mirror list
On Monday, August 27, 2012 05:31:12 AM Kris zhang wrote:> You are right, Thomas. i want to find the kernel-headers firstly, and then > i will find the kernel-devel. and the kernel-headers is needed by gcc. > > I have a question: is it ok if the version of kernel-header and > kernel-devel are not same?As you have been told, you really need to get on CentOS6 Update 3 (aka, 6.3) for security update purposes. Having said that, I'll address the rest of the list by saying that we do not know the particular requirements of the OP, and it is pretty clear from the thread that the OP does not have the discretion to do the update and must get approval from higher-ups. This sort of situation happens, and telling the OP to update, without addressing the actual question as well, is useless. The OP's higher-ups may have very particular reasons to want/need the older version, and we are not in a position to tell them that they are wrong; sure, staying current is the normally right thing to do, but there is a reason that Scientific Linux differs from CentOS is this respect, allowing people to take only security updates but stay at a particular point release. It makes their process more complicated, but it is their goal. Now, neither in my personal use of CentOS nor in my work use of CentOS have I yet found a need to stick to a particular point release, but that doesn't mean that a valid need to stick to a particular point release does not exist. If I were to find that I needed to stick to a point release for some reason, I'd probably use SL for that particular purpose and CentOS for the other systems. Now, to actually answer the OP's questions..... I believe, but am not sure, that you do need the same versions of kernel-devel and kernel-headers and they must match the kernel version that you're using. You can get this older version of kernel-headers at: http://vault.centos.org/6.0/updates/x86_64/RPMS/kernel-headers-2.6.32-71.29.1.el6.x86_64.rpm The matching kernel-devel is at: http://vault.centos.org/6.0/updates/x86_64/RPMS/kernel-devel-2.6.32-71.29.1.el6.x86_64.rpm
Reasonably Related Threads
- Upgrade frim 6.0 to 6.1 crashes on x3850
- CentOS 6 kernel update and grub.conf...
- CentOS 6.x, kernel-2.6.32-220.7.1, EC2 and drive enumeration
- Error installing latest CentOS kernel from %post section of kickstart
- Intel HD graphics & CentOS 6: Error inserting i915