Owut upgrade: RuntimeError: Impossible package selection

I've used owut to upgrade to 24.10.5, 25.12, 25.12.2, but I can't get to 25.12.3 (earlier) or 25.12.4 (now).

Basic upgrade fails with impossible package selection

root@belk:~# owut upgrade -v
owut - OpenWrt Upgrade Tool 2026.04.09~5d6760b5-r1 (/usr/bin/owut)
ASU-Server     https://sysupgrade.openwrt.org
Upstream       https://downloads.openwrt.org
Target         mediatek/mt7622
Profile        linksys_e8450-ubi
Package-arch   aarch64_cortex-a53
Root-FS-type   squashfs
Sys-type       sysupgrade
Version-from   25.12.2 r32802-f505120278 (kernel 6.12.74)
Version-to     25.12.4 r32933-4ccb782af7 (kernel 6.12.87)
Build-commit   https://git.openwrt.org/?p=openwrt/openwrt.git;a=shortlog;h=4ccb782af7
Build-FS-type  squashfs
Build-at       2026-05-13T22:42:09Z (~41 hours ago)
Image-prefix   openwrt-25.12.4-mediatek-mt7622-linksys_e8450-ubi
Image-URL      https://downloads.openwrt.org/releases/25.12.4/targets/mediatek/mt7622
Image-file     openwrt-25.12.4-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb
Installed      199 packages
Top-level       51 packages
Default         33 packages
User-installed  30 packages (top-level only)

Package version changes:
adguardhome                  0.107.73-r3                    0.107.74-r1
attendedsysupgrade-common    9                              10
banip                        1.8.1-r3                       1.8.8-r2
base-files                   1699~f505120278                1707~4ccb782af7
bind-dig                     9.20.18-r1                     9.20.21-r1
bind-libs                    9.20.18-r1                     9.20.21-r1
ca-bundle                    20250419-r2                    20260223-r1
fit-check-sign               2025.10-r1                     2025.10-r2
kmod-cfg80211                6.12.74.6.18.7-r1              6.12.87.6.18.26-r1
kmod-crypto-aead             6.12.74-r1                     6.12.87-r1
kmod-crypto-ccm              6.12.74-r1                     6.12.87-r1
kmod-crypto-cmac             6.12.74-r1                     6.12.87-r1
kmod-crypto-crc32c           6.12.74-r1                     6.12.87-r1
kmod-crypto-ctr              6.12.74-r1                     6.12.87-r1
kmod-crypto-gcm              6.12.74-r1                     6.12.87-r1
kmod-crypto-geniv            6.12.74-r1                     6.12.87-r1
kmod-crypto-gf128            6.12.74-r1                     6.12.87-r1
kmod-crypto-ghash            6.12.74-r1                     6.12.87-r1
kmod-crypto-hash             6.12.74-r1                     6.12.87-r1
kmod-crypto-hmac             6.12.74-r1                     6.12.87-r1
kmod-crypto-manager          6.12.74-r1                     6.12.87-r1
kmod-crypto-null             6.12.74-r1                     6.12.87-r1
kmod-crypto-rng              6.12.74-r1                     6.12.87-r1
kmod-crypto-seqiv            6.12.74-r1                     6.12.87-r1
kmod-crypto-sha3             6.12.74-r1                     6.12.87-r1
kmod-crypto-sha512           6.12.74-r1                     6.12.87-r1
kmod-fs-ext4                 6.12.74-r1                     6.12.87-r1
kmod-gpio-button-hotplug     6.12.74-r5                     6.12.87-r5
kmod-hwmon-core              6.12.74-r1                     6.12.87-r1
kmod-i2c-core                6.12.74-r1                     6.12.87-r1
kmod-leds-gpio               6.12.74-r1                     6.12.87-r1
kmod-lib-crc16               6.12.74-r1                     6.12.87-r1
kmod-lib-crc32c              6.12.74-r1                     6.12.87-r1
kmod-mac80211                6.12.74.6.18.7-r1              6.12.87.6.18.26-r1
kmod-mt76-connac             6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt76-core               6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt7615-common           6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt7615e                 6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt7622-firmware         6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt7915-firmware         6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt7915e                 6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-nf-conntrack            6.12.74-r1                     6.12.87-r1
kmod-nf-conntrack6           6.12.74-r1                     6.12.87-r1
kmod-nf-flow                 6.12.74-r1                     6.12.87-r1
kmod-nf-log                  6.12.74-r1                     6.12.87-r1
kmod-nf-log6                 6.12.74-r1                     6.12.87-r1
kmod-nf-nat                  6.12.74-r1                     6.12.87-r1
kmod-nf-reject               6.12.74-r1                     6.12.87-r1
kmod-nf-reject6              6.12.74-r1                     6.12.87-r1
kmod-nfnetlink               6.12.74-r1                     6.12.87-r1
kmod-nft-core                6.12.74-r1                     6.12.87-r1
kmod-nft-fib                 6.12.74-r1                     6.12.87-r1
kmod-nft-nat                 6.12.74-r1                     6.12.87-r1
kmod-nft-offload             6.12.74-r1                     6.12.87-r1
kmod-nls-base                6.12.74-r1                     6.12.87-r1
kmod-scsi-core               6.12.74-r1                     6.12.87-r1
kmod-thermal                 6.12.74-r1                     6.12.87-r1
kmod-tun                     6.12.74-r1                     6.12.87-r1
kmod-usb-common              6.12.74-r1                     6.12.87-r1
kmod-usb-core                6.12.74-r1                     6.12.87-r1
kmod-usb-ehci                6.12.74-r1                     6.12.87-r1
kmod-usb-storage             6.12.74-r1                     6.12.87-r1
kmod-usb-xhci-hcd            6.12.74-r1                     6.12.87-r1
kmod-usb-xhci-mtk            6.12.74-r1                     6.12.87-r1
kmod-usb2                    6.12.74-r1                     6.12.87-r1
kmod-usb3                    6.12.74-r1                     6.12.87-r1
libmbedtls                   3.6.5-r1                       3.6.6-r2
libopenssl                   3.5.5-r1                       3.5.6-r1
luci-app-banip               1.8.1-r3                       1.8.8-r2
luci-app-firewall            26.086.49641~9d7c568           26.134.75701~cd18b8e
luci-app-package-manager     26.086.49641~9d7c568           26.134.75701~cd18b8e
luci-lib-uqr                 26.086.49641~9d7c568           26.134.75701~cd18b8e
luci-proto-ipv6              26.086.49641~9d7c568           26.134.75701~cd18b8e
luci-proto-ppp               26.086.49641~9d7c568           26.134.75701~cd18b8e
uboot-envtools               2025.10-r1                     2025.10-r2
wireless-regdb               2026.02.04-r1                  2026.03.18-r1
76 packages are out-of-date

