Bug 1342300 - Requires: kmod(foo.ko) pulls in kernel-debug-modules-extra instead of kernel-modules-extra
Summary: Requires: kmod(foo.ko) pulls in kernel-debug-modules-extra instead of kernel-...
Keywords:
Status: CLOSED DUPLICATE of bug 1284228
Alias: None
Product: Fedora
Classification: Fedora
Component: libsolv
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-02 23:05 UTC by Yaakov Selkowitz
Modified: 2016-06-06 11:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-06 11:27:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Yaakov Selkowitz 2016-06-02 23:05:56 UTC
Description of problem:
xl2tpd explictly Requires: kmod(l2tp_ppp.ko), which is provided by both kernel-modules-extra and kernel-debug-modules-extra.  If kernel-{core,modules} are present and kernel-debug-* not, then the expectation is that kernel-modules-extra would be pulled in instead of all of kernel-debug-{core,modules,modules-extra}.

In short, the virtual provider with the shortest remaining dependency tree should be given priority.

How reproducible:
100%

Steps to Reproduce:
On an system without kernel-debug-* nor kernel-modules-extra installed:
dnf install xl2tpd

Actual results:
kernel-debug-* packages are selected to be installed

Expected results:
kernel-modules-extra should be selected instead, as kernel-core and kernel-modules are already installed and kernel-debug-* are not.

Additional info:
Obviously, a workaround is to install kernel-modules-extra manually prior to or together with xl2tpd (or e.g. NetworkManager-l2tp which Requires: it).

If this can't be fixed in libsolv, can this be worked around with a weak dep in the kernel, or do we need a change to the Packaging guidelines to e.g. Suggests: kernel-modules-extra when Requires: kmod()?

Comment 1 Honza Silhan 2016-06-06 11:27:08 UTC

*** This bug has been marked as a duplicate of bug 1284228 ***


Note You need to log in before you can comment on or make changes to this bug.