Owut: OpenWrt Upgrade Tool

Just wanted to let users of the OpenWrt forks LibreMesh and ImmortalWrt that your sysupgrade servers are working with owut, so probably work with LuCI ASU app, too.

Set the upstream server url as follows.

For LibreMesh:

uci set attendedsysupgrade.server.url='https://sysupgrade.antennine.org'
uci commit attendedsysupgrade

For ImmortalWrt:

uci set attendedsysupgrade.server.url='https://sysupgrade.kyarucloud.moe'
uci commit attendedsysupgrade

Before you do custom builds, you should go to those sites and check out the "Server Configuration" section at the bottom of the page, as they are configured differently than the OpenWrt ASU server. For example, max rootfs partition size on OpenWrt is 1024 MB, but on LibreMesh it's only 256 MB and on ImmortalWrt it's 4096 MB.

1 Like

i always get problem when try to upgrade by adding libustream-openssl or libustream-mbedtls

libustream-mbedtls
Progress:   0s total =   0s in queue +   0s in build

Build failed in   0s total =   0s in queue +   0s to build:
ASU server error =
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/rq/worker.py", line 1643, in perform_job
    return_value = job.perform()
                   ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1359, in perform
    self._result = self._execute()
                   ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1393, in _execute
    result = self.func(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 259, in build
    report_error(job, err)
  File "/app/asu/util.py", line 309, in report_error
    raise RuntimeError(msg)
RuntimeError: Impossible package selection: libustream-mbedtls not in manifest

ASU server stdout =
apk-mbedtls 3.0.0_pre20250606-r2
attendedsysupgrade-common 9
base-files 1665~ba2ae60a00
bash 5.2.37-r1
busybox 1.37.0-r4
ca-bundle 20241223-r1
cgi-io 2022.08.10~901b0f04-r21
collectd 5.12.0-r54
collectd-mod-cpu 5.12.0-r54
collectd-mod-interface 5.12.0-r54
collectd-mod-iwinfo 5.12.0-r54
collectd-mod-load 5.12.0-r54
collectd-mod-memory 5.12.0-r54
collectd-mod-network 5.12.0-r54
collectd-mod-rrdtool 5.12.0-r54
coreutils 9.7-r1
coreutils-sleep 9.7-r1
coreutils-sort 9.7-r1
curl 8.12.1-r2
dnsmasq-full 2.91-r2
dnsproxy 0.75.6-r1
eip197-mini-firmware 20250613-r1
ethtool 6.14-r1
firewall4 2025.03.17~b6e51575-r1
fit-check-sign 2025.01-r3
fitblk 2
fstools 2024.12.02~49d36ba2-r1
fwtool 2019.11.12~8f7fe925-r1
getrandom 2024.04.26~85f10530-r1
gzip 1.13-r1
hostapd-common 2025.05.23~4b8ac10c-r2
ip-full 6.14.0-r1
iperf3 3.19-r1
iptables-mod-ipopt 1.8.10-r1
iptables-mod-physdev 1.8.10-r1
iptables-nft 1.8.10-r1
iw 6.9-r4
iwinfo 2025.02.06~9cec6b4d-r1
jansson4 2.14-r3
jq 1.8.0-r1
jshn 2024.12.19~3868f47c-r1
jsonfilter 2025.04.18~8a86fb78-r1
kernel 6.6.94~596904de03e3e37cdd8a550a7a19b8a6-r1
kmod-br-netfilter 6.6.94-r1
kmod-cfg80211 6.6.94.6.12.6-r2
kmod-crypto-aead 6.6.94-r1
kmod-crypto-authenc 6.6.94-r1
kmod-crypto-ccm 6.6.94-r1
kmod-crypto-cmac 6.6.94-r1
kmod-crypto-crc32c 6.6.94-r1
kmod-crypto-ctr 6.6.94-r1
kmod-crypto-des 6.6.94-r1
kmod-crypto-gcm 6.6.94-r1
kmod-crypto-geniv 6.6.94-r1
kmod-crypto-gf128 6.6.94-r1
kmod-crypto-ghash 6.6.94-r1
kmod-crypto-hash 6.6.94-r1
kmod-crypto-hmac 6.6.94-r1
kmod-crypto-hw-safexcel 6.6.94-r1
kmod-crypto-kpp 6.6.94-r1
kmod-crypto-lib-chacha20 6.6.94-r1
kmod-crypto-lib-chacha20poly1305 6.6.94-r1
kmod-crypto-lib-curve25519 6.6.94-r1
kmod-crypto-lib-poly1305 6.6.94-r1
kmod-crypto-manager 6.6.94-r1
kmod-crypto-md5 6.6.94-r1
kmod-crypto-null 6.6.94-r1
kmod-crypto-rng 6.6.94-r1
kmod-crypto-seqiv 6.6.94-r1
kmod-crypto-sha1 6.6.94-r1
kmod-crypto-sha256 6.6.94-r1
kmod-crypto-sha3 6.6.94-r1
kmod-crypto-sha512 6.6.94-r1
kmod-gpio-button-hotplug 6.6.94-r5
kmod-hwmon-core 6.6.94-r1
kmod-ifb 6.6.94-r1
kmod-ipt-core 6.6.94-r1
kmod-ipt-ipopt 6.6.94-r1
kmod-ipt-physdev 6.6.94-r1
kmod-leds-gpio 6.6.94-r1
kmod-leds-ws2812b 6.6.94-r1
kmod-lib-crc-ccitt 6.6.94-r1
kmod-lib-crc32c 6.6.94-r1
kmod-libphy 6.6.94-r1
kmod-mac80211 6.6.94.6.12.6-r2
kmod-mt76-connac 6.6.94.2025.06.18~a17fbd3d-r1
kmod-mt76-core 6.6.94.2025.06.18~a17fbd3d-r1
kmod-mt7915e 6.6.94.2025.06.18~a17fbd3d-r1
kmod-mt7986-firmware 6.6.94.2025.06.18~a17fbd3d-r1
kmod-nf-conntrack 6.6.94-r1
kmod-nf-conntrack-netlink 6.6.94-r1
kmod-nf-conntrack6 6.6.94-r1
kmod-nf-flow 6.6.94-r1
kmod-nf-ipt 6.6.94-r1
kmod-nf-log 6.6.94-r1
kmod-nf-log6 6.6.94-r1
kmod-nf-nat 6.6.94-r1
kmod-nf-reject 6.6.94-r1
kmod-nf-reject6 6.6.94-r1
kmod-nfnetlink 6.6.94-r1
kmod-nfnetlink-queue 6.6.94-r1
kmod-nft-compat 6.6.94-r1
kmod-nft-core 6.6.94-r1
kmod-nft-fib 6.6.94-r1
kmod-nft-nat 6.6.94-r1
kmod-nft-offload 6.6.94-r1
kmod-phy-aquantia 6.6.94-r1
kmod-ppp 6.6.94-r1
kmod-pppoe 6.6.94-r1
kmod-pppox 6.6.94-r1
kmod-sched-cake 6.6.94-r1
kmod-sched-core 6.6.94-r1
kmod-slhc 6.6.94-r1
kmod-thermal 6.6.94-r1
kmod-tun 6.6.94-r1
kmod-udptunnel4 6.6.94-r1
kmod-udptunnel6 6.6.94-r1
kmod-wireguard 6.6.94-r1
libatomic1 14.3.0-r4
libblobmsg-json20241219 2024.12.19~3868f47c-r1
libbpf1 1.5.0-r1
libc 1.2.5-r4
libcurl4 8.12.1-r2
libelf1 0.192-r1
libgcc1 14.3.0-r4
libgmp10 6.3.0-r2
libiperf3 3.19-r1
libiptext-nft0 1.8.10-r1
libiptext0 1.8.10-r1
libiptext6-0 1.8.10-r1
libiwinfo-data 2025.02.06~9cec6b4d-r1
libiwinfo20230701 2025.02.06~9cec6b4d-r1
libjson-c5 0.18-r1
libjson-script20241219 2024.12.19~3868f47c-r1
libltdl7 2.4.7-r1
liblua5.1.5 5.1.5-r11
liblucihttp-ucode 2023.03.15~9b5b683f-r1
liblucihttp0 2023.03.15~9b5b683f-r1
libmbedtls21 3.6.3-r2
libmnl0 1.0.5-r1
libncurses6 6.4-r2
libnetfilter-conntrack3 1.0.9-r2
libnettle8 3.10.1-r1
libnfnetlink0 1.0.2-r1
libnftnl11 1.2.8-r1
libnghttp2-14 1.63.0-r1
libnl-tiny1 2025.03.19~c0df580a-r1
libopenssl3 3.5.0-r1
libpthread 1.2.5-r4
libreadline8 8.2-r2
librrd1 1.0.50-r7
libubox20241219 2024.12.19~3868f47c-r1
libubus20250516 2025.05.16~88e63250-r1
libuci-lua 2025.01.20~16ff0bad-r1
libuci20250120 2025.01.20~16ff0bad-r1
libuclient20201210 2024.10.22~88ae8f20-r1
libucode20230711 2025.06.09~37ac8f11-r1
libudebug 2023.12.06~6d3f51f9
libustream-mbedtls20201210 2024.07.28~99bd3d2b-r1
libxtables12 1.8.10-r1
logd 2024.04.26~85f10530-r1
lua 5.1.5-r11
lua-bit32 5.3.0-r1
luaposix 36.3-r1
luci 25.177.54658~9aeb345
luci-app-attendedsysupgrade 25.177.54658~9aeb345
luci-app-commands 25.177.54658~9aeb345
luci-app-firewall 25.177.54658~9aeb345
luci-app-package-manager 25.177.54658~9aeb345
luci-app-pbr 1.1.8-r10
luci-app-sqm 25.177.54658~9aeb345
luci-app-statistics 25.177.54658~9aeb345
luci-base 25.177.54658~9aeb345
luci-lib-jsonc 25.177.54658~9aeb345
luci-lib-nixio 25.177.54658~9aeb345
luci-lib-uqr 25.177.54658~9aeb345
luci-light 25.177.54658~9aeb345
luci-mod-admin-full 25.177.54658~9aeb345
luci-mod-network 25.177.54658~9aeb345
luci-mod-status 25.177.54658~9aeb345
luci-mod-system 25.177.54658~9aeb345
luci-proto-ipv6 25.177.54658~9aeb345
luci-proto-ppp 25.177.54658~9aeb345
luci-proto-wireguard 25.177.54658~9aeb345
luci-theme-bootstrap 25.177.54658~9aeb345
mdns-repeater 2020.05.03~921d8850-r2
mt7986-wo-firmware 20250613-r1
mtd 26
nano 8.5-r1
netifd 2025.05.23~7901e66c-r1
nftables-json 1.1.1-r1
odhcp6c 2025.02.06~8aa8b706-r1
odhcpd-ipv6only 2024.05.08~a2988231-r1
openssh-client 10.0_p1-r2
openssh-client-utils 10.0_p1-r2
openssh-keygen 10.0_p1-r2
openssh-server 10.0_p1-r2
openssh-sftp-server 10.0_p1-r2
openwrt-keyring 2024.11.01~fbae29d7-r1
owut 2025.05.12~8353c4e9-r1
pbr 1.1.8-r16
ppp 2.5.2-r1
ppp-mod-pppoe 2.5.2-r1
procd 2025.06.19~cde025d5-r1
procd-seccomp 2025.06.19~cde025d5-r1
procd-ujail 2025.06.19~cde025d5-r1
resolveip 2
rpcd 2025.06.22~9389775c-r1
rpcd-mod-file 2025.06.22~9389775c-r1
rpcd-mod-iwinfo 2025.06.22~9389775c-r1
rpcd-mod-luci 20240305-r1
rpcd-mod-rpcsys 2025.06.22~9389775c-r1
rpcd-mod-rrdns 20170710
rpcd-mod-ucode 2025.06.22~9389775c-r1
rrdtool1 1.0.50-r7
sqm-scripts 1.6.0-r1
tailscale 1.84.2-r1
tc-full 6.14.0-r1
terminfo 6.4-r2
tree 2.2.1-r1
ubi-utils 2.2.1-r1
uboot-envtools 2025.01-r3
ubox 2024.04.26~85f10530-r1
ubus 2025.05.16~88e63250-r1
ubusd 2025.05.16~88e63250-r1
uci 2025.01.20~16ff0bad-r1
uclient-fetch 2024.10.22~88ae8f20-r1
ucode 2025.06.09~37ac8f11-r1
ucode-mod-digest 2025.06.09~37ac8f11-r1
ucode-mod-fs 2025.06.09~37ac8f11-r1
ucode-mod-html 1
ucode-mod-math 2025.06.09~37ac8f11-r1
ucode-mod-nl80211 2025.06.09~37ac8f11-r1
ucode-mod-rtnl 2025.06.09~37ac8f11-r1
ucode-mod-ubus 2025.06.09~37ac8f11-r1
ucode-mod-uci 2025.06.09~37ac8f11-r1
ucode-mod-uclient 2024.10.22~88ae8f20-r1
ucode-mod-uloop 2025.06.09~37ac8f11-r1
uhttpd 2023.06.25~34a8a74d-r4
uhttpd-mod-ubus 2023.06.25~34a8a74d-r4
urandom-seed 3
urngd 2023.11.01~44365eb1-r1
usign 2020.05.23~f1f65026-r1
wifi-scripts 1.0-r1
wireguard-tools 1.0.20250521-r1
wireless-regdb 2025.02.20-r1
wpad-mbedtls 2025.05.23~4b8ac10c-r2
xtables-nft 1.8.10-r1
zlib 1.3.1-r1

ASU server stderr =
Generate local signing keys...
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
read EC key
writing EC key
WARNING: opening /builder/packages/packages.adb: No such file or directory
Package list missing or not up-to-date, generating it.

Building package index...

ERROR: Build failed with status 500```
libustream-openssl
Progress:   0s total =   0s in queue +   0s in build

Build failed in   0s total =   0s in queue +   0s to build:
ASU server error =
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/rq/worker.py", line 1643, in perform_job
    return_value = job.perform()
                   ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1359, in perform
    self._result = self._execute()
                   ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1393, in _execute
    result = self.func(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 259, in build
    report_error(job, err)
  File "/app/asu/util.py", line 309, in report_error
    raise RuntimeError(msg)
RuntimeError: Impossible package selection: libustream-openssl not in manifest

ASU server stdout =
apk-openssl 3.0.0_pre20250606-r2
attendedsysupgrade-common 9
base-files 1665~ba2ae60a00
bash 5.2.37-r1
busybox 1.37.0-r4
ca-bundle 20241223-r1
cgi-io 2022.08.10~901b0f04-r21
curl 8.12.1-r2
dnsmasq-full 2.91-r2
eip197-mini-firmware 20250613-r1
ethtool 6.14-r1
f2fsck 1.16.0-r4
firewall4 2025.03.17~b6e51575-r1
fit-check-sign 2025.01-r3
fitblk 2
fstools 2024.12.02~49d36ba2-r1
fwtool 2019.11.12~8f7fe925-r1
getrandom 2024.04.26~85f10530-r1
hostapd-common 2025.05.23~4b8ac10c-r2
ip-full 6.14.0-r1
iperf3 3.19-r1
iw 6.9-r4
iwinfo 2025.02.06~9cec6b4d-r1
jansson4 2.14-r3
jq 1.8.0-r1
jshn 2024.12.19~3868f47c-r1
jsonfilter 2025.04.18~8a86fb78-r1
kernel 6.6.94~596904de03e3e37cdd8a550a7a19b8a6-r1
kmod-cfg80211 6.6.94.6.12.6-r2
kmod-crypto-aead 6.6.94-r1
kmod-crypto-authenc 6.6.94-r1
kmod-crypto-ccm 6.6.94-r1
kmod-crypto-cmac 6.6.94-r1
kmod-crypto-crc32c 6.6.94-r1
kmod-crypto-ctr 6.6.94-r1
kmod-crypto-des 6.6.94-r1
kmod-crypto-gcm 6.6.94-r1
kmod-crypto-geniv 6.6.94-r1
kmod-crypto-gf128 6.6.94-r1
kmod-crypto-ghash 6.6.94-r1
kmod-crypto-hash 6.6.94-r1
kmod-crypto-hmac 6.6.94-r1
kmod-crypto-hw-safexcel 6.6.94-r1
kmod-crypto-manager 6.6.94-r1
kmod-crypto-md5 6.6.94-r1
kmod-crypto-null 6.6.94-r1
kmod-crypto-rng 6.6.94-r1
kmod-crypto-seqiv 6.6.94-r1
kmod-crypto-sha1 6.6.94-r1
kmod-crypto-sha256 6.6.94-r1
kmod-crypto-sha3 6.6.94-r1
kmod-crypto-sha512 6.6.94-r1
kmod-gpio-button-hotplug 6.6.94-r5
kmod-hwmon-core 6.6.94-r1
kmod-ifb 6.6.94-r1
kmod-ipt-conntrack 6.6.94-r1
kmod-ipt-conntrack-extra 6.6.94-r1
kmod-ipt-core 6.6.94-r1
kmod-leds-gpio 6.6.94-r1
kmod-lib-crc-ccitt 6.6.94-r1
kmod-lib-crc32c 6.6.94-r1
kmod-lib-textsearch 6.6.94-r1
kmod-libphy 6.6.94-r1
kmod-mac80211 6.6.94.6.12.6-r2
kmod-mt76-connac 6.6.94.2025.06.18~a17fbd3d-r1
kmod-mt76-core 6.6.94.2025.06.18~a17fbd3d-r1
kmod-mt7915e 6.6.94.2025.06.18~a17fbd3d-r1
kmod-mt7981-firmware 6.6.94.2025.06.18~a17fbd3d-r1
kmod-netem 6.6.94-r1
kmod-nf-conncount 6.6.94-r1
kmod-nf-conntrack 6.6.94-r1
kmod-nf-conntrack-netlink 6.6.94-r1
kmod-nf-conntrack6 6.6.94-r1
kmod-nf-flow 6.6.94-r1
kmod-nf-ipt 6.6.94-r1
kmod-nf-log 6.6.94-r1
kmod-nf-log6 6.6.94-r1
kmod-nf-nat 6.6.94-r1
kmod-nf-reject 6.6.94-r1
kmod-nf-reject6 6.6.94-r1
kmod-nfnetlink 6.6.94-r1
kmod-nft-core 6.6.94-r1
kmod-nft-fib 6.6.94-r1
kmod-nft-nat 6.6.94-r1
kmod-nft-offload 6.6.94-r1
kmod-nls-base 6.6.94-r1
kmod-phy-aquantia 6.6.94-r1
kmod-ppp 6.6.94-r1
kmod-pppoe 6.6.94-r1
kmod-pppox 6.6.94-r1
kmod-sched 6.6.94-r1
kmod-sched-cake 6.6.94-r1
kmod-sched-core 6.6.94-r1
kmod-sched-ctinfo 6.6.94-r1
kmod-sched-red 6.6.94-r1
kmod-slhc 6.6.94-r1
kmod-thermal 6.6.94-r1
kmod-usb-core 6.6.94-r1
kmod-usb-xhci-hcd 6.6.94-r1
kmod-usb-xhci-mtk 6.6.94-r1
kmod-usb3 6.6.94-r1
kmod-veth 6.6.94-r1
libatomic1 14.3.0-r4
libblobmsg-json20241219 2024.12.19~3868f47c-r1
libbpf1 1.5.0-r1
libc 1.2.5-r4
libcurl4 8.12.1-r2
libelf1 0.192-r1
libf2fs6 1.16.0-r4
libgcc1 14.3.0-r4
libgmp10 6.3.0-r2
libiperf3 3.19-r1
libiwinfo-data 2025.02.06~9cec6b4d-r1
libiwinfo20230701 2025.02.06~9cec6b4d-r1
libjson-c5 0.18-r1
libjson-script20241219 2024.12.19~3868f47c-r1
liblua5.1.5 5.1.5-r11
liblucihttp-ucode 2023.03.15~9b5b683f-r1
liblucihttp0 2023.03.15~9b5b683f-r1
libmbedtls21 3.6.3-r2
libmnl0 1.0.5-r1
libncurses6 6.4-r2
libnetfilter-conntrack3 1.0.9-r2
libnettle8 3.10.1-r1
libnfnetlink0 1.0.2-r1
libnftnl11 1.2.8-r1
libnghttp2-14 1.63.0-r1
libnl-tiny1 2025.03.19~c0df580a-r1
libopenssl-conf 3.5.0-r1
libopenssl-legacy 3.5.0-r1
libopenssl3 3.5.0-r1
libpthread 1.2.5-r4
libreadline8 8.2-r2
librt 1.2.5-r4
libubox20241219 2024.12.19~3868f47c-r1
libubus20250516 2025.05.16~88e63250-r1
libuci20250120 2025.01.20~16ff0bad-r1
libuclient20201210 2024.10.22~88ae8f20-r1
libucode20230711 2025.06.09~37ac8f11-r1
libudebug 2023.12.06~6d3f51f9
libustream-openssl20201210 2024.07.28~99bd3d2b-r1
libuuid1 2.41-r1
libxtables12 1.8.10-r1
logd 2024.04.26~85f10530-r1
lua 5.1.5-r11
luci 25.177.54658~9aeb345
luci-app-attendedsysupgrade 25.177.54658~9aeb345
luci-app-firewall 25.177.54658~9aeb345
luci-app-package-manager 25.177.54658~9aeb345
luci-base 25.177.54658~9aeb345
luci-lib-jsonc 25.177.54658~9aeb345
luci-lib-nixio 25.177.54658~9aeb345
luci-light 25.177.54658~9aeb345
luci-mod-admin-full 25.177.54658~9aeb345
luci-mod-network 25.177.54658~9aeb345
luci-mod-status 25.177.54658~9aeb345
luci-mod-system 25.177.54658~9aeb345
luci-proto-ipv6 25.177.54658~9aeb345
luci-proto-ppp 25.177.54658~9aeb345
luci-theme-bootstrap 25.177.54658~9aeb345
mkf2fs 1.16.0-r4
mt7981-wo-firmware 20250613-r1
mtd 26
nano 8.5-r1
netifd 2025.05.23~7901e66c-r1
nftables-json 1.1.1-r1
odhcp6c 2025.02.06~8aa8b706-r1
odhcpd-ipv6only 2024.05.08~a2988231-r1
openssh-client 10.0_p1-r2
openssh-client-utils 10.0_p1-r2
openssh-keygen 10.0_p1-r2
openssh-server 10.0_p1-r2
openwrt-keyring 2024.11.01~fbae29d7-r1
owut 2025.05.12~8353c4e9-r1
ppp 2.5.2-r1
ppp-mod-pppoe 2.5.2-r1
procd 2025.06.19~cde025d5-r1
procd-seccomp 2025.06.19~cde025d5-r1
procd-ujail 2025.06.19~cde025d5-r1
rpcd 2025.06.22~9389775c-r1
rpcd-mod-file 2025.06.22~9389775c-r1
rpcd-mod-iwinfo 2025.06.22~9389775c-r1
rpcd-mod-luci 20240305-r1
rpcd-mod-rpcsys 2025.06.22~9389775c-r1
rpcd-mod-rrdns 20170710
rpcd-mod-ucode 2025.06.22~9389775c-r1
speedtest-go 1.7.10-r1
tc-full 6.14.0-r1
terminfo 6.4-r2
ubi-utils 2.2.1-r1
uboot-envtools 2025.01-r3
ubox 2024.04.26~85f10530-r1
ubus 2025.05.16~88e63250-r1
ubusd 2025.05.16~88e63250-r1
uci 2025.01.20~16ff0bad-r1
uclient-fetch 2024.10.22~88ae8f20-r1
ucode 2025.06.09~37ac8f11-r1
ucode-mod-digest 2025.06.09~37ac8f11-r1
ucode-mod-fs 2025.06.09~37ac8f11-r1
ucode-mod-html 1
ucode-mod-math 2025.06.09~37ac8f11-r1
ucode-mod-nl80211 2025.06.09~37ac8f11-r1
ucode-mod-rtnl 2025.06.09~37ac8f11-r1
ucode-mod-ubus 2025.06.09~37ac8f11-r1
ucode-mod-uci 2025.06.09~37ac8f11-r1
ucode-mod-uclient 2024.10.22~88ae8f20-r1
ucode-mod-uloop 2025.06.09~37ac8f11-r1
uhttpd 2023.06.25~34a8a74d-r4
uhttpd-mod-ubus 2023.06.25~34a8a74d-r4
umdns 2025.05.29~2b28094d-r1
urandom-seed 3
urngd 2023.11.01~44365eb1-r1
usign 2020.05.23~f1f65026-r1
wifi-scripts 1.0-r1
wireless-regdb 2025.02.20-r1
wpad-openssl 2025.05.23~4b8ac10c-r2
zlib 1.3.1-r1

ASU server stderr =
Generate local signing keys...
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
read EC key
writing EC key
WARNING: opening /builder/packages/packages.adb: No such file or directory
Package list missing or not up-to-date, generating it.

Building package index...

ERROR: Build failed with status 500```

any idea ?

EDIT: I completely got this backwards, use only non-ABI-versioned names with owut from this point forward, see Owut: OpenWrt Upgrade Tool - #692 by efahl, above.

Those are both installed via dependencies, so you shouldn't be explicitly adding either one. But, if you want to make them top-level packages for whatever reason, and are on an apk-based snapshot, you have to refer to them by their full ABI-versioned package name, USE THE NON-ABI-VERSIONED NAMES NOW, so libustream-mbedtls20201210 or libustream-openssl20201210 (that name will change whenever the ABI changes, so don't hard-code it anywhere).