Default package analysis:
Default                      Provided-by
nftables                     nftables-json
odhcp6c                      not installed
odhcpd-ipv6only              not installed
ppp                          not installed
ppp-mod-pppoe                not installed

There are currently package build failures for 25.12.4 aarch64_cortex-a53:
Feed: packages
3 unshown
Feed: telephony
1 unshown
Feed: video
10 unshown
14 package build failures don't affect this device, details at





WARNING: There are 4 missing default packages, confirm this is expected before proceeding
Request:
Version 25.12.4 r32933-4ccb782af7 (kernel 6.12.87)
Request hash:
b6b31340ba19e8fc3f644fc1dbf1b17bdd7a86a0cf185dd0b3ac12bc58132ec3

Status:   Error: Impossible package selection
Progress:   0s total =   0s in queue +   0s in build

Build failed in   0s total =   0s in queue +   0s to 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: wget: exited with error 8
ERROR: luci-26.134.75701~cd18b8e: unexpected end of file
make[2]: *** [Makefile:254: package_install] Error 1
make[1]: *** [Makefile:193: _call_manifest] Error 2
make: *** [Makefile:369: manifest] Error 2

Traceback (most recent call last):
File "/app/.venv/lib/python3.14/site-packages/rq/worker/base.py", line 1522, in perform_job
return_value = job.perform()
File "/app/.venv/lib/python3.14/site-packages/rq/job.py", line 1342, in perform
self._result = self._execute()
~~~~~~~~~~~~~^^
File "/app/.venv/lib/python3.14/site-packages/rq/job.py", line 1402, in _execute
result = self.func(*self.args, **self.kwargs)
File "/app/asu/build.py", line 494, in build
result = _build(build_request, job)
File "/app/asu/build.py", line 302, in _build
report_error(job, check_package_errors(job.meta["stderr"]))
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/asu/util.py", line 338, in report_error
raise RuntimeError(msg)
RuntimeError: Impossible package selection

ERROR: Build failed with status 500 (--version-to 25.12.4 --device mediatek/mt7622:linksys_e8450-ubi:squashfs)
The above errors are often due to the upgrade server lagging behind the
build server, first suggestion is to wait a while and try again.


