Error: kernel-ml-headers conflicts with kernel-headers-3.10.0-1160.36.2.el7.x86_64

General support questions
Post Reply
alexei28
Posts: 10
Joined: 2021/07/29 06:36:24

Error: kernel-ml-headers conflicts with kernel-headers-3.10.0-1160.36.2.el7.x86_64

Post by alexei28 » 2021/07/30 14:34:49

Post by alexei28 » 2021/07/30 17:32:04

CentOS 7, kernel 5.13.6-1.el7.elrepo.x86_64


I try to run this command:

Code: Select all

sudo yum -y --enablerepo=elrepo-kernel install kernel-ml-{devel,headers}
but I get error:

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.mivocloud.com
* elrepo: mirrors.mivocloud.com
* elrepo-kernel: mirrors.mivocloud.com
* epel: mirrors.mivocloud.com
* extras: mirrors.mivocloud.com
* updates: mirror.as43289.net
Resolving Dependencies
--> Running transaction check
---> Package kernel-ml-devel.x86_64 0:5.13.6-1.el7.elrepo will be installed
---> Package kernel-ml-headers.x86_64 0:5.13.6-1.el7.elrepo will be installed
--> Processing Conflict: kernel-ml-headers-5.13.6-1.el7.elrepo.x86_64 conflicts kernel-headers < 5.13.6-1.el7.elrepo
--> Finished Dependency Resolution
Error: kernel-ml-headers conflicts with kernel-headers-3.10.0-1160.36.2.el7.x86_64
You could try using --skip-broken to work around the problem


User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Error: kernel-ml-headers conflicts with kernel-headers-3.10.0-1160.36.2.el7.x86_64

Post by toracat » 2021/07/30 18:17:18

Please have a look at:

https://elrepo.org/tiki/kernel-ml
There is no need to install the kernel-ml-headers package. It is only necessary if you intend to rebuild glibc and, thus, the entire operating system. If there is a need to have the kernel headers installed, you should use the current distributed kernel-headers package as that is related to the current version of glibc.
CentOS Forum FAQ

Post Reply