LuCI Attended Sysupgrade support thread

Mr8300 via attended sysupgrade 25.12.0-rc2

Request data:

{
    "system_board": {
        "kernel": "6.6.119",
        "hostname": "OpenWrt",
        "system": "ARMv7 Processor rev 5 (v7l)",
        "model": "Linksys MR8300 (Dallas)",
        "board_name": "linksys,mr8300",
        "rootfs_type": "squashfs",
        "release": {
            "distribution": "OpenWrt",
            "version": "24.10.5",
            "revision": "r29087-d9c5716d1d",
            "target": "ipq40xx/generic",
            "description": "OpenWrt 24.10.5 r29087-d9c5716d1d",
            "builddate": "1766005702"
        }
    },
    "advanced_mode": "0",
    "url": "https://sysupgrade.openwrt.org",
    "branch": "24.10",
    "revision": "r29087-d9c5716d1d",
    "efi": null,
    "sha256_unsigned": "",
    "client": "luci/25.354.54193~3972ee2",
    "packages": {
        "kmod-ath10k-smallbuffers": "6.6.119.6.12.61-r1",
        "libc": "1.2.5-r4",
        "opkg": "2024.10.16~38eccbb1-r1",
        "wpad-basic-mbedtls": "2024.09.15~5ace39b0-r2",
        "nano": "8.7-r1",
        "luci-app-https-dns-proxy": "2025.10.07-r2",
        "kmod-usb-dwc3": "6.6.119-r1",
        "libustream-openssl": "2024.07.28~99bd3d2b-r1",
        "procd-ujail": "2024.12.22~42d39376-r1",
        "base-files": "1668~d9c5716d1d",
        "kmod-usb-dwc3-qcom": "6.6.119-r1",
        "firewall4": "2024.12.18~18fc0ead-r1",
        "uboot-envtools": "2024.07-r1",
        "dnsmasq": "2.90-r4",
        "luci-app-advanced-reboot": "1.1.0-r1",
        "kmod-usb3": "6.6.119-r1",
        "sed": "4.9-r1",
        "odhcp6c": "2024.09.25~b6ae9ffa-r1",
        "uci": "2025.01.20~16ff0bad-r1",
        "dropbear": "2024.86-r2",
        "curl": "8.12.1-r1",
        "mtd": "26",
        "odhcpd-ipv6only": "2025.10.02~b14cf98c-r2",
        "ath10k-board-qca4019": "20241110-r2",
        "coreutils-sort": "9.7-r1",
        "luci-app-sqm": "25.354.54193~3972ee2",
        "ath10k-firmware-qca4019": "20241110-r2",
        "urandom-seed": "3",
        "ppp": "2.5.1-r1",
        "kmod-leds-gpio": "6.6.119-r1",
        "kmod-gpio-button-hotplug": "6.6.119-r5",
        "logd": "2024.04.26~85f10530-r1",
        "luci-app-attendedsysupgrade": "25.354.54193~3972ee2",
        "ca-certificates": "20250419-r1",
        "gawk": "5.3.0-r2",
        "ath10k-firmware-qca9888": "20241110-r2",
        "htop": "3.4.1-r1",
        "fping": "5.3-r1",
        "luci": "25.354.54193~3972ee2",
        "kmod-usb-ledtrig-usbport": "6.6.119-r1",
        "kernel": "6.6.119~eaef302ef5ab82928154706763925f63-r1",
        "urngd": "2023.11.01~44365eb1-r1",
        "ppp-mod-pppoe": "2.5.1-r1"
    },
    "profile": "linksys,mr8300",
    "target": "ipq40xx/generic",
    "version": "24.10.5",
    "diff_packages": true,
    "filesystem": "squashfs",
    "rootfs_size_mb": null
}

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: unable to select packages:
  libustream-openssl (virtual):
    note: please select one of the 'provided by'
          packages explicitly
    provided by: libustream-
    required by: libustream-openssl20201210
