openwrt / openwrt/asu

Error: Impossible package selection tplink,archer-c7-v2, 22.03.5 to 23.05

Open
#617 3 comments 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

OpenWrt

[Status](http://192.168.9.1/cgi-bin/luci/admin/system/attendedsysupgrade#)
    [Overview](http://192.168.9.1/cgi-bin/luci/admin/status/overview)
    [Routing](http://192.168.9.1/cgi-bin/luci/admin/status/routes)
    [Firewall](http://192.168.9.1/cgi-bin/luci/admin/status/iptables)
    [System Log](http://192.168.9.1/cgi-bin/luci/admin/status/logs)
    [Processes](http://192.168.9.1/cgi-bin/luci/admin/status/processes)
    [Channel Analysis](http://192.168.9.1/cgi-bin/luci/admin/status/channel_analysis)
    [Realtime Graphs](http://192.168.9.1/cgi-bin/luci/admin/status/realtime)
    [VnStat Traffic Monitor](http://192.168.9.1/cgi-bin/luci/admin/status/vnstat)
    [WireGuard](http://192.168.9.1/cgi-bin/luci/admin/status/wireguard)
[System](http://192.168.9.1/cgi-bin/luci/admin/system/attendedsysupgrade#)
    [System](http://192.168.9.1/cgi-bin/luci/admin/system/system)
    [Administration](http://192.168.9.1/cgi-bin/luci/admin/system/admin)
    [Software](http://192.168.9.1/cgi-bin/luci/admin/system/opkg)
    [Startup](http://192.168.9.1/cgi-bin/luci/admin/system/startup)
    [Scheduled Tasks](http://192.168.9.1/cgi-bin/luci/admin/system/crontab)
    [Attended Sysupgrade](http://192.168.9.1/cgi-bin/luci/admin/system/attendedsysupgrade)
    [LED Configuration](http://192.168.9.1/cgi-bin/luci/admin/system/leds)
    [Backup / Flash Firmware](http://192.168.9.1/cgi-bin/luci/admin/system/flash)
    [Reboot](http://192.168.9.1/cgi-bin/luci/admin/system/reboot)
[Services](http://192.168.9.1/cgi-bin/luci/admin/system/attendedsysupgrade#)
    [Dynamic DNS](http://192.168.9.1/cgi-bin/luci/admin/services/ddns)
    [Adblock](http://192.168.9.1/cgi-bin/luci/admin/services/adblock)
    [Wake on LAN](http://192.168.9.1/cgi-bin/luci/admin/services/wol)
    [Tinyproxy](http://192.168.9.1/cgi-bin/luci/admin/services/tinyproxy)
[Network](http://192.168.9.1/cgi-bin/luci/admin/system/attendedsysupgrade#)
    [Interfaces](http://192.168.9.1/cgi-bin/luci/admin/network/network)
    [Wireless](http://192.168.9.1/cgi-bin/luci/admin/network/wireless)
    [Switch](http://192.168.9.1/cgi-bin/luci/admin/network/switch)
    [Routing](http://192.168.9.1/cgi-bin/luci/admin/network/routes)
    [DHCP and DNS](http://192.168.9.1/cgi-bin/luci/admin/network/dhcp)
    [Diagnostics](http://192.168.9.1/cgi-bin/luci/admin/network/diagnostics)
    [Firewall](http://192.168.9.1/cgi-bin/luci/admin/network/firewall)
[Logout](http://192.168.9.1/cgi-bin/luci/admin/logout)

Paused

[Overview](http://192.168.9.1/cgi-bin/luci/admin/system/attendedsysupgrade/overview)
[Configuration](http://192.168.9.1/cgi-bin/luci/admin/system/attendedsysupgrade/configuration)

Attended Sysupgrade

The attended sysupgrade service allows to easily upgrade vanilla and custom firmware images.

This is done by building a new firmware on demand via an online service.

Currently running: 22.03.5 - r20134-5f15225c1e
Powered by LuCI openwrt-22.03 branch (git-23.119.80898-65ef406) / OpenWrt 22.03.5 r20134-5f15225c1e
Error building the firmware image

Server response: Error: Impossible package selection
Please report the error message and request

Request Data:

{
"url": "https://sysupgrade.openwrt.org",
"revision": "r20134-5f15225c1e",
"advanced_mode": "1",
"branch": "22.03",
"efi": null,
"profile": "tplink,archer-c7-v2",
"target": "ath79/generic",
"version": "23.05.0",
"packages": [
"adblock",
"ath10k-board-qca988x",
"ath10k-firmware-qca988x-ct",
"base-files",
"busybox",
"ca-bundle",
"ca-certificates",
"cgi-io",
"coreutils-sort",
"curl",
"ddns-scripts",
"ddns-scripts-services",
"diffutils",
"dnsmasq",
"dropbear",
"firewall",
"fstools",
"fwtool",
"getrandom",
"hostapd-common",
"iftop",
"ip6tables-nft",
"iperf3",
"iptables-nft",
"irqbalance",
"iw",
"iwinfo",
"jshn",
"jsonfilter",
"kernel",
"kmod-ath",
"kmod-ath10k-ct",
"kmod-ath9k",
"kmod-ath9k-common",
"kmod-cfg80211",
"kmod-gpio-button-hotplug",
"kmod-ip6tables",
"kmod-ipt-conntrack",
"kmod-ipt-core",
"kmod-ipt-nat",
"kmod-ipt-offload",
"kmod-lib-crc-ccitt",
"kmod-mac80211",
"kmod-nf-conntrack",
"kmod-nf-conntrack6",
"kmod-nf-flow",
"kmod-nf-ipt",
"kmod-nf-ipt6",
"kmod-nf-nat",
"kmod-nf-reject",
"kmod-nf-reject6",
"kmod-ppp",
"kmod-pppoe",
"kmod-pppox",
"kmod-slhc",
"kmod-usb-ledtrig-usbport",
"kmod-usb2",
"libblobmsg-json",
"libc",
"libcurl",
"libip4tc",
"libip6tc",
"libiwinfo",
"libiwinfo-data",
"libiwinfo-lua",
"libjson-c",
"libjson-script",
"liblua",
"liblucihttp",
"liblucihttp-lua",
"libnl-tiny",
"libopenssl",
"libubox",
"libubus",
"libubus-lua",
"libuci",
"libuclient",
"libustream-wolfssl",
"libxtables",
"logd",
"lua",
"luci",
"luci-app-adblock",
"luci-app-attendedsysupgrade",
"luci-app-ddns",
"luci-app-firewall",
"luci-app-opkg",
"luci-app-tinyproxy",
"luci-app-vnstat",
"luci-app-wireguard",
"luci-app-wol",
"luci-base",
"luci-compat",
"luci-i18n-ddns-en",
"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-ssl",
"luci-theme-bootstrap",
"mtd",
"nano",
"netifd",
"odhcp6c",
"odhcpd-ipv6only",
"openwrt-keyring",
"opkg",
"ppp",
"ppp-mod-pppoe",
"procd",
"px5g-wolfssl",
"qrencode",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rrdns",
"stubby",
"swconfig",
"tcpdump-mini",
"tinyproxy",
"uboot-envtools",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"uhttpd",
"uhttpd-mod-ubus",
"urandom-seed",
"urngd",
"usign",
"vnstat",
"wg-installer-client",
"wireguard-tools",
"wireless-regdb",
"wpad-basic-wolfssl",
"zlib"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/git-23.093.42303-58b861d"
}

STDERR:

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/releases/23.05.0/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 https://downloads.openwrt.org/releases/23.05.0/targets/ath79/generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/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 https://downloads.openwrt.org/releases/23.05.0/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/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 https://downloads.openwrt.org/releases/23.05.0/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/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 https://downloads.openwrt.org/releases/23.05.0/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/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 https://downloads.openwrt.org/releases/23.05.0/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/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 https://downloads.openwrt.org/releases/23.05.0/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-i18n-ddns-en.
  • check_data_file_clashes: Package libustream-mbedtls20201210 wants to install file /builder/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
    But that file is already provided by package * libustream-wolfssl20201210
  • opkg_install_cmd: Cannot install package luci-ssl.
    make[2]: *** [Makefile:189: package_install] Error 255
    make[1]: *** [Makefile:154: _call_manifest] Error 2
    make: *** [Makefile:274: manifest] Error 2

Close

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 Attended Sysupgrade request for tplink,archer-c7-v2 from 22.03.5 to 23.05 using the package list and STDERR shown. Start with the image-builder manifest step at Makefile lines 189 and 154, then trace the package-selection failures for luci-i18n-ddns-en, luci-ssl, and the conflicting libustream providers. Done means the same request builds successfully without those package-install errors.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.