Problems installing kernel-devel-3.10.0-957.27.2.el7.x86_64

Issues related to applications and software problems
Post Reply
afernandezody
Posts: 50
Joined: 2019/06/25 13:10:33

Problems installing kernel-devel-3.10.0-957.27.2.el7.x86_64

Post by afernandezody » 2019/09/24 01:22:09

Hello,
I have a system running on CentOS 7.7, which is not allowing me to install the development kernel. The command

Code: Select all

sudo yum install kernel-devel-$(uname -r) kernel-headers-$(uname -r) -y
where the installed kernel is 3.10.0-957.27.2.el7.x86_64 returns:

Code: Select all

Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirror.us.oneandone.net
 * epel: dfw.mirror.rackspace.com
 * extras: mirror.dal10.us.leaseweb.net
 * updates: www.gtlib.gatech.edu
No package kernel-devel-3.10.0-957.27.2.el7.x86_64 available.
No package kernel-headers-3.10.0-957.27.2.el7.x86_64 available.
Error: Nothing to do
Not sure why this kernel version is returning this error.
Thanks,
Arturo

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: Problems installing kernel-devel-3.10.0-957.27.2.el7.x86_64

Post by chemal » 2019/09/24 02:06:26

If you're really on 7.7: reboot and try again.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Problems installing kernel-devel-3.10.0-957.27.2.el7.x86_64

Post by TrevorH » 2019/09/24 02:45:18

A 3.10.0.-957 kernel is a 7.6 one, not a 7.7 one.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

afernandezody
Posts: 50
Joined: 2019/06/25 13:10:33

Re: Problems installing kernel-devel-3.10.0-957.27.2.el7.x86_64

Post by afernandezody » 2019/09/24 04:07:56

Hi @TrevorH,
You're right: that was the problem. I didn't do the CentOS installation myself and just realized that 7.7 was released barely one week ago. When I updated earlier, the kernel was upgraded to 3.10.0-1062, which is 7.7 but was creating incompatibility with other software. I will have to contact both provider and software vendor to get updates at both ends. Thanks.

Post Reply