$ apk list libustream-*
libustream-mbedtls20201210-2024.07.28~99bd3d2b-r1 x86_64 {feeds/base/package/libs/ustream-ssl} (ISC)
libustream-openssl20201210-2024.07.28~99bd3d2b-r1 x86_64 {feeds/base/package/libs/ustream-ssl} (ISC)
libustream-openssl20201210-2024.07.28~99bd3d2b-r1 x86_64 {feeds/base/package/libs/ustream-ssl} (ISC) [installed]
libustream-wolfssl20201210-2024.07.28~99bd3d2b-r1 x86_64 {feeds/base/package/libs/ustream-ssl} (ISC)

the problem is, if i don't explicitly using "-a libustream-xxx" it didn't got installed tho, ended with getting no ssl when wget-ing, so i need to generate from firmware selector web manually.

trying with the full package name as u mentioned ended with this

owut - OpenWrt Upgrade Tool 2025.05.12~8353c4e9-r1 (/usr/bin/owut)
ERROR: Package 'libustream-openssl20201210' is not available on this platform
ERROR: Errors collecting package data, terminating.

I'm encountering the same issue.

@4rtz1z @andybjackson BLAH. Someone's an idiot here and it's not you. I got that completely backwards, you should NOT specify packages with their ABI-versioned names as of the most recent fixes to the apk and rpcd packages. You SHOULD specify the packages using their non-versioned names, libustream-mbedtls, and it might/should work fine.

But, you need to have those aforementioned changes all present on your device (the upstream parts that live in the ASU server and buildbots have been working for a week+). What I suspect is happening is that you are in that gray area, with some bits of old code on your devices and that's trying to mix up the names.

Check this, and if your rpcd is old, then that's definitely the culprit. You'll need to brute force this next update somehow and that should fix this issue.

$ apk update && apk list rpcd
rpcd-2024.12.02~cc9a471c-r1 ... bad! old pre-abiversion 
rpcd-2025.06.22~9389775c-r1 ... good! new contains abiversion handling

I had the newest rpcd

rpcd-2025.06.22~9389775c-r1 aarch64_cortex-a53 {feeds/base/package/system/rpcd} (ISC) [installed]
rpcd-2025.06.22~9389775c-r1 aarch64_cortex-a53 {feeds/base/package/system/rpcd} (ISC)

Yet still couldn't add libustream-mbedtls/openssl, always ended with same output

Status:   Error: Impossible package selection: libustream-mbedtls not in manifest
Progress:  57s total =   0s in queue +  57s in build

....

ASU server stderr =
Generate local signing keys...
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
read EC key
writing EC key
WARNING: opening /builder/packages/packages.adb: No such file or directory
Package list missing or not up-to-date, generating it.

Building package index...

