Skip to main content

Sysup: Needed system RPMs were not installed: kernel-headers

Comments

9 comments

  • JedCavins
    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_64
    0
  • JedCavins
    I do see that it is available here...
    0
  • George_Fusioned
    What is the output of yum repolist
    ?
    0
  • JedCavins
    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
  • cPWilliamL
    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
  • JedCavins
    duly noted and will do! TY :D
    0
  • JedCavins
    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 found
    0
  • cPWilliamL
    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
  • JedCavins
    kicking a new server now to see what the standard repo's are and will compare...
    0

Please sign in to leave a comment.