Sysup: Needed system RPMs were not installed: kernel-headers
Hi,
I ran into an issue where the client continues to receive this error every morning in his email
[host.domain.com] An update failure has occurred.
cPanel & WHM failed to update.
The system failed to update to the latest version of cPanel & WHM version 11.68 because it could not install basic requirements for cPanel & WHM. The specific failure was:
Sysup: Needed system RPMs were not installed: kernel-headers
For more information about this error and guidance on how to resolve the error, go to RPM Installation Failures - cPanel Knowledge Base - cPanel Documentation.
This notice is the result of a request from "cPanel".
The system generated this notice on 2018-01-11 at 10:00:36 UTC.
"System Update Failures" notifications are currently configured to have an importance of "High". You can change the importance or disable this type of notification in WHM"s Contact Manager at...
I checked the documentation noted in the error here: RPM Installation Failures - cPanel Knowledge Base - cPanel Documentation which doesn't mention this type of error.
This is a new cpanel server build
Thoughts?
-
a little more info... [root@host ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) [root@host ~]# rpm -qa | grep -i kernel kernel-triggers-1.0-1.el7.noarch >kernel-3.10.0-693.11.1.el7.x86_64 kernelcare-2.14-2.x86_64 kernel-devel-3.10.0-693.11.1.el7.x86_64 lw-kernelcare-installer-0.0.4-3.noarch lp-kernelupdate-1.1-2.noarch 3.10.0-693.11.1.el7.x86_64 [root@host ~]# yum install kernel-headers Loaded plugins: fastestmirror, priorities, protectbase, universal-hooks EA4 | 3.0 kB 00:00:00 cpanel-addons-production-feed | 2.9 kB 00:00:00 MariaDB101 | 2.9 kB 00:00:00 kernelcare | 2.6 kB 00:00:00 stable-arch | 951 B 00:00:00 stable-generic | 951 B 00:00:00 stable-noarch | 951 B 00:00:00 Loading mirror speeds from cached hostfile * EA4: 208.100.0.204 * cpanel-addons-production-feed: 208.100.0.204 2 packages excluded due to repository priority protections 0 packages excluded due to repository protections No package kernel-headers available. Error: Nothing to do [root@host ~]# ls -l /boot/ total 78680 -rw-r--r-- 1 root root 140899 Dec 4 19:04 config-3.10.0-693.11.1.el7.x86_640 -
What is the output of yum repolist
?0 -
Hi, Here ya go... [root@host ~]# yum repolist Loaded plugins: fastestmirror, priorities, protectbase, universal-hooks Loading mirror speeds from cached hostfile * EA4: 208.100.0.204 * cpanel-addons-production-feed: 208.100.0.204 2 packages excluded due to repository priority protections 0 packages excluded due to repository protections repo id repo name status EA4/7/x86_64 EA4 ( EasyApache 4 ) 72,784+5,093 cpanel-addons-production-feed/7/x86_64 cPanel Addons Production Feed 33+2 MariaDB101 MariaDB101 16 kernelcare/7/x86_64 kernelcare 16 stable-arch/x86_64 Stable Arch Specific Packages 110 stable-generic Stable Generic Packages 249 stable-noarch Stable Distro Specific Non-Architecture Specific Packa 163 repolist: 73,371 [root@host ~]#0 -
It appears you are using custom base repo's, perhaps rolling/continued-release. I also noticed the 'packages excluded due to repository priority protections' warning and the kernelcare repository; which may also be an issue, but I believe the custom repo's are the main issue. You could verify if those custom repo's have the kernel-headers package as below: # yum -v --disablerepo=* --enablerepo=stable* search kernel-headers
You may also turn off the feature of upcp(cPanel update) updating system packages at WHM > Server Configuration > Update Preferences: "Operating System Packages" -> "Manual Updates Only". I'd recommend reaching out to your host or system administrator who configured these custom repo's from the default CentOS repo's.0 -
duly noted and will do! TY :D 0 -
In running that command #yum -v --disablerepo=* --enablerepo=stable* search kernel-headers, I see the following: [root@host ~]# yum -v --disablerepo=* --enablerepo=stable* search kernel-headers Loading "fastestmirror" plugin Loading "priorities" plugin Loading "protectbase" plugin Loading "universal-hooks" plugin Config time: 0.007 Yum version: 3.4.3 Setting up Package Sacks Loading mirror speeds from cached hostfile 0 packages excluded due to repository protections pkgsack time: 0.006 rpmdb time: 0.000 tags time: 0.000 rpmdb time: 0.000 tags time: 0.000 No matches found0 -
It looks like your custom repo simply doesn't have the kernel-headers package. I'd contact your host or system administrator about this repo and ask about using the default CentOS repos. Thanks, 0 -
kicking a new server now to see what the standard repo's are and will compare... 0
Please sign in to leave a comment.
Comments
9 comments