View Issue Details

IDProjectCategoryView StatusLast Update
0000722channel: elrepo/el7--elrepo--request-for-enhancement--public2017-03-25 10:52
ReporterJohann Fock Assigned Totoracat  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Summary0000722: Installing Kernel headers for Kernel 4.4.39-1
DescriptionI am using CentOS 7.3 with Kernel 4.4.39-1 elrepo
The Kernel works fine
Now i need to install the kernel headers vor this kernel
i get the Kernel header an try to install them

The error
[root@fs-nuc-esxi1 mnt2]# rpm -Uhv kernel-lt-headers-4.4.39-1.el7.elrepo.x86_64.rpm
Warnung: kernel-lt-headers-4.4.39-1.el7.elrepo.x86_64.rpm: Header V4 DSA/SHA1 Signature, Schlüssel-ID baadae52: NOKEY
Fehler: Fehlgeschlagende Abhängigkeiten:
    kernel-headers < 4.4.39-1.el7.elrepo kollidiert mit kernel-lt-headers-4.4.39-1.el7.elrepo.x86_64
i need the headers vor installing veeem agent for Linux
Additional Informationuname -a
Linux fs-nuc-esxi1 4.4.39-1.el7.elrepo.x86_64 #1 SMP Thu Dec 15 17:24:33 EST 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@fs-nuc-esxi1 mnt2]# more /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)



TagsNo tags attached.
Reported upstream

Activities

burakkucat

2017-03-25 10:24

administrator   ~0005108

Please note that this is a bug-tracker and not a support venue. You would have received an answer within 24 hours if you had asked the question on the ELRepo Project Users' mailing list. [1]

As for your problem, it is a result of both the kernel-headers and the kernel-lt-headers packages containing files of the same name, hence there would be a file name-space clash if the attempted installation of the kernel-lt-headers package did not conflict with the kernel-hearers package and was allowed to occur. It is not a bug, it is a good-practice packaging feature.

If you really do require the kernel-lt-headers package to be installed (and in all cases I have examined it is not necessary, such installation attempts are down to poor instructions with some third party code) you will have to remove the kernel-headers package before attempting the installation of the kernel-lt-headers package.

I have just performed such an installation on a temporary VM, as an example. Please look at the following --

[Chroot64R7 ~]# rpm -qa \*release\*
elrepo-release-7.0-2.el7.elrepo.noarch
redhat-release-server-7.3-7.el7.x86_64
[Chroot64R7 ~]# uname -r
3.10.0-514.10.2.el7.x86_64
[Chroot64R7 ~]# rpm -qa kernel\* | sort
kernel-3.10.0-514.10.2.el7.x86_64
kernel-devel-3.10.0-514.10.2.el7.x86_64
kernel-headers-3.10.0-514.10.2.el7.x86_64
[Chroot64R7 ~]# ls -1
kernel-lt-4.4.56-1.el7.elrepo.x86_64.rpm
kernel-lt-devel-4.4.56-1.el7.elrepo.x86_64.rpm
kernel-lt-headers-4.4.56-1.el7.elrepo.x86_64.rpm
[Chroot64R7 ~]# rpm -iv kernel-lt*rpm
error: Failed dependencies:
    kernel-headers < 4.4.56-1.el7.elrepo conflicts with kernel-lt-headers-4.4.56-1.el7.elrepo.x86_64
[Chroot64R7 ~]# rpm -e --nodeps kernel-headers
[Chroot64R7 ~]# rpm -qa kernel\* | sort
kernel-3.10.0-514.10.2.el7.x86_64
kernel-devel-3.10.0-514.10.2.el7.x86_64
[Chroot64R7 ~]# rpm -iv kernel-lt*rpm
Preparing packages...
kernel-lt-headers-4.4.56-1.el7.elrepo.x86_64
kernel-lt-devel-4.4.56-1.el7.elrepo.x86_64
kernel-lt-4.4.56-1.el7.elrepo.x86_64
[Chroot64R7 ~]# rpm -qa kernel\* | sort
kernel-3.10.0-514.10.2.el7.x86_64
kernel-devel-3.10.0-514.10.2.el7.x86_64
kernel-lt-4.4.56-1.el7.elrepo.x86_64
kernel-lt-devel-4.4.56-1.el7.elrepo.x86_64
kernel-lt-headers-4.4.56-1.el7.elrepo.x86_64
[Chroot64R7 ~]#

Hopefully that will clarify matters for you.

[1] http://lists.elrepo.org/mailman/listinfo/elrepo

Issue History

Date Modified Username Field Change
2017-03-16 02:43 Johann Fock New Issue
2017-03-16 02:43 Johann Fock Status new => assigned
2017-03-16 02:43 Johann Fock Assigned To => toracat
2017-03-25 10:24 burakkucat Note Added: 0005108
2017-03-25 10:52 toracat Status assigned => closed
2017-03-25 10:52 toracat Resolution open => no change required