I experimented with the online firmware selector.

  • When I remove odhcp6c odhcpd-ipv6only ppp ppp-mod-pppoe and add 10 packages, it fails.
  • When I add the 10 packages (but not remove the 4), it works.

I tried to replicate that in owut by using --add to put back the 4 I removed

root@belk:~# owut upgrade -v --add odhcp6c,odhcpd-ipv6only,ppp,ppp-mod-pppoe
owut - OpenWrt Upgrade Tool 2026.04.09~5d6760b5-r1 (/usr/bin/owut)
ASU-Server     https://sysupgrade.openwrt.org
Upstream       https://downloads.openwrt.org
Target         mediatek/mt7622
Profile        linksys_e8450-ubi
Package-arch   aarch64_cortex-a53
Root-FS-type   squashfs
Sys-type       sysupgrade
Version-from   25.12.2 r32802-f505120278 (kernel 6.12.74)
Version-to     25.12.4 r32933-4ccb782af7 (kernel 6.12.87)
Build-commit   https://git.openwrt.org/?p=openwrt/openwrt.git;a=shortlog;h=4ccb782af7
Build-FS-type  squashfs
Build-at       2026-05-13T22:42:09Z (~41 hours ago)
Image-prefix   openwrt-25.12.4-mediatek-mt7622-linksys_e8450-ubi
Image-URL      https://downloads.openwrt.org/releases/25.12.4/targets/mediatek/mt7622
Image-file     openwrt-25.12.4-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb
Installed      203 packages
Top-level       55 packages
Default         33 packages
User-installed  30 packages (top-level only)

Package version changes:
adguardhome                  0.107.73-r3                    0.107.74-r1
attendedsysupgrade-common    9                              10
banip                        1.8.1-r3                       1.8.8-r2
base-files                   1699~f505120278                1707~4ccb782af7
bind-dig                     9.20.18-r1                     9.20.21-r1
bind-libs                    9.20.18-r1                     9.20.21-r1
ca-bundle                    20250419-r2                    20260223-r1
fit-check-sign               2025.10-r1                     2025.10-r2
kmod-cfg80211                6.12.74.6.18.7-r1              6.12.87.6.18.26-r1
kmod-crypto-aead             6.12.74-r1                     6.12.87-r1
kmod-crypto-ccm              6.12.74-r1                     6.12.87-r1
kmod-crypto-cmac             6.12.74-r1                     6.12.87-r1
kmod-crypto-crc32c           6.12.74-r1                     6.12.87-r1
kmod-crypto-ctr              6.12.74-r1                     6.12.87-r1
kmod-crypto-gcm              6.12.74-r1                     6.12.87-r1
kmod-crypto-geniv            6.12.74-r1                     6.12.87-r1
kmod-crypto-gf128            6.12.74-r1                     6.12.87-r1
kmod-crypto-ghash            6.12.74-r1                     6.12.87-r1
kmod-crypto-hash             6.12.74-r1                     6.12.87-r1
kmod-crypto-hmac             6.12.74-r1                     6.12.87-r1
kmod-crypto-manager          6.12.74-r1                     6.12.87-r1
kmod-crypto-null             6.12.74-r1                     6.12.87-r1
kmod-crypto-rng              6.12.74-r1                     6.12.87-r1
kmod-crypto-seqiv            6.12.74-r1                     6.12.87-r1
kmod-crypto-sha3             6.12.74-r1                     6.12.87-r1
kmod-crypto-sha512           6.12.74-r1                     6.12.87-r1
kmod-fs-ext4                 6.12.74-r1                     6.12.87-r1
kmod-gpio-button-hotplug     6.12.74-r5                     6.12.87-r5
kmod-hwmon-core              6.12.74-r1                     6.12.87-r1
kmod-i2c-core                6.12.74-r1                     6.12.87-r1
kmod-leds-gpio               6.12.74-r1                     6.12.87-r1
kmod-lib-crc16               6.12.74-r1                     6.12.87-r1
kmod-lib-crc32c              6.12.74-r1                     6.12.87-r1
kmod-mac80211                6.12.74.6.18.7-r1              6.12.87.6.18.26-r1
kmod-mt76-connac             6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt76-core               6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt7615-common           6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt7615e                 6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt7622-firmware         6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt7915-firmware         6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt7915e                 6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-nf-conntrack            6.12.74-r1                     6.12.87-r1
kmod-nf-conntrack6           6.12.74-r1                     6.12.87-r1
kmod-nf-flow                 6.12.74-r1                     6.12.87-r1
kmod-nf-log                  6.12.74-r1                     6.12.87-r1
kmod-nf-log6                 6.12.74-r1                     6.12.87-r1
kmod-nf-nat                  6.12.74-r1                     6.12.87-r1
kmod-nf-reject               6.12.74-r1                     6.12.87-r1
kmod-nf-reject6              6.12.74-r1                     6.12.87-r1
kmod-nfnetlink               6.12.74-r1                     6.12.87-r1
kmod-nft-core                6.12.74-r1                     6.12.87-r1
kmod-nft-fib                 6.12.74-r1                     6.12.87-r1
kmod-nft-nat                 6.12.74-r1                     6.12.87-r1
kmod-nft-offload             6.12.74-r1                     6.12.87-r1
kmod-nls-base                6.12.74-r1                     6.12.87-r1
kmod-scsi-core               6.12.74-r1                     6.12.87-r1
kmod-thermal                 6.12.74-r1                     6.12.87-r1
kmod-tun                     6.12.74-r1                     6.12.87-r1
kmod-usb-common              6.12.74-r1                     6.12.87-r1
kmod-usb-core                6.12.74-r1                     6.12.87-r1
kmod-usb-ehci                6.12.74-r1                     6.12.87-r1
kmod-usb-storage             6.12.74-r1                     6.12.87-r1
kmod-usb-xhci-hcd            6.12.74-r1                     6.12.87-r1
kmod-usb-xhci-mtk            6.12.74-r1                     6.12.87-r1
kmod-usb2                    6.12.74-r1                     6.12.87-r1
kmod-usb3                    6.12.74-r1                     6.12.87-r1
libmbedtls                   3.6.5-r1                       3.6.6-r2
libopenssl                   3.5.5-r1                       3.5.6-r1
luci-app-banip               1.8.1-r3                       1.8.8-r2
luci-app-firewall            26.086.49641~9d7c568           26.134.75701~cd18b8e
luci-app-package-manager     26.086.49641~9d7c568           26.134.75701~cd18b8e
luci-lib-uqr                 26.086.49641~9d7c568           26.134.75701~cd18b8e
luci-proto-ipv6              26.086.49641~9d7c568           26.134.75701~cd18b8e
luci-proto-ppp               26.086.49641~9d7c568           26.134.75701~cd18b8e
odhcp6c                      not-installed                  2026.01.25~ee2949e3-r1
odhcpd-ipv6only              not-installed                  2026.03.16~edf2e523-r1
ppp                          not-installed                  2.5.2-r3
ppp-mod-pppoe                not-installed                  2.5.2-r3
uboot-envtools               2025.10-r1                     2025.10-r2
wireless-regdb               2026.02.04-r1                  2026.03.18-r1
80 packages are out-of-date

Default package analysis:
Default                      Provided-by
nftables                     nftables-json

There are currently package build failures for 25.12.4 aarch64_cortex-a53:
Feed: packages
3 unshown
Feed: telephony
1 unshown
Feed: video
10 unshown
14 package build failures don't affect this device, details at





Request:
Version 25.12.4 r32933-4ccb782af7 (kernel 6.12.87)
Request hash:
356d58f8c0aad51bf15248f67a93407cad971140ebde16f06b185adb13db94af

Status:   Error: Impossible package selection
Progress:   0s total =   0s in queue +   0s in build

Build failed in   0s total =   0s in queue +   0s to 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: wget: exited with error 8
ERROR: libiperf3-3.20-r1: unexpected end of file
make[2]: *** [Makefile:254: package_install] Error 1
make[1]: *** [Makefile:193: _call_manifest] Error 2
make: *** [Makefile:369: manifest] Error 2

Traceback (most recent call last):
File "/app/.venv/lib/python3.14/site-packages/rq/worker/base.py", line 1522, in perform_job
return_value = job.perform()
File "/app/.venv/lib/python3.14/site-packages/rq/job.py", line 1342, in perform
self._result = self._execute()
~~~~~~~~~~~~~^^
File "/app/.venv/lib/python3.14/site-packages/rq/job.py", line 1402, in _execute
result = self.func(*self.args, **self.kwargs)
File "/app/asu/build.py", line 494, in build
result = _build(build_request, job)
File "/app/asu/build.py", line 302, in _build
report_error(job, check_package_errors(job.meta["stderr"]))
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/asu/util.py", line 338, in report_error
raise RuntimeError(msg)
RuntimeError: Impossible package selection

