SCIENTIFIC-LINUX-USERS Archives

March 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jaroslaw Polok <[log in to unmask]>
Reply To:
Jaroslaw Polok <[log in to unmask]>
Date:
Wed, 1 Mar 2006 11:23:44 +0100
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (1171 bytes) , yum-2.4.1-installonlypkgs.patch (1006 bytes)
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']),

ATOM RSS1 RSS2