openwrt / openwrt/asu

Attended Sysupgrade Impossible Package Selection on OpenWrt One

Open
#1,078 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
450
Forks
111
PR merge metrics
No merged PRs in 30d

Description

Reporting as requested by the dialog box in Luci

Server response: Error: Impossible package selection Request Data:
{
    "url": "https://sysupgrade.openwrt.org",
    "branch": "SNAPSHOT",
    "revision": "r27965-57572de43a",
    "efi": null,
    "advanced_mode": "0",
    "request_hash": "",
    "sha256_unsigned": "",
    "client": "luci/24.290.85088~46fb560",
    "packages": {
        "iwinfo": "2024.10.20~b94f066e-r1",
        "libc": "1.2.5-r4",
        "opkg": "2024.10.16~38eccbb1-r1",
        "wpad-basic-mbedtls": "2024.09.15~5ace39b0-r1",
        "busybox": "1.36.1-r2",
        "kmod-crypto-aead": "6.6.58-r1",
        "luci-app-https-dns-proxy": "2023.12.26-1",
        "kmod-lib-crc-ccitt": "6.6.58-r1",
        "getrandom": "2024.04.26~85f10530-r1",
        "kmod-phy-aquantia": "6.6.58-r1",
        "kmod-pppoe": "6.6.58-r1",
        "procd-ujail": "2024.10.20~ef3ab8bc-r1",
        "base-files": "1630~57572de43a",
        "libustream-mbedtls": "2024.07.28~99bd3d2b-r1",
        "fitblk": "2",
        "firewall4": "2024.05.21~4c01d1eb-r1",
        "uboot-envtools": "2024.07-r1",
        "speedtest-netperf": "1.1.0-r1",
        "dnsmasq": "2.90-r3",
        "procd": "2024.10.20~ef3ab8bc-r1",
        "kmod-crypto-hmac": "6.6.58-r1",
        "kmod-nvme": "6.6.58-r1",
        "kmod-crypto-acompress": "6.6.58-r1",
        "kmod-rtc-pcf8563": "6.6.58-r1",
        "kmod-usb3": "6.6.58-r1",
        "odhcp6c": "2023.05.12~bcd28363-r20",
        "uci": "2023.08.10~5781664d-r1",
        "luci-ssl": "23.035.26083~7550ad6",
        "dropbear": "2024.85-r1",
        "curl": "8.10.1-r1",
        "kmod-hwmon-core": "6.6.58-r1",
        "mtd": "26",
        "odhcpd-ipv6only": "2024.05.08~a2988231-r1",
        "procd-seccomp": "2024.10.20~ef3ab8bc-r1",
        "kmod-crypto-hw-safexcel": "6.6.58-r1",
        "libjson-script": "2024.03.29~eb9bcb64-r1",
        "kmod-crypto-authenc": "6.6.58-r1",
        "kmod-mt7915e": "6.6.58.2024.10.11.1~ecca0e77-r1",
        "luci-app-sqm": "24.124.22943~208333b",
        "urandom-seed": "3",
        "ppp": "2.5.1-r1",
        "kmod-leds-gpio": "6.6.58-r1",
        "kmod-gpio-button-hotplug": "6.6.58-r5",
        "logd": "2024.04.26~85f10530-r1",
        "luci-app-attendedsysupgrade": "24.290.85088~46fb560",
        "kmod-libphy": "6.6.58-r1",
        "kmod-crypto-des": "6.6.58-r1",
        "irqbalance": "1.9.4-r1",
        "e2fsprogs": "1.47.0-r2",
        "attendedsysupgrade-common": "8",
        "kmod-ppp": "6.6.58-r1",
        "mt7981-wo-firmware": "20241017-r1",
        "ca-bundle": "20240203-r1",
        "libuclient": "2024.10.22~88ae8f20-r1",
        "luci": "24.297.79519~bcd13b9",
        "kmod-mt7981-firmware": "6.6.58.2024.10.11.1~ecca0e77-r1",
        "luci-app-pbr": "1.1.7-29",
        "kmod-lib-lzo": "6.6.58-r1",
        "kernel": "6.6.58~6cce1ce3bdd30a0ef90c5c528fbe908b-r1",
        "kmod-phy-airoha-en8811h": "6.6.58-r1",
        "hostapd-common": "2024.09.15~5ace39b0-r1",
        "urngd": "2023.11.01~44365eb1-r1",
        "ppp-mod-pppoe": "2.5.1-r1"
    },
    "profile": "openwrt,one",
    "target": "mediatek/filogic",
    "version": "SNAPSHOT",
    "diff_packages": true,
    "filesystem": "squashfs"
} 
And then below that
STDERR This is the stderr portion
Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.59-1-0561031e21f60f05c8f540bffb723036/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.59-1-0561031e21f60f05c8f540bffb723036/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
/builder/staging_dir/host/bin/opkg: the ``install'' command requires at least one argument
make[2]: *** [Makefile:224: package_install] Error 1
make[1]: *** [Makefile:165: _call_manifest] Error 2
make: *** [Makefile:339: manifest] Error 2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the request for profile openwrt,one and follow the image-builder log through manifest generation, especially the opkg install step that receives no package argument. Done means the reported package selection completes successfully and produces an attended upgrade image.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.