DNF: Only one kernel-devel package allowed?

Ed Greshko ed.greshko at greshko.com
Sun Oct 4 21:45:09 UTC 2015


On 10/05/2015 05:21 AM, Suvayu Ali wrote:
> On Sun, Oct 04, 2015 at 08:06:42AM -0500, Richard Shaw wrote:
>> I'm assuming this is DNF and not some other change...
>>
>> Yum allowed multiple kernel-devel packages to be installed, dnf does not,
>> which prevents you from building kernel modules for other kernel releases.
>>
>> Was there a good reason for this change in behavior?
> This is not true.
>
>   $ rpm -q kernel-devel | sort
>   kernel-devel-4.0.4-202.fc21.x86_64
>   kernel-devel-4.1.5-200.fc22.x86_64
>   kernel-devel-4.1.6-200.fc22.x86_64
>   kernel-devel-4.1.6-201.fc22.x86_64
>   kernel-devel-4.1.7-200.fc22.x86_64
>   kernel-devel-4.1.8-200.fc22.x86_64
>
> Maybe you are confusing with kernel-headers?  If that is the case, it
> has been like that for ages.  And usually that should not be a problem,
> specially between minor releases (as is the case for a given Fedora
> release).
>

I think you had not read the entire thread before you responded.  We later discovered him to be on F21 and indeed on my F21 VM I confirmed....

[root at f21 dnf]# rpm -q kernel
kernel-4.0.7-200.fc21.x86_64
kernel-4.1.6-100.fc21.x86_64
kernel-4.1.7-100.fc21.x86_64

[root at f21 dnf]# rpm -q kernel-devel
kernel-devel-4.1.7-100.fc21.x86_64

[root at f21 dnf]# uname -r
4.1.7-100.fc21.x86_64

F22, on the other hand, is "better"


-- 
In reality, some people should stick to running Windows and others should stay away from computers altogether.


More information about the users mailing list