[Yum] Re: yum not installing most recent kernel

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

 



On Thu, 15 Jul 2004, Brian Ferguson wrote:

> Greetings,
> 
> I think I've found a bug in yum-arch.  We're using yum 2.0.4 (I know, 
> not the newest version) on RHEL3, and "yum update" is not installing the 
> newest kernel in the repository:
> 
> chicken [1048] ls |grep kernel-2.4.21-15
> kernel-2.4.21-15.0.2.EL.athlon.rpm
> kernel-2.4.21-15.0.2.EL.i686.rpm
> kernel-2.4.21-15.0.3.EL.athlon.rpm
> kernel-2.4.21-15.0.3.EL.i686.rpm
> kernel-2.4.21-15.EL.athlon.rpm
> kernel-2.4.21-15.EL.i686.rpm
> 
> chicken [1049] cd headers
> chicken [1049] ls |grep kernel
> (snip)
> kernel-0-2.4.21-15.EL.athlon.hdr
> kernel-0-2.4.21-15.EL.i686.hdr
> 
> 
> I did a yum-arch -vv -z . in the repository directory when I created the 

You do not need the -z option. It is the default.

> headers, and saw the following lines:
> 
> Digesting rpm - kernel-2.4.21-15.EL.i686.rpm - 229/604
> ignoring older pkg: kernel-2.4.21-15.0.3.EL.i686.rpm
> 
> However kernel-2.4.21-15.0.3 has a newer build date.  It is indeed the 

Build date has nothing to do with it. The version numbers in the rpm header
are what rpm/yum uses.

> newer package and should be chosen over kernel-2.4.21-15
> 
> Thoughts?

It WORKSFORME using the exact set of kernels. Are you sure you are
pointing your yum.conf file at the correct place? I had a brain fart
awhile back and rebuilt the yum headers in the wrong directory. Like
you I thought there was a problem with yum. It turned out to be a classic
case of PEBKC. :-) FWIW this happened when I put the latest kernels for
RHEL also.

HTH,

Tom

[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