Sorry, haven't read that topic till the end, I assumed it only applied to using the local builder (while I've been using the online firmware selector).
https://github.com/openwrt/openwrt/issues/18021#issuecomment-2667372880
I found this comment very useful.
Only need to modify two files after you ssh into the router and the ASU on Luci's interface will work.
/etc/openwrt_release ---> DISTRIB_TARGET='qualcommax/ipq807x'
/etc/os-release ---> OPENWRT_BOARD="qualcommax/ipq807x"
Think I just hit this. I was using owut
to go from 24.10.0
to 24.10.1
and I hit something that is also reproducible one-to-one in the STDERR
of firmware-selector
. Here's the owut
output:
root@OpenWrt:~# owut download -V 24.10.1
ASU-Server https://sysupgrade.openwrt.org
Upstream https://downloads.openwrt.org
Target ath79/generic
Profile tplink_archer-c7-v2
Package-arch mips_24kc
Version-from 24.10.0 r28427-6df0e3d02a (kernel 6.6.73)
Version-to 24.10.1 r28597-0425664679 (kernel 6.6.86)
76 packages are out-of-date
Request hash:
3b2296578d679b2c96f231bd319550c51808026cf0b53ccd548c5af746581de0
--
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 error =
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/rq/worker.py", line 1633, in perform_job
return_value = job.perform()
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1331, in perform
self._result = self._execute()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1365, in _execute
result = self.func(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/asu/build.py", line 245, in build
report_error(job, "Impossible package selection")
File "/app/asu/util.py", line 308, in report_error
raise RuntimeError(msg)
RuntimeError: Impossible package selection
ASU server stderr =
Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.
Building package index...
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/ath79/generic/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/ath79/generic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/ath79/generic/kmods/6.6.86-1-64576e1418bd4546fdb49285deb3b11c/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/ath79/generic/kmods/6.6.86-1-64576e1418bd4546fdb49285deb3b11c/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mips_24kc/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:
* opkg_install_pkg: Checksum or size mismatch for package rpcd-mod-luci. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package luci.
* opkg_install_pkg: Checksum or size mismatch for package cgi-io. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package luci-app-attendedsysupgrade.
make[2]: *** [Makefile:234: package_install] Error 255
make[1]: *** [Makefile:171: _call_manifest] Error 2
make: *** [Makefile:349: manifest] Error 2
ERROR: Build failed with status 500
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.
How long is "a while" given that 24.10.1
was released two weeks ago? Thanks!
Edit: It's working now. Seems like it was the time to post this after two hours trying plus one hour after posting.
The packages for a release are built/rebuilt on a continuous basis (except for the kmods, which are tied to the point release and never rebuild). So, when you see that sort of error, an hour or a day is usually sufficient (assuming it's due to a build hiccup, which is the most frequent cause).
seems like the firmware selector fails to build both 24.10.0 and 24.10.1 with "base" and "packages"
24.10.0 :
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency cgi-io for luci-base
* pkg_hash_fetch_best_installation_candidate: Packages for luci-base found, but incompatible with the architectures configured
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
* cgi-io
* opkg_install_cmd: Cannot install package luci.
make[2]: *** [Makefile:234: package_install] Error 255
make[1]: *** [Makefile:171: _call_manifest] Error 2
make: *** [Makefile:349: manifest] Error 2
24.10.1 :
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/aarch64_cortex-a53/base/Packages.sig
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
>Collected errors:
* pkg_hash_check_unresolved: cannot find dependency ubox for fstools
* pkg_hash_fetch_best_installation_candidate: Packages for fstools found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency netifd for base-files
* pkg_hash_check_unresolved: cannot find dependency jsonfilter for base-files
* pkg_hash_check_unresolved: cannot find dependency usign for base-files
* pkg_hash_check_unresolved: cannot find dependency openwrt-keyring for base-files
* pkg_hash_check_unresolved: cannot find dependency procd for base-files
* pkg_hash_check_unresolved: cannot find dependency procd-seccomp for base-files
* pkg_hash_check_unresolved: cannot find dependency busybox for base-files
* pkg_hash_fetch_best_installation_candidate: Packages for base-files found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package base-files.
* opkg_install_cmd: Cannot install package ca-bundle.
* opkg_install_cmd: Cannot install package dnsmasq.
* opkg_install_cmd: Cannot install package firewall4.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for fstools:
* ubox
* opkg_install_cmd: Cannot install package fstools.
* pkg_hash_check_unresolved: cannot find dependency eip197-mini-firmware for kmod-crypto-hw-safexcel
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-hw-safexcel found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-crypto-hw-safexcel.
* opkg_install_cmd: Cannot install package libustream-mbedtls.
* opkg_install_cmd: Cannot install package logd.
* pkg_hash_check_unresolved: cannot find dependency libubox20240329 for mtd
* pkg_hash_fetch_best_installation_candidate: Packages for mtd found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package mtd.
* opkg_install_cmd: Cannot install package netifd.
* opkg_install_cmd: Cannot install package nftables.
* opkg_install_cmd: Cannot install package odhcp6c.
* opkg_install_cmd: Cannot install package odhcpd-ipv6only.
* opkg_install_cmd: Cannot install package opkg.
* opkg_install_cmd: Cannot install package ppp.
* opkg_install_cmd: Cannot install package ppp-mod-pppoe.
* opkg_install_cmd: Cannot install package procd-ujail.
* opkg_install_cmd: Cannot install package uci.
* opkg_install_cmd: Cannot install package uclient-fetch.
* opkg_install_cmd: Cannot install package urandom-seed.
* opkg_install_cmd: Cannot install package urngd.
* opkg_install_cmd: Cannot install package wpad-basic-mbedtls.
* pkg_hash_check_unresolved: cannot find dependency iw for kmod-cfg80211
* pkg_hash_check_unresolved: cannot find dependency iwinfo for kmod-cfg80211
* pkg_hash_check_unresolved: cannot find dependency wifi-scripts for kmod-cfg80211
* pkg_hash_check_unresolved: cannot find dependency wireless-regdb for kmod-cfg80211
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-cfg80211 found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency hostapd-common for kmod-mac80211
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-mac80211 found, but incompatible with the architectures configured
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mt7996-firmware:
* iw
* iwinfo
* wifi-scripts
* wireless-regdb
* hostapd-common
* opkg_install_cmd: Cannot install package kmod-mt7996-firmware.
* opkg_install_cmd: Cannot install package e2fsprogs.
* opkg_install_cmd: Cannot install package f2fsck.
* opkg_install_cmd: Cannot install package mkf2fs.
* opkg_install_cmd: Cannot install package mt7988-wo-firmware.
* pkg_hash_check_unresolved: cannot find dependency rpcd for rpcd-mod-luci
* pkg_hash_check_unresolved: cannot find dependency libubox20240329 for rpcd-mod-luci
* pkg_hash_check_unresolved: cannot find dependency libubus20250102 for rpcd-mod-luci
* pkg_hash_check_unresolved: cannot find dependency libnl-tiny1 for rpcd-mod-luci
* pkg_hash_fetch_best_installation_candidate: Packages for rpcd-mod-luci found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency libucode20230711 for ucode-mod-html
* pkg_hash_fetch_best_installation_candidate: Packages for ucode-mod-html found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency libucode20230711 for liblucihttp-ucode
* pkg_hash_fetch_best_installation_candidate: Packages for liblucihttp-ucode found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency rpcd for luci-base
* pkg_hash_check_unresolved: cannot find dependency rpcd-mod-file for luci-base
* pkg_hash_check_unresolved: cannot find dependency rpcd-mod-ucode for luci-base
* pkg_hash_check_unresolved: cannot find dependency cgi-io for luci-base
* pkg_hash_check_unresolved: cannot find dependency ucode for luci-base
* pkg_hash_check_unresolved: cannot find dependency ucode-mod-fs for luci-base
* pkg_hash_check_unresolved: cannot find dependency ucode-mod-uci for luci-base
* pkg_hash_check_unresolved: cannot find dependency ucode-mod-ubus for luci-base
* pkg_hash_check_unresolved: cannot find dependency ucode-mod-math for luci-base
* pkg_hash_fetch_best_installation_candidate: Packages for luci-base found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency uci-firewall for luci-app-firewall
* pkg_hash_fetch_best_installation_candidate: Packages for luci-app-firewall found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency libiwinfo20230701 for luci-mod-status
* pkg_hash_check_unresolved: cannot find dependency rpcd-mod-iwinfo for luci-mod-status
* pkg_hash_fetch_best_installation_candidate: Packages for luci-mod-status found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency rpcd-mod-iwinfo for luci-mod-network
* pkg_hash_fetch_best_installation_candidate: Packages for luci-mod-network found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency rpcd for rpcd-mod-rrdns
* pkg_hash_check_unresolved: cannot find dependency libubox20240329 for rpcd-mod-rrdns
* pkg_hash_check_unresolved: cannot find dependency libubus20250102 for rpcd-mod-rrdns
* pkg_hash_fetch_best_installation_candidate: Packages for rpcd-mod-rrdns found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency uhttpd for luci-light
* pkg_hash_check_unresolved: cannot find dependency uhttpd-mod-ubus for luci-light
* pkg_hash_fetch_best_installation_candidate: Packages for luci-light found, but incompatible with the architectures configured
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
* rpcd
* rpcd-mod-file
* rpcd
* libubox20240329
* libubus20250102
* libnl-tiny1
* rpcd-mod-ucode
* cgi-io
* ucode
* ucode-mod-fs
* ucode-mod-uci
* ucode-mod-ubus
* ucode-mod-math
* libucode20230711
* uci-firewall
* libiwinfo20230701
* rpcd-mod-iwinfo
* rpcd
* libubox20240329
* libubus20250102
* uhttpd
* uhttpd-mod-ubus
* opkg_install_cmd: Cannot install package luci.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for base-files:
* netifd
* jsonfilter
* usign
* openwrt-keyring
* procd
* procd-seccomp
* busybox
* opkg_install_cmd: Cannot install package base-files.
* opkg_install_cmd: Cannot install package ca-bundle.
* opkg_install_cmd: Cannot install package dnsmasq.
* opkg_install_cmd: Cannot install package e2fsprogs.
* opkg_install_cmd: Cannot install package f2fsck.
* opkg_install_cmd: Cannot install package firewall4.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-crypto-hw-safexcel:
* eip197-mini-firmware
* opkg_install_cmd: Cannot install package kmod-crypto-hw-safexcel.
* opkg_install_cmd: Cannot install package libustream-mbedtls.
* opkg_install_cmd: Cannot install package logd.
* opkg_install_cmd: Cannot install package mkf2fs.
* opkg_install_cmd: Cannot install package mt7988-wo-firmware.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for mtd:
* libubox20240329
* opkg_install_cmd: Cannot install package mtd.
* opkg_install_cmd: Cannot install package netifd.
* opkg_install_cmd: Cannot install package nftables.
* opkg_install_cmd: Cannot install package odhcp6c.
* opkg_install_cmd: Cannot install package odhcpd-ipv6only.
* opkg_install_cmd: Cannot install package opkg.
* opkg_install_cmd: Cannot install package ppp.
* opkg_install_cmd: Cannot install package ppp-mod-pppoe.
* opkg_install_cmd: Cannot install package procd-ujail.
* opkg_install_cmd: Cannot install package uci.
* opkg_install_cmd: Cannot install package uclient-fetch.
* opkg_install_cmd: Cannot install package urandom-seed.
* opkg_install_cmd: Cannot install package urngd.
* opkg_install_cmd: Cannot install package wpad-basic-mbedtls.
make[2]: *** [Makefile:234: package_install] Error 255
make[1]: *** [Makefile:171: _call_manifest] Error 2
make: *** [Makefile:349: manifest] Error 2
Maybe you hit the middle of package deployment? I just did a build against an aarch64,cortex-a53 device and it worked fine. The latest build on that arch finished 8 hours ago, so a few hours after you posted... https://buildbot.openwrt.org/images/#/builders/179/builds/111
I guess I did, Both Snapshot and 24.10.0-Rc7 were building fine and indeed, a few hours later I was able ton confirm 24.10.0 and 24.10.1 were building fine.
worked fine last month now is broken
Since you are running snapshot builds, you'll be seeing this error a lot as the package ABI versions change (until we get apk fixed and add some code to the ubus call rpc-sys packagelist
). You need to manually uninstall libubox20241219, as its ABI version has changed from 20241219 to 20240329, and the apk database does not yet contain the information required for the ASU system to know this (lots more details on the ABI version issue over on the owut thread).
If you find you cannot do this in LuCI ASU, you can use either owut upgrade --remove libubox20241219
on the device, or do an external build with Firmware Selector using an appropriately crafted package list.
Seeing a similar error when attempting to upgrade from 23.05 to 24.10.1 via Luci ASU
This is the error log that I get:
Seeing a similar problem with 23.05.3 imagebuilder.
Trying to build our custom made image and keep getting:
* opkg_install_cmd: Cannot install package bash
* opkg_install_cmd: Cannot install package luci
* opkg_install_cmd: Cannot install package coreutils-nohup
That's usually a symptom of a package build error and is transient. Try again, see if it's gone now...
Having the same issue with custom images on 24.10.3 when trying to compile to ramips target (mi router 3g)