On Mon, 2005-08-29 at 14:07 -0600, Tyler Larson wrote:
Michel Alexandre Salim wrote:
> Should kernel-devel be made to depend on the same version of the kernel?
> I have kernel-devel installed, and every time a new kernel comes out the
> corresponding version of kernel-devel becomes installed as well - but
> the old package does not get uninstalled.
>
> Unless there is a specific reason why it is desirable to have
> kernel-devel-X installed when kernel-X is not, having the former
> Requires: the latter would make maintenance tidier, I think.
>
> Regards,
>
> - Michel
>
This sounds like a job for the pkgsToInstallNotUpdate option in up2date. I
don't know the equivalent for yum.
it's the default setting in yum and it is named 'installonlypkgs'. yum
will watch for kernel packages and try to treat them correctly.
-sv