Bug 1421106 - Switch from Requires kernel-devel to kernel-devel-uname-r
Summary: Switch from Requires kernel-devel to kernel-devel-uname-r
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dkms
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Simone Caronni
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-10 11:07 UTC by Nicolas Chauvet (kwizart)
Modified: 2017-04-22 05:18 UTC (History)
3 users (show)

Fixed In Version: dkms-2.3-4.20170313git974d838.fc24 dkms-2.3-4.20170313git974d838.fc26 dkms-2.3-4.20170313git974d838.fc25 dkms-2.3-4.20170313git974d838.el6 dkms-2.3-4.20170313git974d838.el7
Clone Of:
Environment:
Last Closed: 2017-04-07 16:49:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nicolas Chauvet (kwizart) 2017-02-10 11:07:07 UTC
Description of problem:
When installing the dkms package, there is a kernel-devel dependency.
But since any kernel-devel varriant (PAE/lpae/etc) has the kernel-devel virtual provide, it's not possible to prefer kernel-devel over kernel-debug-devel.

I sugguest to drop the kernel-devel virtual provide in the kernel package and to use the right virtual as kernel-devel-uname-r

Version-Release number of selected component (if applicable):
current dkms version in devel

How reproducible:
dnf install dkms


Actual results:
kernel-devel-debug is installed

Expected results:
It should install the kernel-devel matching the kernel (or at least the statistically best candidate).

Additional info:
see also rhbz#1420754

Comment 1 Simone Caronni 2017-02-11 10:50:14 UTC
I've added kernel-devel-uname-r instead of kernel-devel and the weak dependency as you suggested at:

https://bugzilla.redhat.com/show_bug.cgi?id=1420754#c0
https://bugzilla.redhat.com/show_bug.cgi?id=1421105#c2

But it still pulls in kernel-debug-devel by default, as you said. Will release it with the next snapshot drop, is that ok?

Comment 2 Fedora End Of Life 2017-02-28 11:14:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 3 Simone Caronni 2017-04-06 08:14:32 UTC
So the weak dependency is not working. On an i386 system with kernel-PAE-devel the weak dependency pulls in also the the "base" kernel-devel:

https://bugzilla.redhat.com/show_bug.cgi?id=1436840

I've left the kernel-uname-devel-r requirement and removed the weak dependency.

Comment 4 Fedora Update System 2017-04-06 08:19:07 UTC
dkms-2.3-4.20170313git974d838.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-1f4b32cc3e

Comment 5 Fedora Update System 2017-04-06 08:19:20 UTC
dkms-2.3-4.20170313git974d838.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5399df1abd

Comment 6 Fedora Update System 2017-04-06 08:19:29 UTC
dkms-2.3-4.20170313git974d838.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-3e0c43e558

Comment 7 Fedora Update System 2017-04-06 08:19:39 UTC
dkms-2.3-4.20170313git974d838.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-479d0d652a

Comment 8 Fedora Update System 2017-04-06 08:19:49 UTC
dkms-2.3-4.20170313git974d838.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-70ba4182c0

Comment 9 Fedora Update System 2017-04-06 19:19:22 UTC
dkms-2.3-4.20170313git974d838.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-3e0c43e558

Comment 10 Fedora Update System 2017-04-06 19:20:58 UTC
dkms-2.3-4.20170313git974d838.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-70ba4182c0

Comment 11 Fedora Update System 2017-04-06 19:53:51 UTC
dkms-2.3-4.20170313git974d838.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-1f4b32cc3e

Comment 12 Fedora Update System 2017-04-06 20:24:31 UTC
dkms-2.3-4.20170313git974d838.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-479d0d652a

Comment 13 Fedora Update System 2017-04-06 22:23:16 UTC
dkms-2.3-4.20170313git974d838.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5399df1abd

Comment 14 Fedora Update System 2017-04-07 16:49:00 UTC
dkms-2.3-4.20170313git974d838.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2017-04-09 16:43:47 UTC
dkms-2.3-4.20170313git974d838.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2017-04-09 21:51:31 UTC
dkms-2.3-4.20170313git974d838.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2017-04-22 05:17:57 UTC
dkms-2.3-4.20170313git974d838.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2017-04-22 05:18:38 UTC
dkms-2.3-4.20170313git974d838.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


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