ERROR: Build failed with status 500

Indeed, I'm able to reproduce on a SNAPSHOT device now. Trying to find out what changed, as both 24.10 and SNAPSHOT imagebuilders are feeding back the same info, yet the ASU server borks on the SNAPSHOT results but not 24.10...

Still digging.

Root cause identified, working towards a solution.

tldr: It's a bug in imagebuilder (apk support for ABI-versioned names isn't complete).

Fix committed https://github.com/openwrt/openwrt/commit/23dc466969f3364dfa7ab480e7745480a2e816f9

4 Likes

I cant find this in this thread: im trying to upgrade but want to exclude firewall4 from build. owut upgrade -r firewall4 doesnt work, since firewall4 is not even installed. Also owut upgrade --ignored-defaults firewall4 still installs firewall4. Whats the correct option to exclude packages from build?

You also have to remove the packages that depend on it, otherwise the build will just re-add it due to these implicit references.

Taking a look, you have to eliminate luci* to get rid of it.

$ opkg whatdepends firewall4
Root set:
  firewall4
What depends on root set
        luci-app-firewall 25.130.38691~48b6321  depends on uci-firewall
        luci-light 25.130.38691~48b6321 depends on luci-app-firewall

And for completeness:

$ opkg whatprovides uci-firewall
What provides uci-firewall
    firewall4
