[Bug 1194626] zypper hangs in "Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata"
https://bugzilla.suse.com/show_bug.cgi?id=1194626 https://bugzilla.suse.com/show_bug.cgi?id=1194626#c4 --- Comment #4 from Michael Andres <ma@suse.com> --- (In reply to Gerben Jansen from comment #3)
I'm a bit amazed that i'm redirected to a mirror in the Ukraine: i am in the Netherlands. There must be a mirror closer to me (like Germany, the home of SuSE)
Yes. I try to summ up what we found so far. - Regarding fastmirror.pp.ua I also experienced a slightly better download performance with IPv4 than with v6. But that's probably not the problems core. The overall performance for me in the morning was about 70k/s(v6) and 90k/s(v4). Nevertheless it currently serves me with 10M/s (yes M). When ZYPP downloads the metadata, it gets a files mirrorlist back from download.opensuse.org. For the current primary file e.g.
http://downloadcontent.opensuse.org/update/leap/15.3/sle/repodata/84ae39a6bf...
You can get the mirrorlist by appending '.metalink':
curl -L http://download.opensuse.org/update/leap/15.3/sle/repodata/84ae39a6bff73693a...
and get
<resources> <!-- Found 0 mirrors: 0 in the same network prefix, 0 in the same autonomous system, 1 handling this country, 0 in the same region, 0 elsewhere -->
<!-- Mirrors in the same network (79.192.0.0/10): --> <!-- Mirrors in the same AS (3320): --> <!-- Mirrors which handle this country (DE): --> <url type="http" location="de" preference="100">http://downloadcontent.opensuse.org/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <!-- Mirrors in the same continent (EU): --> <!-- Mirrors in the rest of the world: --> </resources>
The lists I saw so far always contained just one server. Yesterday fastmirror.pp.ua, todays morning a server in Poland and currently downloadcontent.opensuse.org. So all http(!) trafic for this file is redirected to a single server. This could explain why the server is that slow sometimes. If you retrieve the same mirrorlist for https
curl -L https://download.opensuse.org/update/leap/15.3/sle/repodata/84ae39a6bff73693...
you get back much more mirrors
<resources> <!-- Mirrors which handle this country (DE): --> <url type="https" location="DE" preference="100">https://ftp.uni-erlangen.de/opensuse/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <url type="https" location="DE" preference="99">https://mirror.linux-schulserver.de/opensuse/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <url type="https" location="DE" preference="98">https://mirror.braun-software-solutions.de/opensuse/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <url type="https" location="DE" preference="97">https://ftp.gwdg.de/pub/opensuse/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <!-- Mirrors in the same continent (EU): --> <url type="https" location="FR" preference="96">https://fr2.rpmfind.net/linux/opensuse/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <url type="https" location="CZ" preference="95">https://ftp.sh.cvut.cz/opensuse/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <url type="https" location="RO" preference="94">https://mirrors.nxthost.com/opensuse/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <url type="https" location="BG" preference="93">https://opensuse.ipacct.com/opensuse/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <url type="https" location="PT" preference="92">https://ftp.rnl.tecnico.ulisboa.pt/pub/opensuse/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <url type="https" location="UA" preference="91">https://opensuse.astra.in.ua/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <url type="https" location="CZ" preference="90">https://mirror.karneval.cz/pub/linux/opensuse/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <url type="https" location="UA" preference="89">https://fastmirror.pp.ua/opensuse/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <url type="https" location="CZ" preference="88">https://ftp.linux.cz/pub/linux/opensuse/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> <!-- Mirrors in other parts of the world: --> <!-- File origin location: --> <url type="https" location="" preference="87">https://downloadcontent.opensuse.org/update/leap/15.3/sle/repodata/84ae39a6bff73693a126bb54d91f048864ea7ecd29a8bf587905d8a67823b752-primary.xml.gz</url> </resources>
So editing the /etc/zypp/repos.d/*.repo files and switching from 'baseurl=http://download.opensuse.org/...' to 'baseurl=https://download.opensuse.org' should at least mitigate the issue. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com