Issue
An error appears during CloudLinux installation:
"Kernel update is prohibited on your system.
Do you want to proceed with upgrading kernel to continue installation? (y/n)? Please answer yes or no"
Environment
- CentOS 6/7/8
Solution
1- Please make a backup of the yum configuration first:
cp /etc/yum.conf /etc/back_yum.conf
2- Use this command to remove "kernel" from yum.conf excludes:
sed -i -e 's/kernel//g' /etc/yum.conf
Or remove manually all "kernel" and "kmod" from the exclude line. (kernel kernel-xen kernel-smp kernel-pae kernel-PAE kernel-SMP kernel-hugemem kernel-debug* kernel-core kernel-modules* kmod-[a-z]*)
3- Recheck if all is ok:
grep 'kernel' /etc/yum.conf
4- Try to perform the installation again.
Cause
Some hosting providers begin to add "kernel" to yum excludes.
That's why the check is triggered and asks if you want to continue.
Useful links
https://access.redhat.com/solutions/10185
Comments
0 comments
Please sign in to leave a comment.