Bug 24362 - Change default package downloader to wget
Summary: Change default package downloader 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:
Whiteboard: MGA7TOO, MGA8TOO
Keywords: IN_ERRATA8
Depends on:
Reported: 2019-02-15 04:05 CET by Dave Hodgins
Modified: 2021-04-14 23:00 CEST (History)
3 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.

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

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.
Comment 9 Morgan Leijström 2021-03-01 22:08:17 CET
This really is night and day; repeated failures trying to update and install new packages, with default for a couple hours tries now and then!

( Additionally it fail with unspecified error in the popup, should rise a bug for that too; user is completely lost! )

Changed to wget and no failures.

Circumstances: live xfce 64 with persistence on Dell M4400 laptop, wifi, mirror umu.se

CC: (none) => fri
Keywords: 7beta3 => 8final

Comment 10 Morgan Leijström 2021-03-02 01:38:19 CET
BTW, default is now not aria, but curl

(Mageia 8 final Live Plasma and Xfce checked)

Summary: Change default downloader from aria2c to wget => Change default package downloader from wget

Dave Hodgins 2021-03-02 03:43:35 CET

Summary: Change default package downloader from wget => Change default package downloader to wget

Comment 11 Morgan Leijström 2021-03-02 09:17:54 CET
Doh, thanks, it was late night, deleted wrong set of words... :)
Comment 12 Morgan Leijström 2021-03-04 21:20:24 CET
Not being able to update or install new packages is severe and hard to fis for new users who dont know.  The error messages are not helpful at all, as they complain about the packages instead!

I believe the problem is triggered by a combination of wifi harware and router.
(and possibly versions of drivers, protocol...)
Basically always fail on my Dell M4400, never on Thinkpad T400, same router.

IMO it deserves a visual place, so in Errata now:

Keywords: (none) => IN_ERRATA8

Comment 13 Morgan Leijström 2021-04-07 23:24:27 CEST
Another reference: in Bug 28744 report.bug contain a few curl failures, but maybe not enough to point finger at curl.
Comment 14 Morgan Leijström 2021-04-14 22:59:50 CEST
On my affected laptop Dell Precision M4400, both wget and also aria2 works perfectly.

Without changing from curl it is impossible to update a mga8 install at all, it does not get through the initial batch of gcc, rpm etc packages.
Morgan Leijström 2021-04-14 23:00:42 CEST

Whiteboard: (none) => MGA7TOO, MGA8TOO
Keywords: 8final => (none)

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