[Yum] yum not installing most recent kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux