Hey, What you are looking for the is the pkgpolicy directive. [From man page for yum.conf]: pkgpolicy=[newest|last] Default: newest. Package sorting order. When a package is available from multiple servers, newest will install the most recent version of the package found. last will sort the servers alphabetically by serverid and install the version of the pack- age found on the last server in the resulting list. If you don?t understand the above then you?re best left not including this option at all and letting the default occur. Just to clarify, what it sorts alphabetically on is the name of the repo that you put into []'s for the conf. So, you will want to be careful to "name" the repo's in a way that will sort properly. For example: [0repo] name=Not the most important baseurl=http://foo/path/to/foo [1repo] name=The most important baseurl=http://bar/path/to/bar --Chris On Mon, 2005-02-07 at 06:09, Ohad.Levy@xxxxxxxxxxxx wrote: > Hi > > I've build my own repository which I distribute internally in my > company across several WAN connections. > > Each site has its own copy of the repository under file://path? and > another master copy at http server (two repository per site). > > However, if I understand correctly, when yum finds out that the http > one is newer it downloads everything from the web server even if it > exists locally. > > My question is if its possible to define that yum should download > everything from one repository and only what's missing from the other. > > Thanks, > Ohad > > > > ______________________________________________________________________ > _______________________________________________ > Yum mailing list > Yum@xxxxxxxxxxxxxxxxxxxx > https://lists.dulug.duke.edu/mailman/listinfo/yum