[Yum] Preferred repository - in a way...
Sean Dilda
agrajag at dragaera.net
Sun May 1 15:54:58 UTC 2005
karsten wrote:
> Hello Seth,
>
> This may be an old question, but I couldn't find it in the archives.
>
> Is there a way to make yum prefer a "low-cost" repository?
> Yum is still supposed to download the newest package, but is multiple
> repositories offer the newest package, then one of these repositories
> may be preferred.
>
> An example....
> Now I have a few hundred machines that I want to update rom scratch.
> Obviously it is easier to take one machine and update it from scratch
> and then take all rpms from that one and fill it into a local
> repository. I don't know about you, but I still haven't had my external
> line upgraded to GHz. Something about costs...
> Now when the other machines are to update, then it would be nice if they
> said: Great - but the package is available on the low-cost repo so we
> download from there.
>
>
> Is it possible?
Since you're setting up a local mirror anyways, why point to an external
one at all? It seems like it would be simpler just to regularly update
your local mirror/repository and only point you machines to that mirror.
More information about the Yum
mailing list