Cannot yum install kernel

General support questions
Post Reply
dtx1
Posts: 16
Joined: 2021/04/27 04:17:20

Cannot yum install kernel

Post by dtx1 » 2023/08/25 21:46:58

After a ‘yum update gone bad’, I have booted into the rescue kernel (not rescue mode from USB).

I want to install a new kernel. I have the ethernet up. When I list the available kernels:

yum list kernel --show-duplicates

I get: https://drive.google.com/file/d/1iu1VU ... drive_link

But when I try to install one of the kernels it says it there – I can’t.

https://drive.google.com/file/d/1AJ8jcC ... drive_link

Why? And how can I install a new kernel in this mode?

Thanks.

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

Re: Cannot yum install kernel

Post by TrevorH » 2023/08/25 23:02:11

What is the output from grep ^NAME= /etc/os-release ?
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

dtx1
Posts: 16
Joined: 2021/04/27 04:17:20

Re: Cannot yum install kernel

Post by dtx1 » 2023/08/26 00:02:28

NAME="CentOS Linux"

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

Re: Cannot yum install kernel

Post by TrevorH » 2023/08/26 01:15:36

It's lower case EL7 not e17. So yum install kernel-3.10.0-1160.83.1.el7.x86_64
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

dtx1
Posts: 16
Joined: 2021/04/27 04:17:20

Re: Cannot yum install kernel

Post by dtx1 » 2023/08/26 03:46:59

thanks

Post Reply