Jaroslaw Polok wrote: > Hi > > >> I just want to double check, which version of yum are you working >> with. Can you send >> >> rpm -q yum Yep. 2.0.7-11.SL also has a problem (but different): I will do the following: [install: kernel-smp 2.4.21-32.0.1.EL.cern.x86_64] [install: kernel-source 2.4.21-32.0.1.EL.cern.x86_64] [install: kernel 2.4.21-32.0.1.EL.cern.x86_64] [update: kernel-module-openafs-2.4.21-32.0.1.EL.cernsmp ^^^^^^^^ 1.2.11-15.12.SL.x86_64] [update: kernel-module-openafs-2.4.21-32.0.1.EL.cern ^^^^^^^^ 1.2.11-15.12.SL.x86_64] NO: Actually I want to install the module packages, NOT upgrade these .. (because that would remove modules for my current running kernel !!) After patching nevral.py (patch at the bottom), I get what I expect: I will do the following: [install: kernel-module-openafs-2.4.21-32.0.1.EL.cernsmp 1.2.11-15.12.SL.x86_64] [install: kernel-smp 2.4.21-32.0.1.EL.cern.x86_64] [install: kernel-module-openafs-2.4.21-32.0.1.EL.cern 1.2.11-15.12.SL.x86_64] [install: kernel-source 2.4.21-32.0.1.EL.cern.x86_64] [install: kernel 2.4.21-32.0.1.EL.cern.x86_64] And here's the patch (against :yum-2.0.7-11.SL): --- nevral.py.org 2005-07-20 17:02:40.000000000 +0200 +++ nevral.py 2005-07-20 17:04:40.000000000 +0200 @@ -344,9 +344,9 @@ if mo: modname, kv = mo.group(1,2) if modname in mod_list and kv in kernel_version_list.keys() and arch == kernel_version_list[kv]: - if self.state(name,arch) != 'u': - self.setPkgState(name,arch, 'u') - log(4, "Upgrading " + name) + if self.state(name,arch) != 'i': + self.setPkgState(name,arch, 'i') + log(4, "Installing " + name) return res Could you please test/validate this ? Jarek __ ------------------------------------------------------- _ Jaroslaw_Polok ___________________ CERN - IT/ADC/LE _ _ http://home.cern.ch/~jpolok ___ tel_+41_22_767_1834 _ _____________________________________ +41_78_792_0795 _