I need to upgrade my centos OS to kernel-3.10.0-862
to address the security issue. When I run yum check-update|grep kernel
Gives only 693.21
kernel.x86_64 3.10.0-693.21.1.el7 updates
I do see the updated kernel here :
http://mirror.centos.org/centos/7/updates/x86_64/Packages/
What is the correct method to install these update using yum command?
Thanks
SR
Update:
# rpm -qa kernel\*
kernel-3.10.0-693.11.1.el7.x86_64
kernel-headers-3.10.0-693.17.1.el7.x86_64
kernel-tools-libs-3.10.0-693.11.6.el7.x86_64
kernel-3.10.0-693.11.6.el7.x86_64
kernel-tools-3.10.0-693.11.6.el7.x86_64
# yum list installed | grep kernel
kernel.x86_64 3.10.0-693.11.1.el7 @updates
kernel.x86_64 3.10.0-693.11.6.el7 @updates
kernel-headers.x86_64 3.10.0-693.17.1.el7 @updates
kernel-tools.x86_64 3.10.0-693.11.6.el7 @updates
kernel-tools-libs.x86_64 3.10.0-693.11.6.el7 @updates
yum file for updates
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Best Answer
Within
/etc/yum.repos.d
, you should see a repo calledCentOS-CR.repo
which will be disabled. Setenabled
to1
and thenyum list available | grep kernel
and you'll see the kernel packages for3.10.0-862
.After that, you can
yum update
oryum install kernel*
to get the new kernel packages.I just ran
yum update
on my Centos 7.4 text box and everything seems to be working okay with the usual tasks after3.10.0-862
was installed.