On Sun, Aug 27, 2017 at 11:57:19AM +0200, Norbert Jurkeit wrote:
Am 26.08.2017 um 22:25 schrieb Adrian Reber:
> On Sun, Aug 20, 2017 at 04:26:34PM +0200, Norbert Jurkeit wrote:
> > mirror manager currently seems not to return any mirrors outside the US for
> > release=26 and arch=i386, although according to
> >
admin.fedoraproject.org/mirrormanager there are a few sites outside the US
> > hosting Fedora Secondary (I noticed that because I added country=de to
> > *.repo files which has worked so far but now produces error messages when
> > running dnf). Please check.
> So as this mail is already a few days old (sorry for the late reply) I
> guess that was something temporary. Right now it looks correct:
>
> curl -s
'https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-26&arch=i386&country=de'
> # repo = fedora-26 arch = i386 country = DE
>
https://ftp-stud.hs-esslingen.de/pub/fedora-secondary/releases/26/Everyth...
>
> Why are you adding 'country=de'? That is probably not the best idea. You
> are telling mirrormanager to only return mirrors from Germany. Which, if
> you are based in Germany, should happen automatically. If, however, all
> German mirrors are marked (temporarily) as out of date MM will return
> mirrors from nearby countries. If you are telling mirrormanager to only
> return mirrors from Germany and all German mirrors are out of date, you
> get no mirrors. So removing 'country=de' is probably the right fix.
>
I noticed that problem last Sunday and tried also some other country
settings like nl, fr and others, but without success, so it looked to me as
a global problem. When I tried again two days later, everything was working
fine again.
Many thanks also for your explanations. In general you are right, but I use
a Hurricane Electric tunnel for IPv6 internet access and although I selected
the nearest available tunnel server in Frankfurt, my prefix is considered as
belonging to the US. So unless I specify the country parameter, I will get
assigned mirrors in the US, which is not always as fast and stable as using
nearby mirrors and puts unnecessary burden onto the internet.
Maybe it would make sense to contact Hurricane Electric to let them
update their maxmind geoip listing. If the maxmind geoip entry for
your IPv6 prefix is configured correctly you would not need workarounds.
Because there is only 1 mirror for Fedora Secondary in Germany, the
best
solution in this special case is probably to specify something like
"country=de,nl,fr,pl", although the countries hosting Fedora Secondary seem
to vary.
You can try something like that of course.
Adrian