On Wed, 2005-05-04 at 08:32, William Hooper wrote: > > > >> Update lists mirrors; it seems that Yum downloads a fresh list each > >> time (yuck, I'd rather see the list in an rpm that's updated as needed), > >> so that should be a quick fix. Once a mirror fixes its problems, relist > >> it. > > > > Does yum pick a mirror at random now? > > It is configured to do that be default now, yes. Ouch - that is very cache-unfriendly. > > I run several machines > > through the same caching http proxy and when I first started it seemed like > > most files would be cached. Now, with no change at my end it seems like > > there is never a cache hit even when another machine just performed the > > same update. Is there a way to force the order of mirror attempts to be > > the same so the cache will work again? > > Remove the mirror list and set yum to use the mirror you prefer. If they are identical, how would I determine a preference? Or if they aren't identical, how would I know? > Or set > up a local yum repo and point them all to that. That would mean (a) knowing all the versions that need to pull updates and (b) copying a lot of stuff in the repo that nobody has installed which seems a lot worse than letting a cache do its job. Wouldn't this be better-handled by round-robin DNS, assuming that the target hosts are not configured as name-based virtual hosts or that they have the appropriate configuration to respond to the same name? -- Les Mikesell les@xxxxxxxxxxxxxxxx