Bug 24362 - Change default downloader from aria2c to wget
Summary: Change default downloader from aria2c to wget
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High major
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
Keywords: 7beta3
Depends on:
Reported: 2019-02-15 04:05 CET by Dave Hodgins
Modified: 2020-09-19 18:08 CEST (History)
2 users (show)

See Also:
Source RPM: urpmi-8.114-2.mga7.src.rpm
Status comment:


Description Dave Hodgins 2019-02-15 04:05:24 CET
For the last couple of hours, while testing cauldron installs it fails
to set up the online media at the end of the installation, despite the online
media being added at the beginning of the install, and continues to fail
trying to retrieve the $mirrorlist when running drakrpm-edit-media after
booting into the installed system. Using the options/global options to
change the downloader to wget works around the problem.

In addition, there have been problems in the past with some mirrors, when
using aria2c, that go away after switching to wget.

While aria2c may be more efficient, when the mirror allows multiple connections,
it's safer to default to wget.
Comment 1 David Walser 2019-02-15 14:20:55 CET
I agree, I've always found that wget works better than aria2c and curl as the urpmi downloader.
Comment 2 Manuel Hiebel 2019-02-15 23:09:58 CET
or we use aria2 with metalink (needs mirrorbrain or co)
Comment 3 Dave Hodgins 2019-02-15 23:40:41 CET
(In reply to Manuel Hiebel from comment #2)
> or we use aria2 with metalink (needs mirrorbrain or co)

Which we don't currently have set up. Switching the default from aria2c to
wget is a very simple change that works with what we have now.
Comment 4 Sébastien Morin 2019-03-25 20:49:34 CET
Still valid with Mga7-beta3 (March 24th)

Adding mirrors for the different media always ends up with an error message saying the media couldn't be downloaded, which is misleading since they all seem absolutely usable right away (run # urpmi --auto-update in a terminal to see they are up-to-date).

Pushing the priority up.

Priority: Normal => High
Keywords: (none) => 7beta3
CC: (none) => sebsweb

Comment 5 mtm spm 2020-06-29 13:59:04 CEST
How do I change drakconf to use wget instead of aria ?
With aria (likely due to my company paranoid proxy) the installation timeout and is impossible to install any new software from GUI.

CC: (none) => mtm_spm

Comment 6 Dave Hodgins 2020-06-29 14:38:26 CEST
Using rpmdrake, select Options, then select Media Manager.

That will run drakrpm-edit-media.

In drakrpm-edit-media (aka Media Manager), select Options, then Global Options.
Use the selection box for the "Download program to use" and select wget.
Note that wget must be installed for the option to use it to be shown.
Comment 7 Dave Hodgins 2020-06-29 14:44:22 CEST
If you're using a text only install, edit the global options in
/etc/urpmi/urpmi.cfg and add a line with ...
  downloader: wget

For example, in my system ...
# head -n 6 /etc/urpmi/urpmi.cfg
  downloader: wget
  resume: 1
  verify-rpm: 1
  xml-info: always
Comment 8 Aurelien Oudelet 2020-09-19 18:08:50 CEST
This is High priority bug for a good reason.

Making Mageia even better than ever is best direction.
In order to do right thing, this bug should be examined and fixed as soon as possible.

Packagers, please make the status to Assigned when you are working on this.
Feel free to reassign the bug if bad-triaged. Also, if bug is old, please close it.

On October 1st 2020, we will drop priority to normal.

Note You need to log in before you can comment on or make changes to this bug.