Re: DKMS is not installing the right kernel-devel package

2015-06-15 Thread Josh Boyer
On Mon, Jun 15, 2015 at 4:28 AM, Miloslav Trmač m...@redhat.com wrote: On Fri, Jun 12, 2015 at 7:24 AM, Neal Gompa ngomp...@gmail.com wrote: What about some kind of virtual provides defined in repos/rpm/somewhere that would automatically grab the kernel-devel package associated with the

Re: DKMS is not installing the right kernel-devel package

2015-06-15 Thread Neal Gompa
On Mon, Jun 15, 2015 at 4:28 AM, Miloslav Trmač m...@redhat.com wrote: On Fri, Jun 12, 2015 at 7:24 AM, Neal Gompa ngomp...@gmail.com wrote: What about some kind of virtual provides defined in repos/rpm/somewhere that would automatically grab the kernel-devel package associated with the

Re: DKMS is not installing the right kernel-devel package

2015-06-15 Thread Neal Gompa
On Mon, Jun 15, 2015 at 8:01 AM, Josh Boyer jwbo...@fedoraproject.org wrote: On Mon, Jun 15, 2015 at 4:28 AM, Miloslav Trmač m...@redhat.com wrote: On Fri, Jun 12, 2015 at 7:24 AM, Neal Gompa ngomp...@gmail.com wrote: What about some kind of virtual provides defined in repos/rpm/somewhere

Re: DKMS is not installing the right kernel-devel package

2015-06-15 Thread Josh Boyer
On Mon, Jun 15, 2015 at 8:16 AM, Neal Gompa ngomp...@gmail.com wrote: On Mon, Jun 15, 2015 at 8:01 AM, Josh Boyer jwbo...@fedoraproject.org wrote: On Mon, Jun 15, 2015 at 4:28 AM, Miloslav Trmač m...@redhat.com wrote: On Fri, Jun 12, 2015 at 7:24 AM, Neal Gompa ngomp...@gmail.com wrote: What

Re: DKMS is not installing the right kernel-devel package

2015-06-15 Thread Miloslav Trmač
On Fri, Jun 12, 2015 at 7:24 AM, Neal Gompa ngomp...@gmail.com wrote: What about some kind of virtual provides defined in repos/rpm/somewhere that would automatically grab the kernel-devel package associated with the exact kernel that is running at the time yum/dnf is installing a program

Re: DKMS is not installing the right kernel-devel package

2015-06-12 Thread Josh Boyer
On Fri, Jun 12, 2015 at 7:24 AM, Neal Gompa ngomp...@gmail.com wrote: What about some kind of virtual provides defined in repos/rpm/somewhere that would automatically grab the kernel-devel package associated with the exact kernel that is running at the time yum/dnf is installing a program that

Re: Can soft dependencies help to get the proper kernel-devel packages? (Was: Soft- Re: DKMS is not installing the right kernel-devel package)

2015-06-12 Thread Radek Holy
: Friday, June 12, 2015 2:19:10 PM Subject: Can soft dependencies help to get the proper kernel-devel packages? (Was: Soft- Re: DKMS is not installing the right kernel-devel package) Josh Boyer wrote on 12.06.2015 13:55: On Fri, Jun 12, 2015 at 7:24 AM, Neal Gompa ngomp

Re: Can soft dependencies help to get the proper kernel-devel packages? (Was: Soft- Re: DKMS is not installing the right kernel-devel package)

2015-06-12 Thread Kalev Lember
On 06/12/2015 02:40 PM, Radek Holy wrote: AFAIK, it is discussed these days whether weak dependencies can be used to express package preferences: https://fedoraproject.org/wiki/PackagingDrafts/WeakDependencies IIRC, there were some concerns but I don't remember what was the conclusion. The OR

Re: DKMS is not installing the right kernel-devel package

2015-06-12 Thread Neal Gompa
On Wed, Jun 10, 2015 at 8:44 AM, Dan Book gri...@gmail.com wrote: On Wed, Jun 10, 2015 at 2:12 AM, Thorsten Leemhuis fed...@leemhuis.info wrote: Dan Book wrote on 09.06.2015 22:01: This has also been a problem for several releases with the akmods from rpmfusion. There was always a

Can soft dependencies help to get the proper kernel-devel packages? (Was: Soft- Re: DKMS is not installing the right kernel-devel package)

2015-06-12 Thread Thorsten Leemhuis
Josh Boyer wrote on 12.06.2015 13:55: On Fri, Jun 12, 2015 at 7:24 AM, Neal Gompa ngomp...@gmail.com wrote: [...] As I said, there are no great solutions here. A works most of the time-solution would be: Install kernel-devel by default. But I'm not seriously suggesting that, because I fully

Re: Can soft dependencies help to get the proper kernel-devel packages? (Was: Soft- Re: DKMS is not installing the right kernel-devel package)

2015-06-12 Thread Radek Holy
is not installing the right kernel-devel package) Josh Boyer wrote on 12.06.2015 13:55: On Fri, Jun 12, 2015 at 7:24 AM, Neal Gompa ngomp...@gmail.com wrote: [...] As I said, there are no great solutions here. A works most of the time-solution would be: Install kernel-devel by default

Re: Can soft dependencies help to get the proper kernel-devel packages? (Was: Soft- Re: DKMS is not installing the right kernel-devel package)

