Skip to content

wget: busybox wget doesn't work #28920

@asche77

Description

@asche77

Package Name

openwrt/package/utils/busybox

Wget

Uclient-fetch

Maintainer

openwrt

OpenWrt Version

25.12.1

OpenWrt Target/Subtarget

ramips/mt7621

Steps to Reproduce

DO(N'T) THIS:

root@OpenWrt:~# apk add curl wget

(1/6) Purging uclient-fetch (2026.02.20~7a0aa2e4-r1)
  Executing uclient-fetch-2026.02.20~7a0aa2e4-r1.pre-deinstall
  * add alternative: /usr/bin/wget -> /bin/busybox
(2/6) Installing libpcre2 (10.47-r1)
wgetwget: applet not found
ERROR: wget: exited with error 127
ERROR: libpcre2-10.47-r1: unexpected end of file
(3/6) Installing wget-nossl (1.25.0-r2)
wgetwget: applet not found
ERROR: wget: exited with error 127
ERROR: wget-nossl-1.25.0-r2: unexpected end of file
(4/6) Installing libnghttp2-14 (1.66.0-r1)
wgetwget: applet not found
ERROR: wget: exited with error 127
ERROR: libnghttp2-14-1.66.0-r1: unexpected end of file
(5/6) Installing libcurl4 (8.19.0-r1)
wgetwget: applet not found
ERROR: wget: exited with error 127
ERROR: libcurl4-8.19.0-r1: unexpected end of file
(6/6) Installing curl (8.19.0-r1)
wgetwget: applet not found
ERROR: wget: exited with error 127
ERROR: curl-8.19.0-r1: unexpected end of file
5 errors; 26.9 MiB in 224 packages

NO GOING BACK:

apk add uclient-fetch

(1/6) Installing uclient-fetch (2026.02.20~7a0aa2e4-r1)
(2/6) Installing libnghttp2-14 (1.66.0-r1)
(3/6) Installing libcurl4 (8.19.0-r1)
(4/6) Installing curl (8.19.0-r1)
(5/6) Installing libpcre2 (10.47-r1)
(6/6) Installing wget-nossl (1.25.0-r2)
6 errors; 26.9 MiB in 224 packages

Errors

wgetwget: applet not found
ERROR: wget: exited with error 127
ERROR: uclient-fetch-2026.02.20~7a0aa2e4-r1: unexpected end of file
wgetwget: applet not found
ERROR: wget: exited with error 127
ERROR: libnghttp2-14-1.66.0-r1: unexpected end of file
wgetwget: applet not found
ERROR: wget: exited with error 127
ERROR: libcurl4-8.19.0-r1: unexpected end of file
wgetwget: applet not found
ERROR: wget: exited with error 127
ERROR: curl-8.19.0-r1: unexpected end of file
wgetwget: applet not found
ERROR: wget: exited with error 127
ERROR: libpcre2-10.47-r1: unexpected end of file
wgetwget: applet not found
ERROR: wget: exited with error 127
ERROR: wget-nossl-1.25.0-r2: unexpected end of 

RESULT:
apk inoperable, can't update / install packages.

Actual Behaviour

I (misguidedly) tried to add wget to the system.

This causesd uclient-fetch to be de-installed.

Now no packages - including wget - can be downloaded and installed. Apparently apk relies on wget and somewhere there is an erroneous "wgetwget" command that ... doesnt work.

Or it could be that busybox / wget-nossl would need to be downloaded first before deinstalling uclient-fetch?

Confirmation Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions