Bug 2348997 - wget2 wget shim does not support --show-progress command line option
Summary: wget2 wget shim does not support --show-progress command line option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wget2
Version: 41
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-28 10:19 UTC by Bas Mevissen
Modified: 2025-03-15 00:35 UTC (History)
3 users (show)

Fixed In Version: wget2-2.2.0-3.fc43 wget2-2.2.0-2.fc41 wget2-2.2.0-3.el10_0 wget2-2.2.0-2.fc40 wget2-2.2.0-3.el10_1 wget2-2.2.0-3.el9 wget2-2.2.0-3.fc42
Clone Of:
Environment:
Last Closed: 2025-03-01 01:24:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bas Mevissen 2025-02-28 10:19:55 UTC
The wget2-wget package provides a shim for the old wget by symlinking to the wget2 binary. However, wget provides a command line option --show-progress that is not supported in wget2. This causes scripts to fail when they use --show-progress.

Solution would be to have the wget symlink be replaced with a shell script that translates --show-progress to --progress=bar for example.

It would also be better to include the man page of the last "original" wget as wget.1 man page instead of linking to the wget2 man page:

<pre>$ zcat /usr/share/man/man1/wget.1.gz 
.so man1/wget2.1</pre>

This will then also show the --show-progress option that wget2 does not have.



Reproducible: Always

Comment 1 Bas Mevissen 2025-02-28 10:46:35 UTC
It seems to be a better solution for this specific issue is in the works at wget2:

https://gitlab.com/gnuwget/wget2/-/merge_requests/558/diffs?commit_id=42673fd8d6ade79c0f5e230fb16a368e711dd956

(adding --show-progress to wget2)

Nevertheless, the man page for wget.1 still stands. Think Fedora should still provide wget1 as (compat) option or a script that makes sure all and only the wget1 command line should be supported with the shim.

Comment 2 Neal Gompa 2025-02-28 14:42:11 UTC
Looks like the alias was added: https://gitlab.com/gnuwget/wget2/-/commit/bc77fe1c8a3ebefa07eff7ec1088fb58876a03d3

Comment 3 Bas Mevissen 2025-02-28 14:55:20 UTC
That's what I already mentioned in comment #1 :-)
It would solve my current problem, but still I'm wondering whether full wget1 compatibility can/should be reached with simply symlinking wget2...
I don't expect the wget2.1 man page to be updated with an option that was deprecated at the same time it was added, so the request for the original wget1 man page remains.

Comment 4 Fedora Update System 2025-02-28 14:59:39 UTC
FEDORA-2025-76fa3f6996 (wget2-2.2.0-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-76fa3f6996

Comment 5 Fedora Update System 2025-02-28 15:02:51 UTC
FEDORA-2025-76fa3f6996 (wget2-2.2.0-3.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2025-02-28 15:27:37 UTC
FEDORA-2025-00a3e5e55d (wget2-2.2.0-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-00a3e5e55d

Comment 7 Fedora Update System 2025-02-28 15:27:38 UTC
FEDORA-2025-366f5a6734 (wget2-2.2.0-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-366f5a6734

Comment 8 Fedora Update System 2025-02-28 15:27:38 UTC
FEDORA-2025-a763e04259 (wget2-2.2.0-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-a763e04259

Comment 9 Fedora Update System 2025-02-28 15:27:39 UTC
FEDORA-EPEL-2025-13dd8d95be (wget2-2.2.0-3.el10_1) has been submitted as an update to Fedora EPEL 10.1.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-13dd8d95be

Comment 10 Fedora Update System 2025-02-28 15:27:40 UTC
FEDORA-EPEL-2025-141f5fb5cb (wget2-2.2.0-3.el10_0) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-141f5fb5cb

Comment 11 Bas Mevissen 2025-02-28 17:10:42 UTC
Thanks for the quick update. Seems find on Fedora 41!

Comment 12 Fedora Update System 2025-03-01 01:24:09 UTC
FEDORA-2025-a763e04259 (wget2-2.2.0-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2025-03-01 01:54:44 UTC
FEDORA-2025-366f5a6734 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-366f5a6734`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-366f5a6734

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2025-03-01 01:59:04 UTC
FEDORA-EPEL-2025-141f5fb5cb (wget2-2.2.0-3.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2025-03-01 02:09:50 UTC
FEDORA-EPEL-2025-13dd8d95be has been pushed to the Fedora EPEL 10.1 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-13dd8d95be

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2025-03-01 02:21:05 UTC
FEDORA-EPEL-2025-c910615064 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-c910615064

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2025-03-01 03:08:23 UTC
FEDORA-2025-00a3e5e55d has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-00a3e5e55d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-00a3e5e55d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2025-03-02 02:49:12 UTC
FEDORA-2025-00a3e5e55d (wget2-2.2.0-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2025-03-09 03:00:50 UTC
FEDORA-EPEL-2025-13dd8d95be (wget2-2.2.0-3.el10_1) has been pushed to the Fedora EPEL 10.1 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2025-03-09 03:27:25 UTC
FEDORA-EPEL-2025-c910615064 (wget2-2.2.0-3.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2025-03-15 00:35:27 UTC
FEDORA-2025-366f5a6734 (wget2-2.2.0-3.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


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