--tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 24, 2003 at 07:00:50AM -0500, seth vidal wrote: > On Mon, 2003-03-24 at 05:02, Axel Thimm wrote: > > yum does handle multiple repositories, but how does it choose which one= to use > > when the rpm to be installed is the same on both? I'd like to setup cop= ies of > > repositores in such a way that file:// repositories are preferred to ht= tp:// > > ones. Unfortunately it always seem to pick http:// if both are present.= I > > tried to change order in yum.conf, but that didn't help. >=20 >=20 > read the man page about pkgpolicy=3Dlast >=20 > It sorts them and you can reorder them based on that ordering. What I am searching for is something like pkgpolicy=3Dnewest_and_if_equal_t= hen_last ;=3D) Could newest be defined to mean "sort by time then by serverid"? Perhaps it already is? The idea is to have the file:// mirror override the http:// repository only if the rpms are the same, otherwise use the remote repo. Using last would always choose the local repo even if the remote has newer rpms.=20 --=20 Axel.Thimm@xxxxxxxxxxxxxxxxxxx --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+f4LGQBVS1GOamfERAupvAJ4n97uZD4j9LV5Q6c42VhWtuhaxqACeIqTP AaImU+dNdv9W0VvH9cKmxF0= =7GxC -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--