Bug 1284228
| Summary: | dnf selects kernel-debug-modules-extra instead of kernel-modules-extra when xl2tpd is installed. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gene Snider <genes1122> |
| Component: | dnf | Assignee: | rpm-software-management |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | 25 | CC: | bugzilla.redhat.com, jsilhan, mluscon, packaging-team-maint, pnemade, vmukhame, yselkowi |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-07 08:31:27 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Gene Snider
2015-11-22 05:42:32 UTC
This could be probably fixed by adding `Suggests: kernel-modules-extra` into `kernel-core` package. We need to investigate it more and then reassign. The package "kernel-modules" needs the same fix. Installing mathjax causes dnf to select "kernel-debug-modules" instead of "kernel-modules". How about making dnf prefer non-debug packages over debug packages? *** Bug 1025301 has been marked as a duplicate of this bug. *** Another case in Fedora 24. Installing sytemtap-devel, which is installed as part of the group "Development Tools" pulls in kernel-debug-devel. Installing kernel-devel prior to installing systemtap-devel avoids the debug package. The spec file for systemtap contains these lines: Begin Quote %package devel Summary: Programmable system-wide instrumentation system - development headers, tools Group: Development/System License: GPLv2+ URL: http://sourceware.org/systemtap/ # Alternate kernel packages kernel-PAE-devel et al. have a virtual # provide for kernel-devel, so this requirement does the right thing, # at least past RHEL4. Requires: kernel-devel Requires: gcc make # Suggest: kernel-debuginfo End Quote Why does dnf grab kernel-debug-devel when the spec file clearly calls for kernel-devel? Gene *** Bug 1342300 has been marked as a duplicate of this bug. *** Is it possible that the relative deptrees could be considered as a factor when choosing one of several possible providers of a dependency? IOW: 1) dnf sees Requires: kmod(l2tp_ppp.ko) 2) dnf finds both kernel-modules-extra and kernel-debug-modules-extra would satisfy that requirement 3) dnf compares the missing dependencies of kernel-modules-extra (none, because kernel and kernel-modules are already installed) and kernel-debug-modules-extra (which would require pulling in all the other kernel-debug-* packages which aren't installed yet) 4) dnf selects kernel-modules-extra by default This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'. We could use distribution preference [1] for kernel non-debug packages [1] https://fedoraproject.org/wiki/PackagingDrafts/ProvidesPreferences#Distribution_preference We should use SOLVER_FAVOR features. *** This bug has been marked as a duplicate of bug 1192189 *** |