Hi Jarek,
I'll get the patch into yum. I have to admit, I was supprised that
kernel-smp-devel wasn't already there.
About the kernel-module thing ... I could have sworn that you were able
to install kernel-module-STHG-x.y-v.r AND kernel-module-STHG-x.z-v.r
I'm a little worried that if we put in the kernel-module line we'll get
stuck with
kernel-module-STHG-x.y-v.1 AND kernel-module-STHG-x.y-v.2, which would
be overrighting the same file.
I'm working on the fixing the plugin right now to get the install part
working the way we want it. I did see what you said, just didn't quite
get it finished today.
Troy
Jaroslaw Polok wrote:
> And one thing more while at it:
>
> Currently yum removes kernel-module-STHG-X.Y-V.R while installing
> kernel-module-STHG-X.Z-V.R - even if there is no conflict
> in packages.
>
> (X.Y / X.Z - kernel version-release,
> V.R - package version-release)
>
> The design goal of kernel-module-STHG-X.Y packages was to
> allow their peacefull coexistence on the system...
>
> Small patch in the attachment will add packages named:
>
> kernel-module-* and kernel-smp-devel-* to the list of
> 'install only packages' fixing that problem.
>
> I would be in favour of including that patch in next yum
> update on SL4 .. (of course after morte testing !)
>
> Cheers
>
> Jarek
>
> PS: At first glance it seems that this patch would break
> yum when trying to update:
>
> kernel-module-STHG-X.Y-R.V to
> kernel-module-STHG-X.Y-R.W
>
> but this does not happen (at least not with rpm 4.3.3)
> as in worst case yum RPM test transaction will replace
> the former with the later even if both are of
> install only type.
>
> __
> -------------------------------------------------------
> _ Jaroslaw_Polok ___________________ CERN - IT/FIO/LA _
> _ http://home.cern.ch/~jpolok ___ tel_+41_22_767_1834 _
> _____________________________________ +41_78_792_0795 _
>
>
> ------------------------------------------------------------------------
>
> --- yum-2.4.1/yum/config.py.org 2006-03-01 10:58:05.000000000 +0100
> +++ yum-2.4.1/yum/config.py 2006-03-01 11:01:12.000000000 +0100
> @@ -222,9 +222,10 @@
> ('pluginpath', ['/usr/lib/yum-plugins']),
> ('installonlypkgs', ['kernel', 'kernel-bigmem',
> 'kernel-enterprise','kernel-smp',
> - 'kernel-modules',
> + 'kernel-modules', 'kernel-module',
> 'kernel-debug', 'kernel-unsupported',
> - 'kernel-source', 'kernel-devel']),
> + 'kernel-source', 'kernel-devel',
> + 'kernel-smp-devel' ]),
> ('kernelpkgnames', ['kernel','kernel-smp',
> 'kernel-enterprise', 'kernel-bigmem',
> 'kernel-BOOT']),
--
__________________________________________________
Troy Dawson [log in to unmask] (630)840-6468
Fermilab ComputingDivision/CSS CSI Group
__________________________________________________
|