[Yum-devel] kernel-module plugin - problems during install
Troy Dawson
dawson at fnal.gov
Tue Feb 28 21:23:18 UTC 2006
Panu Matilainen wrote:
> On Tue, 2006-02-28 at 09:54 -0600, Troy Dawson wrote:
>
>>Panu Matilainen wrote:
>>
>>>One could try handling this by excluding all kernel-module packages
>>>except those of the "target kernel", so the depsolver only has one
>>>choice. The question then becomes: what exactly is the "target kernel" -
>>>is it the running kernel or the latest installed kernel? If you say
>>>"both" we're back to square one with depsolver having 50/50 chance of
>>>getting it wrong :)
>>>
>>> - Panu -
>>
>>That does make sense, and explains my frustration at not getting any
>>further.
>>But then, how do you tell your users to install things that require
>>kernel-modules?
>>Oh ... I just figured that part out.
>>
>>yum install openafs openafs-client kernel-module-openafs-`uname -r`
>>
>>That works, and it garantee it get's them the kernel-module of what is
>>currently running, which was the main problem my users were seeing.
>
>
> Well, if target kernel for kernel modules == running kernel is ok for
> you, then the attached patch should do the trick.
>
> The problem with this of course is that if you've already updated the
> system and have a newer kernel installed than you're running, nothing
> will pull in the kernel module for the newer kernel.
>
> - Panu -
>
Thanks for the patch Panu
So far it has worked on all the machines I've tried it on. I haven't
been able to test it on a machine that is upgrading it's kernel yet, but
I should have that tested tomorrow.
Troy
--
__________________________________________________
Troy Dawson dawson at fnal.gov (630)840-6468
Fermilab ComputingDivision/CSS CSI Group
__________________________________________________
More information about the Yum-devel
mailing list