1 Like

First of all I'd like to say that I really like the new upgrade tool!
When I upgraded my RPi 4 from 24.10.0 to 24.10.1 the process was flawless and over with faster than ever.

The upgrade from 24.10.1 to 24.10.2 was a bit rough though:
owut check had warned me about 4 missing default packages but didn't say which ones. (I later found out about the --verbose flag from here. Apparently I had overlooked it in the wiki...)
Believing owut would take care of everything as it had previously done, I went ahead and upgraded anyway only to find the WAN interface (UE 300 adapter) not working.
As I had kept the 24.10.1 image I simply downgraded, used owut list and added the user installed packages to the firmware selectors list like back in the olden days.

In the meantime I tracked down the missing default packages (kmod-i2c-bcm2835, kmod-i2c-brcmstb, kmod-spi-bcm2835, kmod-spi-bcm2835-aux) to this commit.

So for future reference: what would be the right way to go about such a case?

EDIT: I didn't mean to reply to an old post but can't seem to be able to fix it after the fact. I shouldn't post in the evening when I'm tired it seems.

That's quite unexpected when upgrading within a release (crossing releases, well, I sort of expect it occasionally).

I looked at that commit and I'm not clear how it could break an already-working config, it only appears to add new stuff, with the new stuff replacing anything old, so it seems like it would be benign (or even fix something)?

