openwrt / openwrt/asu

Error building the firmware image TP-Link Archer-C7 v5 - Server response: Error: Impossible package selection

Open
#568 0 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

Attended Sysupgrade
Currently running: SNAPSHOT - r23846-99a98b3024

Attempt to upgrade to version SNAPSHOT - r23868-02214ab8dc with the error(s) below:

"url": "https://sysupgrade.openwrt.org",
"revision": "r23846-99a98b3024",
"advanced_mode": "0",
"sha256_unsigned": "",
"branch": "SNAPSHOT",
"efi": null,
"profile": "tplink,archer-c7-v5",
"target": "ath79/generic",
"version": "SNAPSHOT",
"packages": [
"ath10k-firmware-qca988x-ct",
"auc",
"base-files",
"block-mount",
"busybox",
"ca-bundle",
"ca-certificates",
"dnsmasq",
"dropbear",
"e2fsprogs",
"etherwake-nfqueue",
"firewall4",
"fstools",
"kernel",
"kmod-ath10k-ct",
"kmod-ath9k",
"kmod-fs-ext4",
"kmod-gpio-button-hotplug",
"kmod-nft-offload",
"kmod-usb-ledtrig-usbport",
"kmod-usb-storage",
"kmod-usb2",
"kmod-usb3",
"libc",
"libustream-wolfssl",
"logd",
"luci",
"luci-app-attendedsysupgrade",
"luci-app-wol",
"mtd",
"netifd",
"odhcp6c",
"odhcpd-ipv6only",
"opkg",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"qosify",
"swconfig",
"uboot-envtools",
"ucert",
"uci",
"uclient-fetch",
"urandom-seed",
"urngd",
"wakeonlan",
"wifitoggle",
"wpad-basic-wolfssl"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/git-23.223.40904-987ae1a"

STDERR:
Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/dl/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/dl/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.15.129-1-e7439a8bc5585fde01b79cbd7b706720/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.15.129-1-e7439a8bc5585fde01b79cbd7b706720/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/dl/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/dl/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/dl/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Collected errors:

  • check_data_file_clashes: Package nftables-json wants to install file /home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/usr/lib/libnftables.so
    But that file is already provided by package * nftables-nojson
  • check_data_file_clashes: Package nftables-json wants to install file /home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/usr/lib/libnftables.so.1
    But that file is already provided by package * nftables-nojson
  • check_data_file_clashes: Package nftables-json wants to install file /home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/usr/lib/libnftables.so.1.1.0
    But that file is already provided by package * nftables-nojson
  • check_data_file_clashes: Package nftables-json wants to install file /home/aparcar/asu/worker1/cache/SNAPSHOT/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/usr/sbin/nft
    But that file is already provided by package * nftables-nojson
  • opkg_install_cmd: Cannot install package firewall4.
    make[2]: *** [Makefile:189: package_install] Error 255
    make[1]: *** [Makefile:154: _call_manifest] Error 2
    make: *** [Makefile:274: 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

Start by reproducing the Attended Sysupgrade request for profile tplink,archer-c7-v5 and inspect the imagebuilder manifest targets reported at Makefile lines 189, 154, and 274. Trace why firewall4 selects both nftables-json and nftables-nojson; done means the firmware image builds without the package file-clash 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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.