Re: yum fails to install most up to date version

Jim Perrin <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
On Tue, Dec 8, 2009 at 6:09 AM, Maria Alandes Pradillo
<[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.