https://bugzilla.novell.com/show_bug.cgi?id=641257
https://bugzilla.novell.com/show_bug.cgi?id=641257#c0
Summary: Missing/Slow Mirrors - Update required for aria2c for
all releases from 1.9.x - 1.10.x
Classification: openSUSE
Product: openSUSE 11.3
Version: Final
Platform: Other
OS/Version: openSUSE 11.3
Status: NEW
Severity: Major
Priority: P5 - None
Component: YaST2
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: drankinatty@suddenlinkmail.com
QAContact: jsrain@novell.com
Found By: ---
Blocker: ---
Paraphrased from Peter Poeml from "Re: [opensuse] One repo in the pool killing
updates - probably utexas.edu - can it be fixed?"
Using aria2c directly, we can see what it does with that:
% aria2c --log=- --log-level=debug '--user-agent=ZYpp 7.7.5 (aria2 version
1.9.1) openSUSE-11.3-x86_64' --summary-interval=1 --follow-metalink=mem
--check-integrity=true --file-allocation=none
--server-stat-of=/home/poeml/.aria2/aria2.stats
--server-stat-if=/home/poeml/.aria2/aria2.stats --uri-selector=adaptive
--use-head=false --max-tries=5 --max-concurrent-downloads=2 --header=Pragma:
--connect-timeout=180
'http://download.opensuse.org/repositories/home:/-miska-/openSUSE_11.3/x86_64...'
| grep Host
Host: download.opensuse.org
Host: widehat.opensuse.org
Host: ftp.halifax.rwth-aachen.de
Host: ftp5.gwdg.de
Host: ftp.roedu.net
Host: 130.57.19.201
It contacts 5 servers, which is the built-in default for concurrency. The job
finishes after 1 or 2 seconds for me, which is about the same time to download
the package from a single source in this case.
<snip>
Sigh. When testing the same as above from the US, aria2c does not contact 5
mirrors; it contacts only one, and if that is utexas.edu, the download takes a
minute instead of 2-4 seconds. The log shows that only one server is contacted,
and it is reproducible:
% aria2c --log=- --log-level=debug '--user-agent=ZYpp 7.7.5 (aria2 version
1.9.1) openSUSE-11.3-x86_64' --summary-interval=1 --follow-metalink=mem
--check-integrity=true --file-allocation=none
--server-stat-of=/home/poeml/.aria2/aria2.stats
--server-stat-if=/home/poeml/.aria2/aria2.stats --uri-selector=adaptive
--use-head=false --max-tries=5 --max-concurrent-downloads=2 --header=Pragma:
--connect-timeout=180
'http://download.opensuse.org/repositories/home:/-miska-/openSUSE_11.3/x86_64...'
| grep Host
Host: download.opensuse.org
Host: 130.57.19.201
The worst is, I don't know why this differs. Apart from the aria2c version
everything should be exactly the same. In the latter case, I used the newest
version, 1.10.3.