[Yum] yum update bug

Troy Dawson dawson at fnal.gov
Mon Sep 23 15:38:51 UTC 2002


Howdy,
It seems there is a bug with yum update when it needs to update packages that 
have various architectures.  I could have sworn that this used to work, but 
now it isn't.
The problem is that if a package has multiple architectures (such as glibc or 
kernel that have i386 and i686) and the user tries to update just that package 
(yum update kernel -or- yum update glibc) then yum tells them that the file is 
up to date, when it really isn't.

Here's the problem in more detail

#yum list kernel
Gathering package information from servers
Getting headers from: Fermi Linux 731 main
Getting headers from: Fermi Linux 731 updates
Finding updated packages
Downloading needed headers
Looking in Available Packages:
Name                                     Arch       Version
--------------------------------------------------------------------------------
kernel                                   i686       2.4.18-10

Looking in Installed Packages:
Name                                     Arch       Version
--------------------------------------------------------------------------------
kernel                                   i686       2.4.18-3

#yum update kernel
Gathering package information from servers
Getting headers from: Fermi Linux 731 main
Getting headers from: Fermi Linux 731 updates
Finding updated packages
Downloading needed headers
kernel is the latest version


If you do just a yum update (which get's everything) then it will work, but 
alot of the times, if the user is cautious, they like to do things one at a 
time, or only need one things updated.

#yum update
Gathering package information from servers
Getting headers from: Fermi Linux 731 main
Getting headers from: Fermi Linux 731 updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: kernel.i686]
[install: kernel-smp.i686]
[update: pam_krb5.i386]
[update: kernel-source.i386]
[update: lokkit.i386]
Is this ok [y/N]

This is a unaltered yum 0.9.2

Any ideas?

Troy

-
__________________________________________________
Troy Dawson  dawson at fnal.gov  (630)840-6468
Fermilab  ComputingDivision/OSS  CSI Group
__________________________________________________




More information about the Yum mailing list