View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001479 | channel: kernel/el9 | kernel-ml | public | 2024-09-04 13:59 | 2024-09-16 12:37 |
Reporter | toracat | Assigned To | toracat | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Summary | 0001479: Conflicts between kernel-ml-tools and kernel-lt-tools | ||||
Description | In Alma's chat, SIG/AltArch 2024-09-04 Andrew Lukoshko (Alma dev) "lt and ml elrepo.org packages conflict to each other I think you should add some Conflicts: to spec file to avoid such errors and fail earlier" Example run: $ sudo dnf install --enablerepo=elrepo-kernel kernel-lt-tools ELRepo.org Community Enterprise Linux Kernel Repository - el9 3.8 kB/s | 3.0 kB 00:00 ELRepo.org Community Enterprise Linux Kernel Repository - el9 779 kB/s | 2.1 MB 00:02 Dependencies resolved. ================================================================================================ Package Architecture Version Repository Size ================================================================================================ Installing: kernel-lt-tools x86_64 6.1.107-1.el9.elrepo elrepo-kernel 274 k Installing dependencies: kernel-lt-tools-libs x86_64 6.1.107-1.el9.elrepo elrepo-kernel 50 k Transaction Summary ================================================================================================ Install 2 Packages Total download size: 324 k Installed size: 833 k Is this ok [y/N]: y Downloading Packages: (1/2): kernel-lt-tools-libs-6.1.107-1.el9.elrepo.x86_64.rpm 54 kB/s | 50 kB 00:00 (2/2): kernel-lt-tools-6.1.107-1.el9.elrepo.x86_64.rpm 199 kB/s | 274 kB 00:01 ------------------------------------------------------------------------------------------------ Total 188 kB/s | 324 kB 00:01 Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction test error: file /usr/lib64/libcpupower.so.0.0.1 from install of kernel-lt-tools-libs-6.1.107-1.el9.elrepo.x86_64 conflicts with file from package kernel-ml-tools-libs-6.9.3-1.el9.elrepo.x86_64 file /usr/bin/cpupower from install of kernel-lt-tools-6.1.107-1.el9.elrepo.x86_64 conflicts with file from package kernel-ml-tools-6.9.3-1.el9.elrepo.x86_64 ...... | ||||
Tags | No tags attached. | ||||
|
kernel-ml spec file (diff) @@ -341,6 +341,12 @@ Obsoletes: cpufrequtils < 1:009-0.6.p1 Provides: cpufrequtils = 1:009-0.6.p1 Obsoletes: cpuspeed < 1:1.5-16 Requires: %{name}-tools-libs = %{version}-%{release} +%if "%{name}" == "kernel-ml" +Conflicts: kernel-lt-tools +%else +# it's kernel-lt +Conflicts: kernel-ml-tools +%endif %define __requires_exclude ^%{_bindir}/python %description -n %{name}-tools This package contains the tools/ directory from the Linux kernel @@ -351,6 +357,12 @@ Summary: Libraries for the %{name}-tools License: GPLv2 Obsoletes: kernel-tools-libs < %{version} Provides: kernel-tools-libs = %{version}-%{release} +%if "%{name}" == "kernel-ml" +Conflicts: kernel-lt-tools-libs +%else +# it's kernel-lt +Conflicts: kernel-ml-tools-libs +%endif %description -n %{name}-tools-libs This package contains the libraries built from the tools/ directory of the Linux kernel source. @@ -365,6 +377,12 @@ Provides: cpupowerutils-devel = 1:009-0 Provides: %{name}-tools-devel Requires: %{name}-tools-libs = %{version}-%{release} Requires: %{name}-tools = %{version}-%{release} +%if "%{name}" == "kernel-ml" +Conflicts: kernel-lt-tools-libs-devel +%else +# it's kernel-lt +Conflicts: kernel-ml-tools-libs-devel +%endif %description -n %{name}-tools-libs-devel This package contains the development files for the tools/ directory of the Linux kernel source. |
|
The required changes are now in the current releases of kernel-ml/-lt. el9: kernel-ml-6.10.9-1.el9.elrepo kernel-lt-6.1.109-1.el9.elrepo el8: kernel-ml-6.10.9-1.el8.elrepo |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-09-04 13:59 | toracat | New Issue | |
2024-09-04 13:59 | toracat | Status | new => assigned |
2024-09-04 13:59 | toracat | Assigned To | => toracat |
2024-09-06 22:18 | toracat | Note Added: 0010094 | |
2024-09-06 22:20 | toracat | Note Edited: 0010094 | |
2024-09-07 14:25 | toracat | Note View State: 0010094: public | |
2024-09-07 14:27 | toracat | View Status | private => public |
2024-09-07 14:27 | toracat | Description Updated | |
2024-09-07 14:30 | toracat | Description Updated | |
2024-09-09 14:18 | toracat | Note Added: 0010097 | |
2024-09-09 14:30 | toracat | Note Edited: 0010097 | |
2024-09-16 12:37 | toracat | Status | assigned => resolved |
2024-09-16 12:37 | toracat | Resolution | open => fixed |