openwrt / openwrt/asu

LuCi Attended Sysupgrade error

Open
#479 1 comment 0 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

Current version : 22.03.2 r19803-9a599fee93 / LuCI openwrt-22.03 branch git-22.288.45147-96ec0cd

Error building the firmware image
Server response: Error: Impossible package selection
{
"url": "https://sysupgrade.openwrt.org",
"revision": "r19803-9a599fee93",
"advanced_mode": "0",
"branch": "22.03",
"efi": null,
"request_hash": "17dcdc805532b75d2ae2e6ba0f58f0f7",
"profile": "asus,rt-ax53u",
"target": "ramips/mt7621",
"version": "22.03.4",
"packages": [
"avahi-daemon-service-http",
"avahi-daemon-service-ssh",
"avahi-utils",
"base-files",
"busybox",
"ca-bundle",
"cgi-io",
"collectd-mod-ping",
"conntrack",
"conntrackd",
"dnsmasq",
"dropbear",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"hostapd-common",
"iwinfo",
"jansson",
"jshn",
"jsonfilter",
"kernel",
"kmod-crypto-crc32c",
"kmod-crypto-hash",
"kmod-gpio-button-hotplug",
"kmod-leds-gpio",
"kmod-lib-crc-ccitt",
"kmod-lib-crc32c",
"kmod-mt7915e",
"kmod-nf-conntrack",
"kmod-nf-conntrack6",
"kmod-nf-flow",
"kmod-nf-log",
"kmod-nf-log6",
"kmod-nf-nat",
"kmod-nf-reject",
"kmod-nf-reject6",
"kmod-nfnetlink",
"kmod-nft-core",
"kmod-nft-fib",
"kmod-nft-nat",
"kmod-nft-offload",
"kmod-ppp",
"kmod-pppoe",
"kmod-pppox",
"kmod-slhc",
"kmod-usb3",
"ksmbd-avahi-service",
"libblobmsg-json",
"libiwinfo",
"libiwinfo-data",
"libiwinfo-lua",
"libjson-c",
"libjson-script",
"liblua",
"liblucihttp",
"liblucihttp-lua",
"libmnl",
"libnftnl",
"libnl-tiny",
"libubox",
"libubus",
"libubus-lua",
"libuci",
"libuclient",
"libucode",
"libustream-wolfssl",
"libwolfssl",
"logd",
"lua",
"luci",
"luci-app-attendedsysupgrade",
"luci-app-example",
"luci-app-firewall",
"luci-app-opkg",
"luci-app-statistics",
"luci-base",
"luci-i18n-wireguard-fr",
"luci-lib-base",
"luci-lib-ip",
"luci-lib-jsonc",
"luci-lib-nixio",
"luci-mod-admin-full",
"luci-mod-network",
"luci-mod-status",
"luci-mod-system",
"luci-proto-ipv6",
"luci-proto-ppp",
"luci-proto-wireguard",
"luci-ssl",
"luci-theme-bootstrap",
"mailsend",
"mtd",
"netifd",
"nftables-json",
"odhcp6c",
"odhcpd-ipv6only",
"openssh-sftp-avahi-service",
"openwrt-keyring",
"opkg",
"pingcheck",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"px5g-wolfssl",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rrdns",
"tcpdump",
"ubi-utils",
"uboot-envtools",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"ucode",
"ucode-mod-fs",
"ucode-mod-ubus",
"ucode-mod-uci",
"uhttpd",
"uhttpd-mod-ubus",
"urandom-seed",
"urngd",
"usign",
"wg-installer-server",
"wpad-basic-wolfssl"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/git-23.093.42303-58b861d"
}
STDERR:
Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/releases/22.03.4/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/22.03.4/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/22.03.4/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Collected errors:

  • check_data_file_clashes: Package libavahi-dbus-support wants to install file /home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/libavahi-common.so.3
    But that file is already provided by package * libavahi-nodbus-support
  • check_data_file_clashes: Package libavahi-dbus-support wants to install file /home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/libavahi-common.so.3.5.4
    But that file is already provided by package * libavahi-nodbus-support
  • check_data_file_clashes: Package libavahi-dbus-support wants to install file /home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/libavahi-core.so.7
    But that file is already provided by package * libavahi-nodbus-support
  • check_data_file_clashes: Package libavahi-dbus-support wants to install file /home/aparcar/asu/worker1/cache/22.03.4/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/libavahi-core.so.7.1.0
    But that file is already provided by package * libavahi-nodbus-support
  • opkg_install_cmd: Cannot install package avahi-utils.
    make[2]: *** [Makefile:170: package_install] Error 255
    make[1]: *** [Makefile:135: _call_manifest] Error 2
    make: *** [Makefile:255: 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

Reproduce the request against sysupgrade.openwrt.org using the supplied profile, release, and package list. Start with the imagebuilder package-install step reported at Makefile:170, then trace the manifest handling around the libavahi-dbus-support and libavahi-nodbus-support clash. Done means the reported ASU request no longer fails with an impossible package selection error.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.