Does 'YUM install' always install the latest app version?

Roberto Ragusa mail at robertoragusa.it
Thu Sep 5 07:07:39 UTC 2013


On 09/05/2013 08:39 AM, Fernando Cassia wrote:
> 
> On Thu, Sep 5, 2013 at 2:38 AM, Joe Zeff <joe at zeff.us <mailto:joe at zeff.us>> wrote:
> 
>     AFAIK it installs the most recent version.  Why would you expect it to do anything else?
> 
>  
> I somehow got the mistaken idea that "yum install" installed the base package from /os/packages and yum update retrieved stuff from /updates/ on the mirror/repo
> 
> Obviously I was wrong :)

In fact, yum does not have an idea about what is a base package and what is an update,
it just looks at all the configured repos and selects the newest version.
On the other hand, if you tell yum "--disable-repo=updates", the updates repository
will be hidden to the selection algorithm, so you will get the base version.

-- 
   Roberto Ragusa    mail at robertoragusa.it


More information about the users mailing list