[Yum] yum fails to install most up to date version

Jim Perrin jperrin at gmail.com
Tue Dec 8 12:33:17 UTC 2009

On Tue, Dec 8, 2009 at 6:09 AM, Maria Alandes Pradillo
<Maria.Alandes.Pradillo at cern.ch> wrote:

> If I run "yum install glite-VOBOX" I get lcg-infosites 2.6.2-1. However, if I get "yum update" later, I get lcg-infosites 2.6.8-2. Shouldn't I get the most up to date version from the beginning? Is this the expected behaviour?

Your example is somewhat oversimplified. There are a few dozen things
which come into play when you're looking at this. If they are
different architecture packages, and one has exactarch enabled, a
newer package may be ignored if it doesn't match. The packages could
have an epoch value set which makes the older one newer (nasty RPM
trick). Certain yum plugins could be affecting the results also, such
as priorities or protectbase.

Your best bet is to run your yum command with debugging output so that
we (and you) can see exactly what is going on. Add '-d6' to your yum
command to get all the debugging output you'll likely ever need. I'd
also recommend doing a 'yum clean metadata' or 'yum clean all' prior
to testing, so that you're sure you're getting fresh results.

During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

More information about the Yum mailing list