Recently we had a customer who came across the cPanel Error Iproute Conflicts With Kernel.
This happens when we have an outdated kernel on the server.
cPanel alongside Web Host Manager facilitates and makes web hosting easy for website administrators.
However, before we proceed to install, we make sure to ONLY install cPanel and WHM on a freshly installed Operating system.
A kernel is the central part of an operating system. It manages the operations of the computer and the hardware.
Generally, the /scripts/rpmup shows the following error:
Error: iproute conflicts with kernel-plus-3.10.0-693.17.1.el7.bug14347.centos.plus.x86_64
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
info [rpmup] Completed yum execution “–assumeyes –color=never –config /etc/yum.conf update –disablerepo=epel”: in 29.188 second(s).
(XID cvngfh) “/usr/bin/yum” reported error code “1” when it ended:
checkyum version 22.3 (excludes: bind-chroot ruby)
This error happens when we have an outdated kernel installed on the server, even if it is running a newer one.
CloudLinux introduced this conflict to prevent issues that could cause by the server being rebooted into an older kernel with the new iproute package installed.
To resolve this error, simply follow the steps given below:
We start by verifying if the kernel is up to date.
It has to be newer than 3.10.0-793.21.1.lve1.5.20 :
# uname -r
If the running kernel is not up to date, we update it with:
# yum update kernel
Then we reboot it into a new kernel.
Once we confirm that the running kernel is up to date, we list current kernel packages:
# rpm -q kernel kernel-plus
However, this may fail on kernel and kernel-plus packages.
Kernel-plus should replace with the outdated Kernel package name on the server.
On this server, the solution will be to remove the outdated one.
In order to do so, we run:
# rpm -ev –nodeps –justdb kernel-plus-3.10.0-693.17.1.el7.bug14347.centos.plus.x86_64
Then we run /scripts/rpmup or yum update to make sure everything else gets updated.