make[2]: *** [Makefile:227: package_install] Error 1
make[1]: *** [Makefile:167: _call_manifest] Error 2
make: *** [Makefile:345: manifest] Error 2

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/rq/worker.py", line 1659, in perform_job
    return_value = job.perform()
                   ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1318, in perform
    self._result = self._execute()
                   ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1376, in _execute
    result = self.func(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 438, in build
    result = _build(build_request, job)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 259, in _build
    report_error(job, "Impossible package selection")
  File "/app/asu/util.py", line 329, in report_error
    raise RuntimeError(msg)
RuntimeError: Impossible package selection

Delete libustream from the list presented with ā€œadvanced modeā€ set in the configuration. The ASU machinery will then be able to add the version of libustream that it needs.

2 Likes

Hello there,

just upgrading from 24.10.4 to 24.10.5 via Luci ASU.
Cannot upgrade TP-Link EAP245v1 and EAP225v3 (all other routers upgraded OK).
Error is ā€œImpossible package selectionā€ for both.
Any suggestion? Thanks

This is the log for EAP245.

Request Data:

{
    "system_board": {
        "kernel": "6.6.110",
        "hostname": "AP-BAGNO",
        "system": "Qualcomm Atheros QCA956X ver 1 rev 0",
        "model": "TP-Link EAP245 v1",
        "board_name": "tplink,eap245-v1",
        "rootfs_type": "squashfs",
        "release": {
            "distribution": "OpenWrt",
            "version": "24.10.4",
            "revision": "r28959-29397011cc",
            "target": "ath79/generic",
            "description": "OpenWrt 24.10.4 r28959-29397011cc",
            "builddate": "1760891865"
        }
    },
    "advanced_mode": "1",
    "url": "https://sysupgrade.openwrt.org",
    "branch": "24.10",
    "revision": "r28959-29397011cc",
    "efi": null,
    "request_hash": "b6b45d040a1d8efe57da0792ef64aa4eb33a9da6a04f0278edaabf18d933a8f6",
    "sha256_unsigned": "",
    "client": "luci/25.323.50017~641a930",
    "packages": {
        "libc": "1.2.5-r4",
        "opkg": "2024.10.16~38eccbb1-r1",
        "libpthread": "1.2.5-r4",
        "swconfig": "12",
        "kmod-lib-crc-ccitt": "6.6.110-r1",
        "getrandom": "2024.04.26~85f10530-r1",
        "kmod-pppoe": "6.6.110-r1",
        "procd-ujail": "2024.12.22~42d39376-r1",
        "base-files": "1665~29397011cc",
        "libustream-mbedtls": "2024.07.28~99bd3d2b-r1",
        "firewall4": "2024.12.18~18fc0ead-r1",
        "uboot-envtools": "2024.07-r1",
        "dnsmasq": "2.90-r4",
        "kmod-crypto-acompress": "6.6.110-r1",
        "libmbedtls": "3.6.5-r1",
        "odhcp6c": "2024.09.25~b6ae9ffa-r1",
        "kmod-ath9k": "6.6.110.6.12.52-r1",
        "uci": "2025.01.20~16ff0bad-r1",
        "luci-ssl": "25.323.50017~641a930",
        "dropbear": "2024.86-r1",
        "mtd": "26",
        "odhcpd-ipv6only": "2025.10.02~b14cf98c-r2",
        "ath10k-firmware-qca988x-ct": "2020.11.08-r1",
        "urandom-seed": "3",
        "ppp": "2.5.1-r1",
        "kmod-gpio-button-hotplug": "6.6.110-r5",
        "logd": "2024.04.26~85f10530-r1",
        "luci-app-attendedsysupgrade": "25.323.50017~641a930",
        "kmod-ppp": "6.6.110-r1",
        "wpad-mbedtls": "2024.09.15~5ace39b0-r2",
        "kmod-ath10k-ct": "6.6.110.2024.07.30~ac71b14d-r2",
        "ca-bundle": "20250419-r1",
        "libuclient": "2024.10.22~88ae8f20-r1",
        "luci": "25.323.50017~641a930",
        "kmod-lib-lzo": "6.6.110-r1",
        "kmod-ath": "6.6.110.6.12.52-r1",
        "kernel": "6.6.110~35ef4dd36891d37023436baa842fa311-r1",
        "wireless-regdb": "2025.10.07-r1",
        "urngd": "2023.11.01~44365eb1-r1",
        "ppp-mod-pppoe": "2.5.1-r1"
    },
    "profile": "tplink,eap245-v1",
    "target": "ath79/generic",
    "version": "24.10.4",
    "diff_packages": true,
    "filesystem": "squashfs",
    "rootfs_size_mb": null
}

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.5/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.5/targets/ath79/generic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.5/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.5/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.5/targets/ath79/generic/kmods/6.6.119-1-35ef4dd36891d37023436baa842fa311/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.5/targets/ath79/generic/kmods/6.6.119-1-35ef4dd36891d37023436baa842fa311/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.5/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.5/packages/mips_24kc/luci/Packages.sig
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/24.10.5/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.5/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.5/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.5/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.5/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.5/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_cmd: Cannot install package luci.
 * opkg_install_cmd: Cannot install package luci-app-attendedsysupgrade.
 * opkg_install_cmd: Cannot install package luci-ssl.
make[2]: *** [Makefile:234: package_install] Error 255
make[1]: *** [Makefile:171: _call_manifest] Error 2
make: *** [Makefile:349: manifest] Error 2

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/rq/worker.py", line 1659, in perform_job
    return_value = job.perform()
                   ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1318, in perform
    self._result = self._execute()
                   ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1376, in _execute
    result = self.func(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 438, in build
    result = _build(build_request, job)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 259, in _build
    report_error(job, "Impossible package selection")
  File "/app/asu/util.py", line 329, in report_error
    raise RuntimeError(msg)
RuntimeError: Impossible package selection

This is the log for EAP225:

Request Data:

{
    "system_board": {
        "kernel": "6.6.110",
        "hostname": "AP-CANTINA",
        "system": "Qualcomm Atheros QCA956X ver 1 rev 0",
        "model": "TP-Link EAP225 v3",
        "board_name": "tplink,eap225-v3",
        "rootfs_type": "squashfs",
        "release": {
            "distribution": "OpenWrt",
            "version": "24.10.4",
            "revision": "r28959-29397011cc",
            "target": "ath79/generic",
            "description": "OpenWrt 24.10.4 r28959-29397011cc",
            "builddate": "1760891865"
        }
    },
    "advanced_mode": "1",
    "url": "https://sysupgrade.openwrt.org",
    "branch": "24.10",
    "revision": "r28959-29397011cc",
    "efi": null,
    "request_hash": "9975a545c0ec0f8c3e33d3b4bb0976f90ffaeb273c8b19c1df67a5108badf033",
    "sha256_unsigned": "",
    "client": "luci/25.323.50017~641a930",
    "packages": {
        "iwinfo": "2024.10.20~b94f066e-r1",
        "liblucihttp": "2023.03.15~9b5b683f-r1",
        "cgi-io": "2022.08.10~901b0f04-r21",
        "libc": "1.2.5-r4",
        "opkg": "2024.10.16~38eccbb1-r1",
        "iw": "6.9-r1",
        "swconfig": "12",
        "kmod-lib-crc-ccitt": "6.6.110-r1",
        "getrandom": "2024.04.26~85f10530-r1",
        "kmod-pppoe": "6.6.110-r1",
        "procd-ujail": "2024.12.22~42d39376-r1",
        "base-files": "1665~29397011cc",
        "libustream-mbedtls": "2024.07.28~99bd3d2b-r1",
        "firewall4": "2024.12.18~18fc0ead-r1",
        "uboot-envtools": "2024.07-r1",
        "dnsmasq": "2.90-r4",
        "kmod-crypto-acompress": "6.6.110-r1",
        "libmbedtls": "3.6.5-r1",
        "odhcp6c": "2024.09.25~b6ae9ffa-r1",
        "kmod-ath9k": "6.6.110.6.12.52-r1",
        "ath10k-firmware-qca9888-ct": "2020.11.08-r1",
        "uci": "2025.01.20~16ff0bad-r1",
        "luci-ssl": "25.323.50017~641a930",
        "dropbear": "2024.86-r1",
        "mtd": "26",
        "odhcpd-ipv6only": "2025.10.02~b14cf98c-r2",
        "urandom-seed": "3",
        "ppp": "2.5.1-r1",
        "kmod-gpio-button-hotplug": "6.6.110-r5",
        "logd": "2024.04.26~85f10530-r1",
        "luci-app-attendedsysupgrade": "25.323.50017~641a930",
        "kmod-ppp": "6.6.110-r1",
        "wpad-mbedtls": "2024.09.15~5ace39b0-r2",
        "kmod-ath10k-ct": "6.6.110.2024.07.30~ac71b14d-r2",
        "ca-bundle": "20250419-r1",
        "libuclient": "2024.10.22~88ae8f20-r1",
        "luci": "25.323.50017~641a930",
        "owut": "2025.11.16~af42b8af-r1",
        "kmod-lib-lzo": "6.6.110-r1",
        "kmod-ath": "6.6.110.6.12.52-r1",
        "kernel": "6.6.110~35ef4dd36891d37023436baa842fa311-r1",
        "liblucihttp-ucode": "2023.03.15~9b5b683f-r1",
        "hostapd-common": "2024.09.15~5ace39b0-r2",
        "wireless-regdb": "2025.10.07-r1",
        "urngd": "2023.11.01~44365eb1-r1",
        "ppp-mod-pppoe": "2.5.1-r1"
    },
    "profile": "tplink,eap225-v3",
    "target": "ath79/generic",
    "version": "24.10.4",
    "diff_packages": true,
    "filesystem": "squashfs",
    "rootfs_size_mb": null
}

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.5/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.5/targets/ath79/generic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.5/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.5/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.5/targets/ath79/generic/kmods/6.6.119-1-35ef4dd36891d37023436baa842fa311/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.5/targets/ath79/generic/kmods/6.6.119-1-35ef4dd36891d37023436baa842fa311/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.5/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.5/packages/mips_24kc/luci/Packages.sig
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/24.10.5/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.5/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.5/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.5/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.5/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.5/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_cmd: Cannot install package liblucihttp.
 * opkg_install_cmd: Cannot install package liblucihttp-ucode.
 * opkg_install_cmd: Cannot install package luci.
 * opkg_install_cmd: Cannot install package luci-app-attendedsysupgrade.
 * opkg_install_cmd: Cannot install package luci-ssl.
make[2]: *** [Makefile:234: package_install] Error 255
make[1]: *** [Makefile:171: _call_manifest] Error 2
make: *** [Makefile:349: manifest] Error 2

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/rq/worker.py", line 1659, in perform_job
    return_value = job.perform()
                   ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1318, in perform
    self._result = self._execute()
                   ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1376, in _execute
    result = self.func(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 438, in build
    result = _build(build_request, job)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 259, in _build
    report_error(job, "Impossible package selection")
  File "/app/asu/util.py", line 329, in report_error
    raise RuntimeError(msg)
RuntimeError: Impossible package selection

That's the signal that the luci package index was probably being generated or downloaded just as you did the build. Try again and see if it works now...

Got this attempting an upgrade from 24.10.5 to 25.12.0 rc2

This is the same error that I got attempting an upgrade from 24.10.4 to 24.10.5 on a different router - the common factor is libuclient

Server response: Error: Impossible package selection

Request Data
{
    "system_board": {
        "kernel": "6.6.119",
        "hostname": "ea8500",
        "system": "ARMv7 Processor rev 0 (v7l)",
        "model": "Linksys EA8500 WiFi Router",
        "board_name": "linksys,ea8500",
        "rootfs_type": "squashfs",
        "release": {
            "distribution": "OpenWrt",
            "version": "24.10.5",
            "revision": "r29087-d9c5716d1d",
            "target": "ipq806x/generic",
            "description": "OpenWrt 24.10.5 r29087-d9c5716d1d",
            "builddate": "1766005702"
        }
    },
    "advanced_mode": "1",
    "url": "https://sysupgrade.openwrt.org",
    "branch": "24.10",
    "revision": "r29087-d9c5716d1d",
    "efi": null,
    "sha256_unsigned": "",
    "client": "luci/25.365.52131~3ac2e08",
    "packages": {
        "libc": "1.2.5-r4",
        "opkg": "2024.10.16~38eccbb1-r1",
        "kmod-ata-ahci-platform": "6.6.119-r1",
        "nano-full": "8.7-r1",
        "kmod-usb-dwc3": "6.6.119-r1",
        "kmod-lib-crc-ccitt": "6.6.119-r1",
        "getrandom": "2024.04.26~85f10530-r1",
        "kmod-pppoe": "6.6.119-r1",
        "procd-ujail": "2024.12.22~42d39376-r1",
        "base-files": "1668~d9c5716d1d",
        "libustream-mbedtls": "2024.07.28~99bd3d2b-r1",
        "kmod-usb-dwc3-qcom": "6.6.119-r1",
        "luci-app-uhttpd": "25.365.52131~3ac2e08",
        "firewall4": "2024.12.18~18fc0ead-r1",
        "uboot-envtools": "2024.07-r1",
        "kmod-usb-ohci": "6.6.119-r1",
        "dnsmasq": "2.90-r4",
        "kmod-crypto-acompress": "6.6.119-r1",
        "kmod-usb-ehci": "6.6.119-r1",
        "luci-app-usteer": "25.365.52131~3ac2e08",
        "kmod-usb2": "6.6.119-r1",
        "kmod-usb3": "6.6.119-r1",
        "libmbedtls": "3.6.5-r1",
        "odhcp6c": "2024.09.25~b6ae9ffa-r1",
        "uci": "2025.01.20~16ff0bad-r1",
        "luci-ssl": "25.365.52131~3ac2e08",
        "dropbear": "2024.86-r2",
        "mtd": "26",
        "odhcpd-ipv6only": "2025.10.02~b14cf98c-r2",
        "urandom-seed": "3",
        "ppp": "2.5.1-r1",
        "arp-scan-database": "1.10.0-r2",
        "kmod-leds-gpio": "6.6.119-r1",
        "kmod-gpio-button-hotplug": "6.6.119-r5",
        "logd": "2024.04.26~85f10530-r1",
        "kmod-ata-ahci": "6.6.119-r1",
        "luci-app-attendedsysupgrade": "25.365.52131~3ac2e08",
        "kmod-ppp": "6.6.119-r1",
        "wpad-mbedtls": "2024.09.15~5ace39b0-r2",
        "kmod-ath10k-ct": "6.6.119.2024.07.30~ac71b14d-r2",
        "libuclient": "2024.10.22~88ae8f20-r1",
        "luci": "25.365.52131~3ac2e08",
        "kmod-usb-ledtrig-usbport": "6.6.119-r1",
        "kmod-lib-lzo": "6.6.119-r1",
        "kernel": "6.6.119~478e74fd9c22d3ad1a4cfe9ff9faf60a-r1",
        "ath10k-firmware-qca99x0-ct": "2020.11.08-r1",
        "acme-acmesh-dnsapi": "3.1.1-r1",
        "kmod-nls-base": "6.6.119-r1",
        "kmod-phy-qcom-ipq806x-usb": "6.6.119-r1",
        "luci-app-acme": "25.365.52131~3ac2e08",
        "urngd": "2023.11.01~44365eb1-r1",
        "ppp-mod-pppoe": "2.5.1-r1",
        "arp-scan": "1.10.0-r2"
    },
    "profile": "linksys,ea8500",
    "target": "ipq806x/generic",
    "version": "24.10.5",
    "diff_packages": true,
    "filesystem": "squashfs"
}
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: unable to select packages:
  libuclient (virtual):
    note: please select one of the 'provided by'
          packages explicitly
    provided by: libuclient20201210
    required by: world[libuclient]
make[2]: *** [Makefile:227: package_install] Error 1
make[1]: *** [Makefile:167: _call_manifest] Error 2
make: *** [Makefile:345: manifest] Error 2

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/rq/worker.py", line 1659, in perform_job
    return_value = job.perform()
                   ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1318, in perform
    self._result = self._execute()
                   ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1376, in _execute
    result = self.func(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 438, in build
    result = _build(build_request, job)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 259, in _build
    report_error(job, "Impossible package selection")
  File "/app/asu/util.py", line 329, in report_error
    raise RuntimeError(msg)
RuntimeError: Impossible package selection

The solution is a couple posts up: LuCI Attended Sysupgrade support thread - #405 by wolfgangrupprecht

Or wait a week or two for the fixes in https://github.com/openwrt/openwrt/pull/21449 to get committed and filter through.

1 Like

Thanks; Sorry, I missed that; was browsing on my phone, and search isn't great on small screen (and my eyes aren't great, full stop). Good to know there's a fix.

1 Like

Thanks @efahl, clearly I was trying to jump the gun :slight_smile:
All is OK now.

I’m not sure this is the appropriate thread, but the title fits.

I am not at all enamoured with the decision to bake ASU into LuCI. It's nothing but useless bloatware that isn't easily circumvented if your build isn't default vanilla OpenWrt. ie. patch Dnsmasq to only listen on br-lan, or you want to use openssl or wolfssl instead of the default it will fail if a user selects this LuCI menu option.

I seldom use the LuCI GUI other than to peruse the Status page for system status, and Vnstat/Nlbwmon status pages so I wasn't aware of this build system change until I had a couple of siblings tell me it was failing (people tend to 'poke' things when they notice anything different). They figured from the menu title that I had enabled a different firmware upgrade process than I had provided them.

These are the options I am presented when I select the LuCI Attended Sysupgrade menu option:

  • [installed] r32611-f7c5334c4c - r32611-f7c5334c4c [(commit f7c5334c4c5e34743140a80b804c61ecb080d806 (origin/master, origin/main, origin/HEAD)]
  • 23.05.6
  • 24.10.5
  • 25.12.0-rc2
    All will fail.

Really? From Main it "suggests?" Downgrading to 23.05.6, 24.10.5, or 25.12.0-rc2?! Not only that, but 23.05.6 build doesn't even exist for this device. Does anyone find that even a little confusing?

This all seems reasonable for a Release build, but it's broken on Main if you add LuCI. This decision to make Attended Sysupgrade a dependancy via the build system should be more nuanced. It should remain an optional component in Main/Master.

What options are available to me to remove this unusable menu option?

On another note, I can't determine what happens if you Select Look online for upgrades upon status page load in LuCI/Status/Overview page. Loading or re-loading the Status page doesn't appear to return anything visible.

Actually, no, you should have expected it to work. There are issues with updating the package indexes during the rolling package builds which cause this to happen, not a lot, but often enough that people report it every week.

You can use luci-light, which is simply luci without the baggage. I do this on my APs to get rid of the stuff I never use.

$ apk query --fields depends --format yaml luci
# 1 items
- depends: # 4 items
    - libc
    - luci-app-attendedsysupgrade
    - luci-app-package-manager
    - luci-light

I very, very seldom change my build unless I’ve added a package or a patch. Simply clean/pull/update/brand it/make

If you're building from source AND don't like luci-light, the following patch wouldn't exactly be rocket science:

--- a/feeds/luci/collections/luci-nginx/Makefile
+++ b/feeds/luci/collections/luci-nginx/Makefile
@@ -15,7 +15,6 @@ LUCI_DEPENDS:= \
 	+IPV6:luci-proto-ipv6 \
 	+luci-app-firewall \
 	+luci-app-package-manager \
-	+luci-app-attendedsysupgrade \
 	+luci-mod-admin-full \
 	+luci-proto-ppp \
 	+luci-theme-openwrt-2020 \
--- a/feeds/luci/collections/luci-ssl-openssl/Makefile
+++ b/feeds/luci/collections/luci-ssl-openssl/Makefile
@@ -17,8 +17,7 @@ LUCI_DESCRIPTION:=LuCI with OpenSSL as t
 LUCI_DEPENDS:=+luci-light \
 	+libustream-openssl \
 	+openssl-util \
-	+luci-app-package-manager \
-	+luci-app-attendedsysupgrade
+	+luci-app-package-manager
 
 PKG_LICENSE:=Apache-2.0
 
--- a/feeds/luci/collections/luci-ssl/Makefile
+++ b/feeds/luci/collections/luci-ssl/Makefile
@@ -13,8 +13,7 @@ LUCI_TITLE:=LuCI with HTTPS support (mbe
 LUCI_DEPENDS:=+luci-light \
 	+libustream-mbedtls \
 	+px5g-mbedtls \
-	+luci-app-package-manager \
-	+luci-app-attendedsysupgrade
+	+luci-app-package-manager
 
 PKG_LICENSE:=Apache-2.0
 
--- a/feeds/luci/collections/luci/Makefile
+++ b/feeds/luci/collections/luci/Makefile
@@ -13,8 +13,7 @@ LUCI_TITLE:=LuCI interface with Uhttpd a
 LUCI_DESCRIPTION:=Standard OpenWrt set including package management and attended sysupgrades support
 LUCI_DEPENDS:= \
 	+luci-light \
-	+luci-app-package-manager \
-	+luci-app-attendedsysupgrade
+	+luci-app-package-manager
 
 PKG_LICENSE:=Apache-2.0
 

Are there any recent stats about which packages are being requested through ASU?

Is this directed to me?

Not my issue. I am building from source AND LuCI-light is fine. The image is from a clean clone, select Target/Sub Target/Profile, select luci-ssl-openssl which auto selects luci-light (I prefer OpenSSL) and bingo! PACKAGE_luci-app-attendedsysupgrade [=y] is enabled.

Yeh, I can patch it, but really? This is not anything I’ve seen in the last 6 years.

Your mistake is selecting luci-ssl-openssl instead of luci-light libustream-openssl openssl-util luci-app-package-manager, no patching necessary.

All are configured in the .config. By not selecting LuCI with HTTPS support (OpenSSL as SSL backend) that will create security issues - no?

No.

luci-ssl-openssl is an empty metapackage, its only purpose in life is to pull in those packages - it does absolutely nothing by itself.

2 Likes

The ASU server doesn't log any info on the package lists, its stats are extremely generic. A typical time series entry looks like stats:builds:SNAPSHOT:x86/64:generic: 1, just enough to produce the graphs on sysupgrade.openwrt.org...