NickZL
December 25, 2024, 7:48am
1
Got below result when running 'apk update' on my router.
root@opone:~# apk update
fetch https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.66-1-fdfd75048f27be9063795144b7871244/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.66-1-fdfd75048f27be9063795144b7871244/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/video/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/video/packages.adb: No such file or directory
[https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb]
[https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.66-1-fdfd75048f27be9063795144b7871244/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/video/packages.adb]
8 unavailable, 0 stale; 215 distinct packages available
Using uclient-fetch or curl can download the adb files correctly
root@opone:~# uclient-fetch -O package.adb https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb
Downloading 'https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb'
Connecting to 151.101.2.132:443
Writing to 'package.adb'
package.adb 100% |*******************************| 12927 0:00:00 ETA
Download completed (12927 bytes)
root@opone:~# curl -o package1.adb https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12927 100 12927 0 0 10736 0 0:00:01 0:00:01 --:--:-- 10754
Router HW is Openwrt One. Image is a self built snapshot image @31e45f6 mainline. Just a few utility packages were selected in addition.
Anyone has any thought what could be wrong?
let's see if it installs some package, use
apk add <package-name>
if it installs it's ok
otherwise try updating time if it is first time using update command
and what's the output of
wget https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb
apk list --installed
NickZL
December 25, 2024, 8:45am
3
Thanks for replying!
'apk add' got the same.
root@opone:~# apk add nano
fetch https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.66-1-fdfd75048f27be9063795144b7871244/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.66-1-fdfd75048f27be9063795144b7871244/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/packages.adb: No such file or directory
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/video/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/video/packages.adb: No such file or directory
ERROR: unable to select packages:
nano (no such package):
required by: world[nano]
The system time looks good.
root@opone:~# date
Wed Dec 25 16:44:29 CST 2024
There no wget by default. I found this wget-ssl and it can download the file.
root@opone:~# /usr/libexec/wget-ssl https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb
--2024-12-25 16:42:18-- https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb
Resolving downloads.openwrt.org... 151.101.2.132, 151.101.66.132, 151.101.130.132, ...
Connecting to downloads.openwrt.org|151.101.2.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 94201 (92K) [application/octet-stream]
Saving to: 'packages.adb'
packages.adb 100%[==================================================================================================================>] 91.99K 189KB/s in 0.5s
2024-12-25 16:42:20 (189 KB/s) - 'packages.adb' saved [94201/94201]
otnert
December 25, 2024, 8:51am
4
I had a similar issue the other day, for me I didn't have the libustream-openssl
package installed.
so after installing wget does the apk update work?
apk depends on
libc, zlib and libopenssl1.1
and for this i told to show the output of installed packages via apk
1 Like
NickZL
December 25, 2024, 1:46pm
7
Not sure how to install wget. There's no wget in 'make menuconfog', only got wget-ssl and wget-nossl.
Here are all the installed packages.
root@opone:~# apk list --installed
airoha-en8811h-firmware-20241110-r1 aarch64_cortex-a53 {feeds/base/firmware/linux-firmware} () [installed]
apk-mbedtls-3.0.0_pre20241130-r2 aarch64_cortex-a53 {feeds/base/system/apk} (GPL-2.0-only) [installed]
base-files-1~31e45f6 aarch64_cortex-a53 {feeds/base/base-files} (GPL-2.0) [installed]
busybox-1.37.0-r3 aarch64_cortex-a53 {feeds/base/utils/busybox} (GPL-2.0) [installed]
ca-bundle-20240203-r1 noarch {feeds/base/system/ca-certificates} (GPL-2.0-or-later MPL-2.0) [installed]
cgi-io-2022.08.10~901b0f04-r21 aarch64_cortex-a53 {feeds/packages/net/cgi-io} (GPL-2.0-or-later) [installed]
curl-8.10.1-r1 aarch64_cortex-a53 {feeds/packages/net/curl} (MIT) [installed]
dnsmasq-2.90-r3 aarch64_cortex-a53 {feeds/base/network/services/dnsmasq} (GPL-2.0) [installed]
dropbear-2024.86-r1 aarch64_cortex-a53 {feeds/base/network/services/dropbear} (MIT) [installed]
eip197-mini-firmware-20241110-r1 aarch64_cortex-a53 {feeds/base/firmware/linux-firmware} () [installed]
firewall4-2024.12.18~18fc0ead-r1 aarch64_cortex-a53 {feeds/base/network/config/firewall4} (ISC) [installed]
fitblk-2 aarch64_cortex-a53 {feeds/base/utils/fitblk} (GPL-2.0-only) [installed]
fstools-2024.12.02~49d36ba2-r1 aarch64_cortex-a53 {feeds/base/system/fstools} (GPL-2.0) [installed]
fwtool-2019.11.12~8f7fe925-r1 aarch64_cortex-a53 {feeds/base/system/fwtool} (GPL-2.0) [installed]
getrandom-2024.04.26~85f10530-r1 aarch64_cortex-a53 {feeds/base/system/ubox} (GPL-2.0) [installed]
hostapd-common-2024.09.15~5ace39b0-r2 aarch64_cortex-a53 {feeds/base/network/services/hostapd} (BSD-3-Clause) [installed]
htop-3.3.0-r2 aarch64_cortex-a53 {feeds/packages/admin/htop} (GPL-2.0-or-later) [installed]
ip-full-6.12.0-r1 aarch64_cortex-a53 {feeds/base/network/utils/iproute2} (GPL-2.0) [installed]
ip-tiny-6.12.0-r1 aarch64_cortex-a53 {feeds/base/network/utils/iproute2} (GPL-2.0) [installed]
iperf-2.1.9-r1 aarch64_cortex-a53 {feeds/packages/net/iperf} (BSD-3-Clause) [installed]
iw-6.9-r1 aarch64_cortex-a53 {feeds/base/network/utils/iw} (GPL-2.0) [installed]
iwinfo-2024.10.20~b94f066e-r1 aarch64_cortex-a53 {feeds/base/network/utils/iwinfo} (GPL-2.0) [installed]
jansson4-2.14-r3 aarch64_cortex-a53 {feeds/base/libs/jansson} (MIT) [installed]
jshn-2024.03.29~eb9bcb64-r1 aarch64_cortex-a53 {feeds/base/libs/libubox} (ISC) [installed]
jsonfilter-2024.01.23~594cfa86-r1 aarch64_cortex-a53 {feeds/base/utils/jsonfilter} (ISC) [installed]
kernel-6.6.66~fdfd75048f27be9063795144b7871244-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-cfg80211-6.6.66.6.11.2-r1 aarch64_cortex-a53 {feeds/base/kernel/mac80211} (GPL-2.0-only) [installed]
kmod-crypto-acompress-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-aead-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-authenc-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-ccm-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-cmac-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-crc32c-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-ctr-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-des-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-gcm-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-geniv-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-gf128-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-ghash-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-hash-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-hmac-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-hw-safexcel-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-kpp-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-lib-chacha20-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-lib-chacha20poly1305-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-lib-curve25519-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-lib-poly1305-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-manager-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-md5-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-null-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-rng-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-seqiv-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-sha1-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-sha256-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-sha3-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-crypto-sha512-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-gpio-button-hotplug-6.6.66-r5 aarch64_cortex-a53 {feeds/base/kernel/gpio-button-hotplug} (GPL-2.0) [installed]
kmod-hwmon-core-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-i2c-core-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-leds-gpio-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-lib-crc-ccitt-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-lib-crc32c-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-lib-lzo-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-libphy-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-mac80211-6.6.66.6.11.2-r1 aarch64_cortex-a53 {feeds/base/kernel/mac80211} (GPL-2.0-only) [installed]
kmod-mii-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-mt76-connac-6.6.66.2024.10.28~c246fa54-r1 aarch64_cortex-a53 {feeds/base/kernel/mt76} (GPLv2) [installed]
kmod-mt76-core-6.6.66.2024.10.28~c246fa54-r1 aarch64_cortex-a53 {feeds/base/kernel/mt76} (GPLv2) [installed]
kmod-mt7915e-6.6.66.2024.10.28~c246fa54-r1 aarch64_cortex-a53 {feeds/base/kernel/mt76} (GPLv2) [installed]
kmod-mt7981-firmware-6.6.66.2024.10.28~c246fa54-r1 aarch64_cortex-a53 {feeds/base/kernel/mt76} (GPLv2) [installed]
kmod-nf-conntrack-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nf-conntrack6-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nf-flow-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nf-log-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nf-log6-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nf-nat-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nf-reject-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nf-reject6-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nfnetlink-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nft-core-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nft-fib-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nft-nat-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nft-offload-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nls-base-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-nvme-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-phy-airoha-en8811h-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-phy-aquantia-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-ppp-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-pppoe-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-pppox-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-rtc-pcf8563-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-slhc-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-thermal-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-udptunnel4-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-udptunnel6-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-usb-core-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-usb-net-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-usb-net-cdc-ether-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-usb-net-rndis-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-usb-xhci-hcd-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-usb-xhci-mtk-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-usb3-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
kmod-wireguard-6.6.66-r1 aarch64_cortex-a53 {feeds/base/kernel/linux} (GPL-2.0-only) [installed]
libblobmsg-json20240329-2024.03.29~eb9bcb64-r1 aarch64_cortex-a53 {feeds/base/libs/libubox} (ISC) [installed]
libbpf1-1.4.6-r1 aarch64_cortex-a53 {feeds/base/libs/libbpf} (LGPL-2.1 OR BSD-2-Clause) [installed]
libc-1.2.5-r4 aarch64_cortex-a53 {feeds/base/libs/toolchain} (GPL-3.0-with-GCC-exception) [installed]
libcurl4-8.10.1-r1 aarch64_cortex-a53 {feeds/packages/net/curl} (MIT) [installed]
libelf1-0.192-r1 aarch64_cortex-a53 {feeds/base/libs/elfutils} (GPL-3.0-or-later) [installed]
libgcc1-13.3.0-r4 aarch64_cortex-a53 {feeds/base/libs/toolchain} (GPL-3.0-with-GCC-exception) [installed]
libiwinfo-data-2024.10.20~b94f066e-r1 aarch64_cortex-a53 {feeds/base/network/utils/iwinfo} (GPL-2.0) [installed]
libiwinfo20230701-2024.10.20~b94f066e-r1 aarch64_cortex-a53 {feeds/base/network/utils/iwinfo} (GPL-2.0) [installed]
libjson-c5-0.18-r1 aarch64_cortex-a53 {feeds/base/libs/libjson-c} (MIT) [installed]
libjson-script20240329-2024.03.29~eb9bcb64-r1 aarch64_cortex-a53 {feeds/base/libs/libubox} (ISC) [installed]
liblua5.1.5-5.1.5-r11 aarch64_cortex-a53 {feeds/base/utils/lua} (MIT) [installed]
liblucihttp-lua-2023.03.15~9b5b683f-r1 aarch64_cortex-a53 {feeds/luci/contrib/package/lucihttp} (ISC) [installed]
liblucihttp-ucode-2023.03.15~9b5b683f-r1 aarch64_cortex-a53 {feeds/luci/contrib/package/lucihttp} (ISC) [installed]
liblucihttp0-2023.03.15~9b5b683f-r1 aarch64_cortex-a53 {feeds/luci/contrib/package/lucihttp} (ISC) [installed]
libmbedtls21-3.6.2-r1 aarch64_cortex-a53 {feeds/base/libs/mbedtls} (GPL-2.0-or-later) [installed]
libmnl0-1.0.5-r1 aarch64_cortex-a53 {feeds/base/libs/libmnl} (LGPL-2.1+) [installed]
libncurses6-6.4-r2 aarch64_cortex-a53 {feeds/base/libs/ncurses} (MIT) [installed]
libnftnl11-1.2.8-r1 aarch64_cortex-a53 {feeds/base/libs/libnftnl} (GPL-2.0-or-later) [installed]
libnghttp2-14-1.63.0-r1 aarch64_cortex-a53 {feeds/packages/libs/nghttp2} (MIT) [installed]
libnl-tiny1-2023.12.05~965c4bf4-r1 aarch64_cortex-a53 {feeds/base/libs/libnl-tiny} (LGPL-2.1) [installed]
libopenssl-conf-3.0.15-r1 aarch64_cortex-a53 {feeds/base/libs/openssl} (Apache-2.0) [installed]
libopenssl3-3.0.15-r1 aarch64_cortex-a53 {feeds/base/libs/openssl} (Apache-2.0) [installed]
libpcap1-1.10.5-r1 aarch64_cortex-a53 {feeds/base/libs/libpcap} (BSD-3-Clause) [installed]
libpcre2-10.42-r1 aarch64_cortex-a53 {feeds/base/libs/pcre2} (BSD-3-Clause) [installed]
libpthread-1.2.5-r4 aarch64_cortex-a53 {feeds/base/libs/toolchain} (GPL-3.0-with-GCC-exception) [installed]
librt-1.2.5-r4 aarch64_cortex-a53 {feeds/base/libs/toolchain} (GPL-3.0-with-GCC-exception) [installed]
libstdcpp6-13.3.0-r4 aarch64_cortex-a53 {feeds/base/libs/toolchain} (GPL-3.0-with-GCC-exception) [installed]
libubox20240329-2024.03.29~eb9bcb64-r1 aarch64_cortex-a53 {feeds/base/libs/libubox} (ISC) [installed]
libubus-lua-2024.10.20~252a9b0c-r1 aarch64_cortex-a53 {feeds/base/system/ubus} (LGPL-2.1) [installed]
libubus20241020-2024.10.20~252a9b0c-r1 aarch64_cortex-a53 {feeds/base/system/ubus} (LGPL-2.1) [installed]
libuci20130104-2024.11.26~10f7996e-r1 aarch64_cortex-a53 {feeds/base/system/uci} (LGPL-2.1) [installed]
libuclient20201210-2024.10.22~88ae8f20-r1 aarch64_cortex-a53 {feeds/base/libs/uclient} (ISC) [installed]
libucode20230711-2024.12.06~209f041f-r1 aarch64_cortex-a53 {feeds/base/utils/ucode} (ISC) [installed]
libudebug-2023.12.06~6d3f51f9 aarch64_cortex-a53 {feeds/base/libs/udebug} (GPL-2.0) [installed]
libustream-mbedtls20201210-2024.07.28~99bd3d2b-r1 aarch64_cortex-a53 {feeds/base/libs/ustream-ssl} (ISC) [installed]
logd-2024.04.26~85f10530-r1 aarch64_cortex-a53 {feeds/base/system/ubox} (GPL-2.0) [installed]
lua-5.1.5-r11 aarch64_cortex-a53 {feeds/base/utils/lua} (MIT) [installed]
luci-24.355.00587~f92e072 noarch {feeds/luci/collections/luci} (Apache-2.0) [installed]
luci-app-firewall-24.355.00587~f92e072 noarch {feeds/luci/applications/luci-app-firewall} (Apache-2.0) [installed]
luci-app-package-manager-24.355.00587~f92e072 noarch {feeds/luci/applications/luci-app-package-manager} (Apache-2.0) [installed]
luci-app-pbr-1.1.7-r47 noarch {feeds/luci/applications/luci-app-pbr} (AGPL-3.0-or-later) [installed]
luci-base-24.355.00587~f92e072 aarch64_cortex-a53 {feeds/luci/modules/luci-base} (Apache-2.0) [installed]
luci-lib-base-24.355.00587~f92e072 noarch {feeds/luci/libs/luci-lib-base} (Apache-2.0) [installed]
luci-lib-docker-24.355.00587~f92e072 noarch {feeds/luci/collections/luci-lib-docker} (AGPL-3.0) [installed]
luci-lib-ip-24.355.00587~f92e072 aarch64_cortex-a53 {feeds/luci/libs/luci-lib-ip} (Apache-2.0) [installed]
luci-lib-jsonc-24.355.00587~f92e072 aarch64_cortex-a53 {feeds/luci/libs/luci-lib-jsonc} (Apache-2.0) [installed]
luci-lib-nixio-24.355.00587~f92e072 aarch64_cortex-a53 {feeds/luci/libs/luci-lib-nixio} (Apache-2.0) [installed]
luci-lib-uqr-24.355.00587~f92e072 noarch {feeds/luci/libs/luci-lib-uqr} (MIT) [installed]
luci-light-24.355.00587~f92e072 noarch {feeds/luci/collections/luci-light} (Apache-2.0) [installed]
luci-lua-runtime-24.355.00587~f92e072 aarch64_cortex-a53 {feeds/luci/modules/luci-lua-runtime} (Apache-2.0) [installed]
luci-mod-admin-full-24.355.00587~f92e072 noarch {feeds/luci/modules/luci-mod-admin-full} (Apache-2.0) [installed]
luci-mod-network-24.355.00587~f92e072 noarch {feeds/luci/modules/luci-mod-network} (Apache-2.0) [installed]
luci-mod-status-24.355.00587~f92e072 aarch64_cortex-a53 {feeds/luci/modules/luci-mod-status} (Apache-2.0) [installed]
luci-mod-system-24.355.00587~f92e072 noarch {feeds/luci/modules/luci-mod-system} (Apache-2.0) [installed]
luci-proto-ipv6-24.355.00587~f92e072 noarch {feeds/luci/protocols/luci-proto-ipv6} (Apache-2.0) [installed]
luci-proto-ppp-24.355.00587~f92e072 noarch {feeds/luci/protocols/luci-proto-ppp} (Apache-2.0) [installed]
luci-proto-wireguard-24.355.00587~f92e072 noarch {feeds/luci/protocols/luci-proto-wireguard} (Apache-2.0) [installed]
luci-theme-bootstrap-24.355.00587~f92e072 noarch {feeds/luci/themes/luci-theme-bootstrap} (Apache-2.0) [installed]
mt7981-wo-firmware-20241110-r1 aarch64_cortex-a53 {feeds/base/firmware/linux-firmware} () [installed]
mtd-26 aarch64_cortex-a53 {feeds/base/system/mtd} (GPL-2.0+) [installed]
netcat-0.7.1-r2 aarch64_cortex-a53 {feeds/packages/net/netcat} (GPL-2.0) [installed]
netifd-2024.12.17~ea01ed41-r1 aarch64_cortex-a53 {feeds/base/network/config/netifd} (GPL-2.0) [installed]
nftables-json-1.1.1-r1 aarch64_cortex-a53 {feeds/base/network/utils/nftables} (GPL-2.0) [installed]
nmap-7.95-r1 aarch64_cortex-a53 {feeds/packages/net/nmap} (NPSL-0.94-or-NPSL-0.95) [installed]
odhcp6c-2024.09.25~b6ae9ffa-r1 aarch64_cortex-a53 {feeds/base/network/ipv6/odhcp6c} (GPL-2.0) [installed]
odhcpd-ipv6only-2024.05.08~a2988231-r1 aarch64_cortex-a53 {feeds/base/network/services/odhcpd} (GPL-2.0) [installed]
openssl-util-3.0.15-r1 aarch64_cortex-a53 {feeds/base/libs/openssl} (Apache-2.0) [installed]
openwrt-keyring-2024.11.01~fbae29d7-r1 aarch64_cortex-a53 {feeds/base/system/openwrt-keyring} (GPL-2.0) [installed]
pbr-1.1.8-r2 noarch {feeds/packages/net/pbr} (AGPL-3.0-or-later) [installed]
ppp-2.5.1-r1 aarch64_cortex-a53 {feeds/base/network/services/ppp} (BSD-4-Clause) [installed]
ppp-mod-pppoe-2.5.1-r1 aarch64_cortex-a53 {feeds/base/network/services/ppp} (BSD-4-Clause) [installed]
procd-2024.12.17~fd01fb85-r1 aarch64_cortex-a53 {feeds/base/system/procd} (GPL-2.0) [installed]
procd-seccomp-2024.12.17~fd01fb85-r1 aarch64_cortex-a53 {feeds/base/system/procd} (GPL-2.0) [installed]
procd-ujail-2024.12.17~fd01fb85-r1 aarch64_cortex-a53 {feeds/base/system/procd} (GPL-2.0) [installed]
resolveip-2 aarch64_cortex-a53 {feeds/base/network/utils/resolveip} (GPL-2.0) [installed]
rpcd-2024.12.02~cc9a471c-r1 aarch64_cortex-a53 {feeds/base/system/rpcd} (ISC) [installed]
rpcd-mod-file-2024.12.02~cc9a471c-r1 aarch64_cortex-a53 {feeds/base/system/rpcd} (ISC) [installed]
rpcd-mod-iwinfo-2024.12.02~cc9a471c-r1 aarch64_cortex-a53 {feeds/base/system/rpcd} (ISC) [installed]
rpcd-mod-luci-20240305-r1 aarch64_cortex-a53 {feeds/luci/libs/rpcd-mod-luci} (Apache-2.0) [installed]
rpcd-mod-rrdns-20170710 aarch64_cortex-a53 {feeds/luci/libs/rpcd-mod-rrdns} (Apache-2.0) [installed]
rpcd-mod-ucode-2024.12.02~cc9a471c-r1 aarch64_cortex-a53 {feeds/base/system/rpcd} (ISC) [installed]
terminfo-6.4-r2 aarch64_cortex-a53 {feeds/base/libs/ncurses} (MIT) [installed]
ubi-utils-2.2.1-r1 aarch64_cortex-a53 {feeds/base/utils/mtd-utils} (GPLv2) [installed]
uboot-envtools-2024.07-r1 aarch64_cortex-a53 {feeds/base/boot/uboot-envtools} (GPL-2.0 GPL-2.0+) [installed]
ubox-2024.04.26~85f10530-r1 aarch64_cortex-a53 {feeds/base/system/ubox} (GPL-2.0) [installed]
ubus-2024.10.20~252a9b0c-r1 aarch64_cortex-a53 {feeds/base/system/ubus} (LGPL-2.1) [installed]
ubusd-2024.10.20~252a9b0c-r1 aarch64_cortex-a53 {feeds/base/system/ubus} (LGPL-2.1) [installed]
uci-2024.11.26~10f7996e-r1 aarch64_cortex-a53 {feeds/base/system/uci} (LGPL-2.1) [installed]
uclient-fetch-2024.10.22~88ae8f20-r1 aarch64_cortex-a53 {feeds/base/libs/uclient} (ISC) [installed]
ucode-2024.12.06~209f041f-r1 aarch64_cortex-a53 {feeds/base/utils/ucode} (ISC) [installed]
ucode-mod-digest-2024.12.06~209f041f-r1 aarch64_cortex-a53 {feeds/base/utils/ucode} (ISC) [installed]
ucode-mod-fs-2024.12.06~209f041f-r1 aarch64_cortex-a53 {feeds/base/utils/ucode} (ISC) [installed]
ucode-mod-html-1 aarch64_cortex-a53 {feeds/luci/contrib/package/ucode-mod-html} (ISC) [installed]
ucode-mod-lua-1 aarch64_cortex-a53 {feeds/luci/contrib/package/ucode-mod-lua} (ISC) [installed]
ucode-mod-math-2024.12.06~209f041f-r1 aarch64_cortex-a53 {feeds/base/utils/ucode} (ISC) [installed]
ucode-mod-nl80211-2024.12.06~209f041f-r1 aarch64_cortex-a53 {feeds/base/utils/ucode} (ISC) [installed]
ucode-mod-rtnl-2024.12.06~209f041f-r1 aarch64_cortex-a53 {feeds/base/utils/ucode} (ISC) [installed]
ucode-mod-ubus-2024.12.06~209f041f-r1 aarch64_cortex-a53 {feeds/base/utils/ucode} (ISC) [installed]
ucode-mod-uci-2024.12.06~209f041f-r1 aarch64_cortex-a53 {feeds/base/utils/ucode} (ISC) [installed]
ucode-mod-uloop-2024.12.06~209f041f-r1 aarch64_cortex-a53 {feeds/base/utils/ucode} (ISC) [installed]
uhttpd-2023.06.25~34a8a74d-r4 aarch64_cortex-a53 {feeds/base/network/services/uhttpd} (ISC) [installed]
uhttpd-mod-ubus-2023.06.25~34a8a74d-r4 aarch64_cortex-a53 {feeds/base/network/services/uhttpd} (ISC) [installed]
urandom-seed-3 aarch64_cortex-a53 {feeds/base/system/urandom-seed} (GPL-2.0-only) [installed]
urngd-2023.11.01~44365eb1-r1 aarch64_cortex-a53 {feeds/base/system/urngd} (GPL-2.0 BSD-3-Clause) [installed]
usign-2020.05.23~f1f65026-r1 aarch64_cortex-a53 {feeds/base/system/usign} (ISC) [installed]
wget-nossl-1.24.5-r1 aarch64_cortex-a53 {feeds/packages/net/wget} (GPL-3.0-or-later) [installed]
wget-ssl-1.24.5-r1 aarch64_cortex-a53 {feeds/packages/net/wget} (GPL-3.0-or-later) [installed]
wifi-scripts-1.0-r1 noarch {feeds/base/network/config/wifi-scripts} (GPL-2.0) [installed]
wireguard-tools-1.0.20210914-r4 aarch64_cortex-a53 {feeds/base/network/utils/wireguard-tools} (GPL-2.0) [installed]
wireless-regdb-2024.10.07-r1 noarch {feeds/base/firmware/wireless-regdb} (ISC) [installed]
wpad-basic-mbedtls-2024.09.15~5ace39b0-r2 aarch64_cortex-a53 {feeds/base/network/services/hostapd} (BSD-3-Clause) [installed]
zlib-1.3.1-r1 aarch64_cortex-a53 {feeds/base/libs/zlib} (Zlib) [installed]
NickZL
December 25, 2024, 2:07pm
8
I downloaded this package from below link but 'apk add ./libustream-openssl20201210-2024.07.28~99bd3d2b-r1.apk' got the similar 'No such file or directory...' error. Not sure how to install it.
https://mirror-03.infra.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/libustream-openssl20201210-2024.07.28~99bd3d2b-r1.apk
try
apk add ./libustream-openssl20201210-2024.07.28~99bd3d2b-r1.apk
from same directory
efahl
December 25, 2024, 2:14pm
10
Before installing anything new, I'd suggest verifying that the required wget
capability exists. Do you see the following on the device?
$ type wget
wget is /usr/bin/wget
$ ls -la /usr/bin/wget
lrwxrwxrwx 1 root root 18 Sep 23 05:34 /usr/bin/wget -> /bin/uclient-fetch*
egc
December 25, 2024, 2:16pm
11
Are you sure apk needs openssl?
I recently compiled and saw there where two options for apk, one indeed with openssl and the other for mbedtls, but I might be mistaken.
I used the one for openssl as the rest of my stuff is also using openssl and that worked fine.
2 Likes
efahl
December 25, 2024, 2:18pm
12
You are correct, and that's easily verified. And also why I'm leary that "openssl missing" is a solution.
$ apk info --depends apk
apk-mbedtls-3.0.0_pre20241130-r2 depends on:
libc
libmbedtls21
wget
zlib
apk-openssl-3.0.0_pre20241130-r2 depends on:
libc
libopenssl3
wget
zlib
1 Like
efahl
December 25, 2024, 2:21pm
13
There is no wget
package, it is a capability. Just like you install nftables-json
to get the nftables
capability, you install one of uclient-fetch
, wget-nossl
or wget-ssl
to obtain the wget
capability. If uclient-fetch
was not installed correctly (see my post two above), then apk
will not be able to download.
it was on openwrt doc. (old)
but both of the packages are installed
can you post the all the related config file for apk from /etc (/etc/apk) directory?
and have you tried to update apk without ssl verification like
apk update --no-check-certificate
i'm not sure about the attribute --no-check-certificate, it it goes wrong find in apk -h / apk --help
NickZL
December 25, 2024, 2:47pm
16
Yes that's exactly the command I used. I've corrected it in my previous post.
NickZL
December 25, 2024, 2:47pm
17
efahl:
apk-mbedtls
By default apk-mbedtls is selected. I'll try apk-openssl and update the result later.
1 Like
NickZL
December 26, 2024, 1:40am
19
When I built the image I selected both wget-nossl and wget-ssl as built-in module.
root@opone:~# apk list --installed | grep wget
wget-nossl-1.24.5-r1 aarch64_cortex-a53 {feeds/packages/net/wget} (GPL-3.0-or-later) [installed]
wget-ssl-1.24.5-r1 aarch64_cortex-a53 {feeds/packages/net/wget} (GPL-3.0-or-later) [installed]
But I didn't see wget under /usr/bin. Instead they are under /usr/libexec.
root@opone:~# ls /usr/libexec/wget*
/usr/libexec/wget-nossl /usr/libexec/wget-ssl
And uclient-fetch is in /usr/bin.
NickZL
December 26, 2024, 1:46am
20
I tried selecting apk-openssl instead and rebuilt the image, but still not work.
And I found if I upgrade with the latest CI image , 'apk update' works fine. I also discovered on TOP of mainline the kernel is 6.6.67 but on my local code it's still 6.6.66. By my understanding this shall not cause 'apk update' failure but I will try to pull the latest changes and rebuild the image.
BTW, I tried "apk update --no-check-certificate" and it made no difference.
what about
cp /usr/libexec/wget-nossl /usr/bin
cp /usr/libexec/wget-ssl /usr/bin
and then apk update?