View Issue Details

IDProjectCategoryView StatusLast Update
0000991channel: kernel/el8kernel-mlpublic2020-02-19 16:49
Reporterwheezer Assigned Toburakkucat  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000991: kernel-ml-headers should provide "kernel-headers"
DescriptionWith kernel-ml on CentOS8 updating the glibc fails because of its "kernel-headers" dependency. As kernel-ml-headers and kernel-headers have common files installing both packages will fail.

Suggestion: add 'kernel-headers = ...' to kernel-ml-headers' provides.

$ rpm -q centos-release
centos-release-8.1-1.1911.0.8.el8.x86_64

$ dnf list updates
Available Upgrades
glibc.x86_64 2.28-72.el8_1.1 BaseOS
glibc-common.x86_64 2.28-72.el8_1.1 BaseOS
glibc-devel.x86_64 2.28-72.el8_1.1 BaseOS
glibc-headers.x86_64 2.28-72.el8_1.1 BaseOS
glibc-langpack-en.x86_64 2.28-72.el8_1.1 BaseOS
kernel-devel.x86_64 4.18.0-147.5.1.el8_1 BaseOS
kernel-ml.x86_64 5.5.4-1.el8.elrepo elrepo-kernel
kernel-ml-core.x86_64 5.5.4-1.el8.elrepo elrepo-kernel
kernel-ml-devel.x86_64 5.5.4-1.el8.elrepo elrepo-kernel
kernel-ml-headers.x86_64 5.5.4-1.el8.elrepo elrepo-kernel
kernel-ml-modules.x86_64 5.5.4-1.el8.elrepo elrepo-kernel
nscd.x86_64 2.28-72.el8_1.1 BaseOS

$ rpm -qa kernel\* | sort
kernel-devel-4.18.0-147.3.1.el8_1.x86_64
kernel-ml-5.5.2-1.el8.elrepo.x86_64
kernel-ml-core-5.5.2-1.el8.elrepo.x86_64
kernel-ml-devel-5.5.2-1.el8.elrepo.x86_64
kernel-ml-headers-5.5.2-1.el8.elrepo.x86_64
kernel-ml-modules-5.5.2-1.el8.elrepo.x86_64

# n.b. kernel-devel is needed b/c kernel-ml-devel doesn't provide 'kernel-devel' which is required by zfs-dkms
# while we're at it: how about adding 'kernel-devel' to kernel-ml-devel's provides?

$ dnf repoquery glibc-headers --requires
/bin/sh
glibc = 2.28-72.el8
glibc = 2.28-72.el8_1.1
kernel-headers
kernel-headers >= 2.2.1

$ dnf repoquery kernel-ml-headers --provides
glibc-kernheaders = 3.0-46
kernel-ml-headers = 5.5.3-1.el8.elrepo
kernel-ml-headers = 5.5.4-1.el8.elrepo
kernel-ml-headers(x86-64) = 5.5.3-1.el8.elrepo
kernel-ml-headers(x86-64) = 5.5.4-1.el8.elrepo

$ dnf upgrade
Dependencies resolved.
===================================================================================================
 Package Architecture Version Repository Size
===================================================================================================
Installing:
 kernel-devel x86_64 4.18.0-147.5.1.el8_1 BaseOS 13 M
 kernel-ml-modules x86_64 5.5.4-1.el8.elrepo elrepo-kernel 22 M
 kernel-ml x86_64 5.5.4-1.el8.elrepo elrepo-kernel 20 k
 kernel-ml-core x86_64 5.5.4-1.el8.elrepo elrepo-kernel 28 M
 kernel-ml-devel x86_64 5.5.4-1.el8.elrepo elrepo-kernel 13 M
Upgrading:
 glibc x86_64 2.28-72.el8_1.1 BaseOS 3.7 M
 glibc-common x86_64 2.28-72.el8_1.1 BaseOS 836 k
 glibc-devel x86_64 2.28-72.el8_1.1 BaseOS 1.0 M
 glibc-headers x86_64 2.28-72.el8_1.1 BaseOS 469 k
 glibc-langpack-en x86_64 2.28-72.el8_1.1 BaseOS 818 k
 nscd x86_64 2.28-72.el8_1.1 BaseOS 123 k
 kernel-ml-headers x86_64 5.5.4-1.el8.elrepo elrepo-kernel 1.3 M
Installing dependencies:
 kernel-headers x86_64 4.18.0-147.5.1.el8_1 BaseOS 2.7 M

Transaction Summary
===================================================================================================
Install 6 Packages
Upgrade 7 Packages

Total download size: 87 M
# ...
Error: Transaction check error:
  file /usr/include/asm-generic/hugetlb_encode.h conflicts between attempted installs of kernel-ml-headers-5.5.4-1.el8.elrepo.x86_64 and kernel-headers-4.18.0-147.5.1.el8_1.x86_64
# and lots of other files


Workaround for now is to remove kernel-ml-headers.
TagsNo tags attached.

Activities

burakkucat

2020-02-18 18:14

administrator   ~0006823

Acknowledged.

There is a testing kernel-ml package set available for you to download --

https://elrepo.org/people/ajb/tmp/kernel-ml-5.6.0-0.rc2.el8.elrepo.bcat1.tar.gz

It has been built using the linux-5.6-rc2 sources and has been given the subsidiary tag "bcat1".

Contents --

bpftool-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm
kernel-ml-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm
kernel-ml-core-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm
kernel-ml-devel-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm
kernel-ml-doc-5.6.0-0.rc2.el8.elrepo.bcat1.noarch.rpm
kernel-ml-headers-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm
kernel-ml-modules-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm
kernel-ml-modules-extra-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm
kernel-ml-tools-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm
kernel-ml-tools-libs-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm
kernel-ml-tools-libs-devel-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm
perf-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm
python3-perf-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm

When convenient, please examine and report back with your analysis/findings/observations.

wheezer

2020-02-19 02:04

reporter   ~0006824

Hi burakkucat,

thanks! Looking great so far:

$ dnf upgrade ./kernel-ml-*
# ...
Installed:
  kernel-ml-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64 kernel-ml-core-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64
  kernel-ml-devel-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64 kernel-ml-modules-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64

Removed:
  kernel-ml-5.5.2-1.el8.elrepo.x86_64 kernel-ml-core-5.5.2-1.el8.elrepo.x86_64 kernel-ml-devel-5.5.2-1.el8.elrepo.x86_64
  kernel-ml-modules-5.5.2-1.el8.elrepo.x86_64

Complete!

$ dnf install ./kernel-ml-headers-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64.rpm
# ...
Running transaction
  Preparing : 1/1
  Installing : kernel-ml-headers-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64 1/2
  Obsoleting : kernel-headers-4.18.0-147.5.1.el8_1.x86_64 2/2
  Verifying : kernel-ml-headers-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64 1/2
  Verifying : kernel-headers-4.18.0-147.5.1.el8_1.x86_64 2/2

Installed:
  kernel-ml-headers-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64

Complete!
$ rpm -qa 'kernel*' | sort
kernel-devel-4.18.0-147.5.1.el8_1.x86_64
kernel-ml-5.5.4-1.el8.elrepo.x86_64
kernel-ml-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64
kernel-ml-core-5.5.4-1.el8.elrepo.x86_64
kernel-ml-core-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64
kernel-ml-devel-5.5.4-1.el8.elrepo.x86_64
kernel-ml-devel-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64
kernel-ml-headers-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64
kernel-ml-modules-5.5.4-1.el8.elrepo.x86_64
kernel-ml-modules-5.6.0-0.rc2.el8.elrepo.bcat1.x86_64



Even though it's not subject of this ticket, unfortunately, kernel-devel = 5.6.0-0.rc2.el8.elrepo.bcat1 is missing here, so I cannot get rid of kernel-devel-4.18...

$ rpm -q kernel-ml-devel-5.6.0-0.rc2.el8.elrepo.bcat1 --provides | grep kernel-devel
kernel-devel-uname-r = 5.6.0-0.rc2.el8.elrepo.bcat1.x86_64
kernel-devel-x86_64 = 5.6.0-0.rc2.el8.elrepo.bcat1

$ rpm -q kernel-devel-4.18.0-147.3.1.el8_1 --provides | grep kernel-devel\
kernel-devel = 4.18.0-147.3.1.el8_1

$ dnf repoquery --whatrequires kernel-devel
bcc-tools-0:0.8.0-4.el8.x86_64
ksc-0:1.5-1.el8.noarch
zfs-dkms-0:0.8.2-1.el8.noarch

burakkucat

2020-02-19 09:32

administrator   ~0006825

Acknowledged.

There is now another testing kernel-ml package set available for you to download --

https://elrepo.org/people/ajb/tmp/kernel-ml-5.6.0-0.rc2.el8.elrepo.bcat2.tar.gz

It is accompanied with a text file which shows all the provides, requires, conflicts and obsoletes of the constituent packages making up that set --

https://elrepo.org/people/ajb/tmp/provides-requires-conflicts-obsoletes.txt

When convenient, please test, etc, as before.

----

The release of the linux-5.5.5 source tarball is imminent and so it would be nice if this ticket could be resolved as soon as possible, thus allowing the modifications to be incorporated for the kernel-ml-5.5.5-1.el8.elrepo package set build.

wheezer

2020-02-19 10:22

reporter   ~0006826

The bcat2 release works like a charm. I finally got rid of the 4.18-packages:

Running transaction
  Preparing : 1/1
  Erasing : kernel-devel-4.18.0-147.5.1.el8_1.x86_64 1/1
  Verifying : kernel-devel-4.18.0-147.5.1.el8_1.x86_64 1/1

Removed:
  kernel-devel-4.18.0-147.5.1.el8_1.x86_64


Thanks a lot!

burakkucat

2020-02-19 16:49

administrator   ~0006827

With the recent release of the kernel-ml-5.5.5-1.el8.elrepo package set [1] this request has been resolved.

Now closing as "resolved/fixed".

[1] http://lists.elrepo.org/pipermail/elrepo/2020-February/005087.html

Issue History

Date Modified Username Field Change
2020-02-18 07:09 wheezer New Issue
2020-02-18 07:09 wheezer Status new => assigned
2020-02-18 07:09 wheezer Assigned To => burakkucat
2020-02-18 18:14 burakkucat Note Added: 0006823
2020-02-19 02:04 wheezer Note Added: 0006824
2020-02-19 09:32 burakkucat Note Added: 0006825
2020-02-19 10:13 burakkucat Status assigned => feedback
2020-02-19 10:22 wheezer Note Added: 0006826
2020-02-19 11:33 burakkucat Status feedback => assigned
2020-02-19 16:49 burakkucat Note Added: 0006827
2020-02-19 16:49 burakkucat Status assigned => resolved
2020-02-19 16:49 burakkucat Resolution open => fixed