[Yum] yum not installing most recent kernel

seth vidal skvidal at phy.duke.edu
Thu Jul 22 18:31:42 UTC 2004


On Thu, 2004-07-22 at 11:10 -0700, Brian Ferguson wrote:
> So I built and installed yum 1.0.3 on my rh7.3 system, and I'm still 
> having the problem as before:
> 
> [chicken] yum-arch -z .
> 
> ...
> 
> 
> Digesting rpms 37 % complete: kernel-2.4.21-15.EL.i686.rpmAlready found 
> tuple: kernel i686
> 
> ignoring older pkg: kernel-2.4.21-15.0.3.EL.i686.rpm
> 

<sigh> rpm 4.0.4 had a non deterministic version sort for numbers versus
letters

so you're looking for the newer package
and you're comparing 0 vs a

in rpm > 4.1.1 it's deterministic - numbers are always newer than
letters.

in rpm < 4.1.1 it's not fun.

a > 0
0 > a

depending on which one you sort first - ie:

if I ask
vercmp(a, 0)
it tells me a is newer
vercmp(0, a)
it tells me 0 is newer

see the problem?

-sv





More information about the Yum mailing list