@4rtz1z @andybjackson

Could you tell me your target and profile? I'm waiting for the fix to get through the buildbots so I can test things in production (already working fine on my local build).

$ owut check 
...
Target         x86/64
Profile        generic
Package-arch   x86_64
...

Just FYI: today I could not reproduce the faulty upgrade!
I downgraded to the 24.10.1 image again, then upgraded with owut and the resulting image worked fine.

I made one small observation however:
owut list --format fs-all didn't list bcm27xx-utils and mkf2fs in the images that were built using owut and it didn't list bcm27xx-utils in the image that was built using the firmware selector. All of the packages were present in the respective images though when I checked "installed packages" in the GUI.

I can confirm that owut now works for me - target rockchip. I had problems updating openwrt for the last 10 days or so.

Same here, all my wacky edge case tests appear to be working for upstream now.

Probably due to the way the packages were (or were not) included in the build list. If you add some default package explicitly, it becomes a "top-level" package, whereas they are normally/often implicit dependencies. The owut list variants only show top-level packages, so if something that is normally implicitly installed gets promoted somehow, you'll see differences in the owut list output, even though opk list-installed output is identical in both cases...

One issue I keep running into is that the file size ends up being too large to build~

Building package index...
/builder/build_dir/target-x86_64_musl/root-x86/etc/init.d/vsftpd: line 8: /lib/functions.sh: No such file or directory
./etc/init.d/vsftpd: line 8: /lib/functions.sh: No such file or directory
Pseudo file "dev" exists in source filesystem "/builder/build_dir/target-x86_64_musl/root-x86/dev".
Ignoring, exclude it (-e/-ef) to override.
error: ext4_allocate_best_fit_partial: failed to allocate 4197 blocks, out of space?
make[3]: *** [/builder/include/image.mk:399: /builder/build_dir/target-x86_64_musl/linux-x86_64/root.ext4] Error 1
make[2]: *** [Makefile:264: build_image] Error 2
make[1]: *** [Makefile:159: _call_image] Error 2
make: *** [Makefile:333: image] Error 2

and constantly get this error on all image builders so far~ unsure if this is exclusive to owut or just the "builder" this is while trying to build a snapshot~ with owut