Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server response: Error: Impossible package selection #1065

Open
ShuttleTydirium opened this issue Oct 31, 2024 · 1 comment
Open

Server response: Error: Impossible package selection #1065

ShuttleTydirium opened this issue Oct 31, 2024 · 1 comment

Comments

@ShuttleTydirium
Copy link

Error building the firmware image
Server response: Error: Impossible package selection

Request Data:

{
    "url": "https://sysupgrade.openwrt.org",
    "branch": "SNAPSHOT",
    "revision": "r27833-fcd935a5e4",
    "efi": null,
    "advanced_mode": "1",
    "request_hash": "4923776e280bddce9844edd58ced33e1",
    "sha256_unsigned": "",
    "client": "luci/24.290.85088~46fb560",
    "packages": {
        "iwinfo": "2024.10.20~b94f066e-r1",
        "openssh-sftp-server": "9.9_p1-r1",
        "tcpdump-mini": "4.99.5-r1",
        "luci-app-adblock": "24.284.61488~02f2d47",
        "libc": "1.2.5-r4",
        "lxc-stop": "6.0.2-r1",
        "luci-app-nlbwmon": "24.148.86114~d174bb8",
        "mkf2fs": "1.16.0-r3",
        "miniupnpd-nftables": "2.3.7-r1",
        "wpad-basic-mbedtls": "2024.09.15~5ace39b0-r1",
        "busybox": "1.36.1-r2",
        "odhcpd": "2024.05.08~a2988231-r1",
        "kmod-hwmon-pwmfan": "6.6.57-r1",
        "nano": "8.2-r1",
        "kmod-crypto-aead": "6.6.57-r1",
        "lxc-ls": "6.0.2-r1",
        "kmod-lib-crc-ccitt": "6.6.57-r1",
        "getrandom": "2024.04.26~85f10530-r1",
        "kmod-phy-aquantia": "6.6.57-r1",
        "luci-app-irqbalance": "24.148.86114~fbbfdb4",
        "kmod-pppoe": "6.6.57-r1",
        "procd-ujail": "2024.10.20~ef3ab8bc-r1",
        "base-files": "1629~fcd935a5e4",
        "libustream-mbedtls": "2024.07.28~99bd3d2b-r1",
        "fitblk": "2",
        "firewall4": "2024.05.21~4c01d1eb-r1",
        "uboot-envtools": "2024.07-r1",
        "procd": "2024.10.20~ef3ab8bc-r1",
        "ip6tables-nft": "1.8.8-r3",
        "kmod-crypto-hmac": "6.6.57-r1",
        "lxc-start": "6.0.2-r1",
        "luci-app-lxc": "24.148.86114~27fc389",
        "kmod-crypto-acompress": "6.6.57-r1",
        "kmod-rtc-pcf8563": "6.6.57-r1",
        "block-mount": "2024.07.14~408c2cc4-r1",
        "kmod-usb3": "6.6.57-r1",
        "luci-app-unbound": "24.148.86114~d174bb8",
        "libmbedtls": "3.6.1-r1",
        "kmod-eeprom-at24": "6.6.57-r1",
        "unbound-control": "1.21.0-r1",
        "lxc-info": "6.0.2-r1",
        "odhcp6c": "2023.05.12~bcd28363-r20",
        "iptables-nft": "1.8.8-r3",
        "uci": "2023.08.10~5781664d-r1",
        "dropbear": "2024.85-r1",
        "kmod-hwmon-core": "6.6.57-r1",
        "kmod-ipvlan": "6.6.57-r1",
        "mtd": "26",
        "procd-seccomp": "2024.10.20~ef3ab8bc-r1",
        "kmod-crypto-hw-safexcel": "6.6.57-r1",
        "libjson-script": "2024.03.29~eb9bcb64-r1",
        "kmod-crypto-authenc": "6.6.57-r1",
        "kmod-i2c-mux-pca954x": "6.6.57-r1",
        "urandom-seed": "3",
        "ppp": "2.5.1-r1",
        "cfdisk": "2.40.2-r1",
        "kmod-leds-gpio": "6.6.57-r1",
        "lxc-destroy": "6.0.2-r1",
        "kmod-gpio-button-hotplug": "6.6.57-r5",
        "kmod-sfp": "6.6.57-r1",
        "kmod-ikconfig": "6.6.57-r1",
        "kmod-mt7996-firmware": "6.6.57.2024.10.11.1~ecca0e77-r1",
        "logd": "2024.04.26~85f10530-r1",
        "lxc-config": "6.0.2-r1",
        "luci-app-attendedsysupgrade": "24.290.85088~46fb560",
        "libsensors": "3.6.0-r1",
        "kmod-libphy": "6.6.57-r1",
        "kmod-crypto-des": "6.6.57-r1",
        "ds-lite": "9",
        "cgdisk": "1.0.10-r1",
        "e2fsprogs": "1.47.0-r2",
        "kmod-ppp": "6.6.57-r1",
        "kmod-mt7996-233-firmware": "6.6.57.2024.10.11.1~ecca0e77-r1",
        "luci-app-upnp": "24.148.86114~d174bb8",
        "lxc-autostart": "6.0.2-r1",
        "htop": "3.3.0-r2",
        "f2fsck": "1.16.0-r3",
        "ca-bundle": "20240203-r1",
        "libuclient": "2024.06.27~a220818a-r1",
        "luci": "23.051.66410~a505bb1",
        "fdisk": "2.40.2-r1",
        "kmod-lib-lzo": "6.6.57-r1",
        "kernel": "6.6.57~9b9a3ef1ce6b1f81f21a35556c70cede-r1",
        "hostapd-common": "2024.09.15~5ace39b0-r1",
        "urngd": "2023.11.01~44365eb1-r1",
        "ppp-mod-pppoe": "2.5.1-r1"
    },
    "profile": "bananapi,bpi-r4",
    "target": "mediatek/filogic",
    "version": "SNAPSHOT",
    "diff_packages": true,
    "filesystem": "squashfs"
}

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/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.58-1-6cce1ce3bdd30a0ef90c5c528fbe908b/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.58-1-6cce1ce3bdd30a0ef90c5c528fbe908b/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 failed.
Remove wrong Signature file.
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.
Collected errors:
 * opkg_install_pkg: Checksum or size mismatch for package busybox. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package busybox.
 * opkg_install_cmd: Cannot install package cgdisk.
 * opkg_install_cmd: Cannot install package htop.
 * opkg_install_cmd: Cannot install package libsensors.
 * pkg_hash_check_unresolved: cannot find dependency cgi-io for luci-base
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-base found, but incompatible with the architectures configured
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 * 	cgi-io
 * opkg_install_cmd: Cannot install package luci.
 * pkg_hash_check_unresolved: cannot find dependency adblock for luci-app-adblock
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-adblock found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package luci-app-adblock.
 * pkg_hash_check_unresolved: cannot find dependency attendedsysupgrade-common for luci-app-attendedsysupgrade
 * pkg_hash_check_unresolved: cannot find dependency cgi-io for luci-app-attendedsysupgrade
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-attendedsysupgrade found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package luci-app-attendedsysupgrade.
 * pkg_hash_check_unresolved: cannot find dependency irqbalance for luci-app-irqbalance
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-irqbalance found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package luci-app-irqbalance.
 * pkg_hash_check_unresolved: cannot find dependency lxc for luci-app-lxc
 * pkg_hash_check_unresolved: cannot find dependency lxc-attach for luci-app-lxc
 * pkg_hash_check_unresolved: cannot find dependency lxc-console for luci-app-lxc
 * pkg_hash_check_unresolved: cannot find dependency lxc-create for luci-app-lxc
 * pkg_hash_check_unresolved: cannot find dependency liblxc for luci-app-lxc
 * pkg_hash_check_unresolved: cannot find dependency rpcd-mod-lxc for luci-app-lxc
 * pkg_hash_check_unresolved: cannot find dependency tar for luci-app-lxc
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-lxc found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package luci-app-lxc.
 * pkg_hash_check_unresolved: cannot find dependency nlbwmon for luci-app-nlbwmon
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-nlbwmon found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package luci-app-nlbwmon.
 * pkg_hash_check_unresolved: cannot find dependency unbound-daemon for luci-app-unbound
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-unbound found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package luci-app-unbound.
 * pkg_hash_check_unresolved: cannot find dependency miniupnpd for luci-app-upnp
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-upnp found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package luci-app-upnp.
 * opkg_install_cmd: Cannot install package lxc-autostart.
 * opkg_install_cmd: Cannot install package lxc-config.
 * opkg_install_cmd: Cannot install package lxc-destroy.
 * opkg_install_cmd: Cannot install package lxc-info.
 * opkg_install_cmd: Cannot install package lxc-ls.
 * opkg_install_cmd: Cannot install package lxc-start.
 * opkg_install_cmd: Cannot install package lxc-stop.
 * opkg_install_cmd: Cannot install package miniupnpd-nftables.
 * opkg_install_cmd: Cannot install package nano.
 * opkg_install_cmd: Cannot install package openssh-sftp-server.
 * opkg_install_cmd: Cannot install package unbound-control.
 * opkg_install_pkg: Checksum or size mismatch for package busybox. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package busybox.
make[2]: *** [Makefile:228: package_install] Error 255
make[1]: *** [Makefile:165: _call_manifest] Error 2
make: *** [Makefile:343: manifest] Error 2
@ShuttleTydirium
Copy link
Author

ShuttleTydirium commented Oct 31, 2024

I removed nano from the package selected and submitted the build request again. This time it succeeded. However, it seems several packages are missing.

So far, I've identified: opkg, uclient-fetch which I believe are supposed to be in the base installation. So something is quite wrong.

Successfully created firmware image
Version	SNAPSHOT r27965-57572de43a
SHA256	8ba7c41a5f7b7033498ea827461223d1027f916950538b0e75ec9e8377740345
Profile	bananapi_bpi-r4
Target	mediatek/filogic
Build Date	2024-10-29T11:00:53.000000Z
Filename	openwrt-2ce59d390bb8-mediatek-filogic-bananapi_bpi-r4-squashfs-sysupgrade.itb
Filesystem	squashfs

Hopefully this helps track down and resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant