[Yum] Re: Prevent YUM from installing kernel as dependency?
Mihai T. Lazarescu
mihai at email.it
Mon Jan 12 13:42:11 UTC 2004
On Mon, 12 Jan 2004, Axel Thimm wrote:
> On Mon, Jan 12, 2004 at 02:41:05PM +0200, Mihai T. Lazarescu wrote:
> > At this point, I would want YUM to give up, since
> > I do not want it to attempt to install a new kernel
> > (kernel-smp-2.4.20-28.9.i686) to satisfy the dependency of a
> > new kernel module (kernel-module-ov511-2.27.)
> I believe this is not really something yum has to solve, but the
> package design itself. kernel module rpms should contain the kernel's
> version in their name (the rpm "name"), so that all kernel modules for
> different kernels have their own upgrade path.
The package is OK, it asks for kernel = 2.4.20-28.9 (see below).
The problem is YUM really got out and grabbed one
of the available 2.4.20-28.9 kernels (in this case
kernel-smp-2.4.20-28.9.i686) and install it as dependency.
Probably YUM did not select the single processor kernel 2.4.20,
since that would have been a downgrade of my installed 2.4.22.
Instead, the SMP version of the 2.4.20 kernel was not in
conflict with anything installed, since I have not a SMP arch.
> > YUM's behavior is instead to drag in
> > kernel-smp-2.4.20-28.9.i686 as a dependency of
> > kernel-module-ov511-2.27-0_2.4.20_28.9.rh90.dag.i686.
> You can exclude files from being upgraded with, e.g.
> exclude=kernel, kernel-smp
Good point, that's what I was looking for:
....identical dependency loop exceeded
package kernel-module-ov511 needs kernel = 2.4.20-28.9 (not provided)
More information about the Yum