ERROR: Build failed with status 500 (--version-to 25.12.4 --device mediatek/mt7622:linksys_e8450-ubi:squashfs)
The above errors are often due to the upgrade server lagging behind the
build server, first suggestion is to wait a while and try again.
root@belk:~#


My next attempt was to use --clean-slate, but I aborted because the package count dropped by ~60.

root@belk:~# owut upgrade -v --clean-slate --add adguardhome,banip,bash,luci-app-banip,block-mount,e2fsprogs,kmod-fs-ext4,kmod-usb-storage,kmod-usb2,kmod-usb3
owut - OpenWrt Upgrade Tool 2026.04.09~5d6760b5-r1 (/usr/bin/owut)
ASU-Server     https://sysupgrade.openwrt.org
Upstream       https://downloads.openwrt.org
Target         mediatek/mt7622
Profile        linksys_e8450-ubi
Package-arch   aarch64_cortex-a53
Root-FS-type   squashfs
Sys-type       sysupgrade
Version-from   25.12.2 r32802-f505120278 (kernel 6.12.74)
Version-to     25.12.4 r32933-4ccb782af7 (kernel 6.12.87)
Build-commit   https://git.openwrt.org/?p=openwrt/openwrt.git;a=shortlog;h=4ccb782af7
Build-FS-type  squashfs
Build-at       2026-05-13T22:42:09Z (~41 hours ago)
Image-prefix   openwrt-25.12.4-mediatek-mt7622-linksys_e8450-ubi
Image-URL      https://downloads.openwrt.org/releases/25.12.4/targets/mediatek/mt7622
Image-file     openwrt-25.12.4-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb
Installed       41 packages
Top-level       41 packages
Default         33 packages
User-installed   9 packages (top-level only)

Package version changes:
adguardhome                 not-installed                  0.107.74-r1
banip                       not-installed                  1.8.8-r2
base-files                  1699~f505120278                1707~4ccb782af7
bash                        not-installed                  5.3-r2
block-mount                 not-installed                  2026.02.15~8d377aa6-r1
ca-bundle                   20250419-r2                    20260223-r1
e2fsprogs                   not-installed                  1.47.3-r1
kmod-fs-ext4                not-installed                  6.12.87-r1
kmod-gpio-button-hotplug    6.12.74-r5                     6.12.87-r5
kmod-leds-gpio              6.12.74-r1                     6.12.87-r1
kmod-mt7622-firmware        6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-mt7915-firmware        6.12.74.2026.03.19~39c960c3-r2 6.12.87.2026.03.19~39c960c3-r2
kmod-nft-offload            6.12.74-r1                     6.12.87-r1
kmod-usb-storage            not-installed                  6.12.87-r1
kmod-usb2                   not-installed                  6.12.87-r1
kmod-usb3                   6.12.74-r1                     6.12.87-r1
luci-app-banip              not-installed                  1.8.8-r2
odhcp6c                     not-installed                  2026.01.25~ee2949e3-r1
odhcpd-ipv6only             not-installed                  2026.03.16~edf2e523-r1
ppp                         not-installed                  2.5.2-r3
ppp-mod-pppoe               not-installed                  2.5.2-r3
uboot-envtools              2025.10-r1                     2025.10-r2
22 packages are out-of-date

Default package analysis:
Default                     Provided-by
nftables                    nftables-json

There are currently package build failures for 25.12.4 aarch64_cortex-a53:
Feed: packages
3 unshown
Feed: telephony
1 unshown
Feed: video
10 unshown
14 package build failures don't affect this device, details at





Request:
Version 25.12.4 r32933-4ccb782af7 (kernel 6.12.87)
Request hash:
c5465e26379ea0478f5d40b424bb6e8fea56e43de3a8929d702e24951504129b

Same error everyone else is seeing, we've got about 50 reports of this now. It's something either on the ASU server or an issue with the downloads server. Seems to be transient, so wait a while and try again.

Sorry for the duplicate.

FWIW, I did multiple Google searches and red some results, like on GitHub.
I also did retry in different weeks.
I also tested using firmware selector. It seemed deterministic based on the list of packages. When I removed four packages, it failed. When I did not remove them, it worked.

Haha, that's even weirder isn't it? I'd expect if you remove the offending packages it would be more likely to succeed, but as I said, it's transient, so who know what's going on...