2015-06-12 Thread Neal Gompa
dependencies help to get the proper kernel-devel packages? (Was: Soft- Re: DKMS is not installing the right kernel-devel package) Josh Boyer wrote on 12.06.2015 13:55: On Fri, Jun 12, 2015 at 7:24 AM, Neal Gompa ngomp...@gmail.com wrote: [...] As I said, there are no great solutions here

Re: Can soft dependencies help to get the proper kernel-devel packages? (Was: Soft- Re: DKMS is not installing the right kernel-devel package)

2015-06-12 Thread Ralf Corsepius
On 06/12/2015 02:48 PM, Neal Gompa wrote: ​Soft/weak dependencies are allowed, according to FESCo It doesn't matter much what FESCO says of believes in this case. ATM, neither is the technical infrastructure is in place (it is evolving) nor are impact/consequences clear not are the

Re: Can soft dependencies help to get the proper kernel-devel packages? (Was: Soft- Re: DKMS is not installing the right kernel-devel package)

2015-06-12 Thread Neal Gompa
On Fri, Jun 12, 2015 at 9:18 AM, Ralf Corsepius rc040...@freenet.de wrote: On 06/12/2015 02:48 PM, Neal Gompa wrote: Soft/weak dependencies are allowed, according to FESCo It doesn't matter much what FESCO says of believes in this case. ATM, neither is the technical infrastructure is in

Re: Can soft dependencies help to get the proper kernel-devel packages? (Was: Soft- Re: DKMS is not installing the right kernel-devel package)

2015-06-12 Thread Ralf Corsepius
On 06/12/2015 03:23 PM, Neal Gompa wrote: On Fri, Jun 12, 2015 at 9:18 AM, Ralf Corsepius rc040...@freenet.de wrote: On 06/12/2015 02:48 PM, Neal Gompa wrote: Soft/weak dependencies are allowed, according to FESCo It doesn't matter much what FESCO says of believes in this case. ATM,

Re: Can soft dependencies help to get the proper kernel-devel packages? (Was: Soft- Re: DKMS is not installing the right kernel-devel package)

2015-06-12 Thread Neal Gompa
On Fri, Jun 12, 2015 at 9:41 AM, Ralf Corsepius rc040...@freenet.de wrote: On 06/12/2015 03:23 PM, Neal Gompa wrote: On Fri, Jun 12, 2015 at 9:18 AM, Ralf Corsepius rc040...@freenet.de wrote: On 06/12/2015 02:48 PM, Neal Gompa wrote: Soft/weak dependencies are allowed, according to FESCo

Re: DKMS is not installing the right kernel-devel package

2015-06-10 Thread Dan Book
On Wed, Jun 10, 2015 at 2:12 AM, Thorsten Leemhuis fed...@leemhuis.info wrote: Dan Book wrote on 09.06.2015 22:01: This has also been a problem for several releases with the akmods from rpmfusion. There was always a problem; there where just less people running into it, because yum/dnf

Re: DKMS is not installing the right kernel-devel package

2015-06-10 Thread Thorsten Leemhuis
Dan Book wrote on 09.06.2015 22:01: This has also been a problem for several releases with the akmods from rpmfusion. There was always a problem; there where just less people running into it, because yum/dnf installed kernel-devel most of the time, which matched the kernel that was running on

DKMS is not installing the right kernel-devel package

2015-06-09 Thread Neal Gompa
Hey all, I've noticed that when dkms is installed, it's not grabbing the right kernel-devel package as a dependency. Instead, it grabs kernel-debug-devel. This occurs on Fedora 21 and 22, and I'm not sure why. If I install kernel-devel first, everything is fine. Otherwise, it grabs the wrong

Re: DKMS is not installing the right kernel-devel package

2015-06-09 Thread Dan Book
This has also been a problem for several releases with the akmods from rpmfusion. I think the more correct solution (read to the end) would be to somehow prioritize the kernel-devel package (possibly multiple) that matches the installed kernel(s). kernel-debug-devel is never the correct choice

Re: DKMS is not installing the right kernel-devel package

2015-06-09 Thread Thorsten Leemhuis
On 09.06.2015 21:04, Neal Gompa wrote: I've noticed that when dkms is installed, it's not grabbing the right kernel-devel package as a dependency. Because that's not possible with ordinary dependencies (might be possible with soft dependencies [Suggests, Enhances etc]) unless we change

Re: DKMS is not installing the right kernel-devel package

2015-06-09 Thread Reindl Harald
Am 09.06.2015 um 22:38 schrieb Dan Book: That's great, for people who already know what to do. The problem is for people who try to install dkms or akmods and then it doesn't work. There are plenty of people who use dkms or akmods modules but don't compile anything themselves (and those people

Re: DKMS is not installing the right kernel-devel package

2015-06-09 Thread Josh Boyer
On Tue, Jun 9, 2015 at 4:43 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 09.06.2015 um 22:38 schrieb Dan Book: That's great, for people who already know what to do. The problem is for people who try to install dkms or akmods and then it doesn't work. There are plenty of people who use

Re: DKMS is not installing the right kernel-devel package

2015-06-09 Thread Dan Book
That's great, for people who already know what to do. The problem is for people who try to install dkms or akmods and then it doesn't work. There are plenty of people who use dkms or akmods modules but don't compile anything themselves (and those people are less likely to understand the

Re: DKMS is not installing the right kernel-devel package

2015-06-09 Thread Reindl Harald
Am 09.06.2015 um 22:01 schrieb Dan Book: This has also been a problem for several releases with the akmods from rpmfusion. I think the more correct solution (read to the end) would be to somehow prioritize the kernel-devel package (possibly multiple) that matches the installed kernel(s).