Article ID: 121899, created on Jun 4, 2014, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo 6.0
  • Virtuozzo containers for Linux 4.7
  • Virtuozzo containers for Linux 4.6
  • Virtuozzo hypervisor

Symptoms

You may face dependency issues when some package would require kernel-headers. E.g.:

~# yum update -y
Actual result that you got : --> Finished Dependency Resolution
Error: Package: glibc-headers-2.12-1.132.el6.x86_64 (base)
           Requires: kernel-headers >= 2.2.1
Error: Package: glibc-headers-2.12-1.132.el6.x86_64 (base)
           Requires: kernel-headers
 You could try using --skip-broken to work around the problem
~#

Cause

Due to previous conflicts with the standard package kernel-headers, Parallels provides the package vzkernel-devel for the purpose of building kernel modules.

However, some system packages require the package kernel-headers with the version which matches the installed/running kernel.

Resolution

For PCS 6.0 and PSBM 5.0, install kernel-headers - the package from the repository of CloudLinux can be used with PCS and PSBM.

For PVC 4.7, install the package compiled for OpenVZ using the following command:

~# rpm -ihv http://download.openvz.org/kernel/branches/rhel6-$(uname -r| sed 's/-/\//')/vzkernel-headers-$(uname -r).$(uname -m).rpm

The same packages can be installed inside of the containers, if necessary.

See also

6732 How to obtain kernel headers for PVC node in order to compile a third-party driver

Search Words

vzkernel-headers

kernel-headers

yum update

Requires: kernel-headers

Error: Package: glibc-headers-2.12-1.149.el6_6.5.x86_64 (updates)

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f 0dd5b9380c7d4884d77587f3eb0fa8ef 0c05f0c76fec3dd785e9feafce1099a9 c62e8726973f80975db0531f1ed5c6a2 36627b12981f68a16405a79233409a5e

Email subscription for changes to this article
Save as PDF