View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001518 | channel: kernel/el9 | kernel-ml | public | 2025-03-11 20:38 | 2025-03-12 13:23 |
Reporter | norotops | Assigned To | toracat | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Summary | 0001518: kernel-ml-headers does not provide kernel-headers | ||||
Description | After booting to ML kernel, when attempting to install gcc/glibc-devel DNF wants of older kernel headers. [root@localhost]# dnf --disablerepo=\* install *.rpm Error: Problem 1: conflicting requests - nothing provides kernel-headers >= 3.2 needed by glibc-devel-2.34-125.el9_5.1.x86_64 from @commandline Problem 2: package libxcrypt-devel-4.4.18-3.el9.x86_64 from @commandline requires glibc-devel(x86-64) >= 2.27, but none of the providers can be installed - conflicting requests - nothing provides kernel-headers >= 3.2 needed by glibc-devel-2.34-125.el9_5.1.x86_64 from @commandline Problem 3: package gcc-11.5.0-2.el9.x86_64 from @commandline requires glibc-devel >= 2.2.90-12, but none of the providers can be installed - conflicting requests - nothing provides kernel-headers >= 3.2 needed by glibc-devel-2.34-125.el9_5.1.x86_64 from @commandline Problem 4: package kernel-ml-devel-6.13.6-1.el9.elrepo.x86_64 from @commandline requires gcc, but none of the providers can be installed - package gcc-11.5.0-2.el9.x86_64 from @commandline requires glibc-devel >= 2.2.90-12, but none of the providers can be installed - conflicting requests - nothing provides kernel-headers >= 3.2 needed by glibc-devel-2.34-125.el9_5.1.x86_64 from @commandline (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) Providing headers for older kernel version shows many conflicts and won't install. This appears to be similar/same as https://elrepo.org/bugs/view.php?id=991 | ||||
Steps To Reproduce | Attempt to install ELRepo ML kernel (6.13.6-1) headers, with glibc-devel from RHEL/Rocky 9.5 base install. | ||||
Additional Information | [root@localhost]# dnf repoquery kernel-ml-headers-6.13.6-1.el9.elrepo.x86_64.rpm --provides Last metadata expiration check: 0:17:25 ago on Tue 11 Mar 2025 05:13:56 PM MST. glibc-kernheaders = 3.0-46 kernel-ml-headers = 6.13.6-1.el9.elrepo kernel-ml-headers(x86-64) = 6.13.6-1.el9.elrepo [root@localhost]# uname -r 6.13.6-1.el9.elrepo.x86_64 RPM list: bison-3.7.4-5.el9.x86_64.rpm elfutils-libelf-devel-0.191-4.el9.x86_64.rpm flex-2.6.4-9.el9.x86_64.rpm gcc-11.5.0-2.el9.x86_64.rpm glibc-devel-2.34-125.el9_5.1.x86_64.rpm glibc-headers-2.34-125.el9_5.1.x86_64.rpm kernel-ml-devel-6.13.6-1.el9.elrepo.x86_64.rpm kernel-ml-headers-6.13.6-1.el9.elrepo.x86_64.rpm libxcrypt-devel-4.4.18-3.el9.x86_64.rpm libzstd-devel-1.5.1-2.el9.x86_64.rpm m4-1.4.19-1.el9.x86_64.rpm make-4.3-8.el9.x86_64.rpm openssl-devel-3.2.2-6.el9_5.x86_64.rpm zlib-devel-1.2.11-40.el9.x86_64.rpm | ||||
Tags | No tags attached. | ||||
|
Actually you'd want to install kernel-keaders rather than kernel-ml-headers. Quoting the "Tip" section of https://elrepo.org/wiki/doku.php?id=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. When you see a message like “your kernel headers for kernel xxx cannot be found …”, you most likely need the kernel-ml-devel package, not the kernel-ml-headers package. |
|
My apologies toracat I looked at the FAQs, but missed that page on kernels and the tip. Thank you for the reponse. |
|
No problem. Now closing the ticket. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-03-11 20:38 | norotops | New Issue | |
2025-03-11 20:38 | norotops | Status | new => assigned |
2025-03-11 20:38 | norotops | Assigned To | => toracat |
2025-03-12 02:48 | toracat | Note Added: 0010344 | |
2025-03-12 13:03 | norotops | Note Added: 0010347 | |
2025-03-12 13:23 | toracat | Status | assigned => closed |
2025-03-12 13:23 | toracat | Resolution | open => no change required |
2025-03-12 13:23 | toracat | Note Added: 0010348 |