On Sat, Dec 21, 2019 at 10:18 AM Per Jessen
Neal Gompa wrote:
On Sat, Dec 21, 2019 at 9:42 AM Per Jessen
wrote: Neal Gompa wrote:
The problem is that YaST configures repositories on openSUSE to use the download redirector from MirrorBrain, rather than the mirrorlist.
Well, that is the whole point of running Mirrorbrain :-) I don't think that is a problem, Mirrobrain hands out a mirrorlist too, on every request. It is up to the client to use it.
Package manager clients need to be specifically configured to fetch mirrorlists from MirrorBrain.
The above was a standard reply to wget which doesn't use any of the provided links, but zypper uses the mirrorlist by default.
The code in "zypp/repo" in libzypp seems to indicate this is not true. Unless you use mirrorlist=/metalink= instead of baseurl=, you're not going to have client failover of mirrors based on the mirror selection provided by MirrorBrain. This is (mostly) the same behavior that DNF has. The only difference is that DNF will retry for baseurl downloads a couple of times in hopes of getting a working connection from the server. I'm pretty sure that has to do with handling download redirectors, but it's still not as reliable as using a mirrorlist directly.
Wrt mirrors.edge.kernel.org, they have at least four sites, but synchronize only from two. I can only presume they have some internal synch to complement that. They use DNS geolocation to hand out the best address. If their internal sync is faulty and the optimal mirror for Linda is not up-to-date, we cannot see it - we only see the mirror in Amsterdam.
For me, the problem wasn't the freshness, but that I'd be redirected to mirrors that are geographically far away or regularly time out for me.
Ah, I see. Yeah, a lot depends on how good the mirrors are in your country/network.
Well, despite living in the US east coast, I usually get redirected to a mirror in central or eastern Europe when Provo isn't working. When Provo is working, I always get that. I don't seem to get anything else. :(
Switching to the mirrorlist and having DNF do the failover selection improved my experience dramatically.
There will be a reason why Mirrorbrain was unable to dish out better mirrors to you, but unless we/I know about it ....
I've had this problem for years, and I've asked about it before. It's pretty hard to debug apparently. :( -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org