Attended Sysupgrade from OpenWrt 23.05.5 to 24.10 fails on Banana Pi BPI-R3
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 450
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
Getting Server response: Error: Impossible package selection
This is a bit ironic because Banana Pi makes the OpenWrt One.
Request Data:
{
"url": "https://sysupgrade.openwrt.org",
"revision": "r24106-10cc5fcd00",
"advanced_mode": "1",
"sha256_unsigned": "",
"branch": "23.05",
"efi": null,
"request_hash": "a9731ee546ab6573dc7eceef0605b49213ae8c790da94f2e7b75c514fb4d01eb",
"profile": "bananapi,bpi-r3",
"target": "mediatek/filogic",
"version": "24.10.0",
"packages": [
"base-files",
"bind-dig",
"busybox",
"ca-bundle",
"cgi-io",
"dnsmasq",
"drill",
"dropbear",
"e2fsprogs",
"eip197-mini-firmware",
"f2fsck",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"hostapd-common",
"ip-full",
"iputils-arping",
"iputils-clockdiff",
"iputils-ping",
"iputils-tracepath",
"iw",
"iwinfo",
"jansson",
"jshn",
"jsonfilter",
"kernel",
"kmod-cfg80211",
"kmod-crypto-acompress",
"kmod-crypto-aead",
"kmod-crypto-authenc",
"kmod-crypto-ccm",
"kmod-crypto-cmac",
"kmod-crypto-crc32c",
"kmod-crypto-ctr",
"kmod-crypto-des",
"kmod-crypto-gcm",
"kmod-crypto-gf128",
"kmod-crypto-ghash",
"kmod-crypto-hash",
"kmod-crypto-hmac",
"kmod-crypto-hw-safexcel",
"kmod-crypto-manager",
"kmod-crypto-md5",
"kmod-crypto-null",
"kmod-crypto-rng",
"kmod-crypto-seqiv",
"kmod-crypto-sha1",
"kmod-crypto-sha256",
"kmod-crypto-sha512",
"kmod-gpio-button-hotplug",
"kmod-hwmon-core",
"kmod-hwmon-pwmfan",
"kmod-i2c-gpio",
"kmod-leds-gpio",
"kmod-lib-crc-ccitt",
"kmod-lib-crc32c",
"kmod-lib-lzo",
"kmod-mac80211",
"kmod-mt76-connac",
"kmod-mt76-core",
"kmod-mt7915e",
"kmod-mt7986-firmware",
"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-sfp",
"kmod-slhc",
"kmod-thermal",
"kmod-usb3",
"libblobmsg-json",
"libc",
"libiwinfo",
"libiwinfo-data",
"libjson-c",
"libjson-script",
"liblucihttp",
"liblucihttp-ucode",
"libmbedtls",
"libmnl",
"libnftnl",
"libnl-tiny",
"libubox",
"libubus",
"libuci",
"libuclient",
"libucode",
"libustream-mbedtls",
"logd",
"luci",
"luci-app-acme",
"luci-app-advanced-reboot",
"luci-app-attendedsysupgrade",
"luci-app-ddns",
"luci-app-diag-core",
"luci-app-firewall",
"luci-app-nlbwmon",
"luci-app-opkg",
"luci-app-sqm",
"luci-app-upnp",
"luci-app-wifischedule",
"luci-app-wol",
"luci-base",
"luci-light",
"luci-mod-admin-full",
"luci-mod-dashboard",
"luci-mod-network",
"luci-mod-status",
"luci-mod-system",
"luci-proto-ipv6",
"luci-proto-ppp",
"luci-proto-wireguard",
"luci-ssl",
"luci-theme-bootstrap",
"mkf2fs",
"mt7986-wo-firmware",
"mtd",
"netifd",
"nftables-json",
"odhcp6c",
"odhcpd-ipv6only",
"openssh-sftp-server",
"openwrt-keyring",
"opkg",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"px5g-mbedtls",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rrdns",
"rpcd-mod-ucode",
"ubi-utils",
"uboot-envtools",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"ucode",
"ucode-mod-fs",
"ucode-mod-html",
"ucode-mod-math",
"ucode-mod-nl80211",
"ucode-mod-rtnl",
"ucode-mod-ubus",
"ucode-mod-uci",
"ucode-mod-uloop",
"uhttpd",
"uhttpd-mod-ubus",
"urandom-seed",
"urngd",
"usign",
"wakeonlan",
"wireless-regdb",
"wpad-basic-mbedtls"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/git-24.340.62040-d52505e"
}
STDERR:
Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.
Building package index...
Downloading http://downloads.openwrt.org/releases/24.10.0/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 http://downloads.openwrt.org/releases/24.10.0/targets/mediatek/filogic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/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 http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/mediatek/filogic/kmods/6.6.73-1-d649d775435da5a8637f7a955a80d331/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/mediatek/filogic/kmods/6.6.73-1-d649d775435da5a8637f7a955a80d331/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/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 http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a53/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/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 http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/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 http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/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 http://downloads.openwrt.org/releases/24.10.0/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 libopenssl3. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package bind-dig.
* opkg_install_pkg: Checksum or size mismatch for package libopenssl3. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package drill.
* opkg_install_pkg: Checksum or size mismatch for package libelf1. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package ip-full.
* opkg_install_pkg: Checksum or size mismatch for package libopenssl3. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package luci-app-acme.
* opkg_install_cmd: Cannot install package luci-app-diag-core.
* opkg_install_pkg: Checksum or size mismatch for package sqm-scripts. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package luci-app-sqm.
* opkg_install_pkg: Checksum or size mismatch for package etherwake. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package luci-app-wol.
make[2]: *** [Makefile:234: package_install] Error 255
make[1]: *** [Makefile:171: _call_manifest] Error 2
make: *** [Makefile:349: manifest] Error 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the attended sysupgrade request data and STDERR, especially the package_install failures for libopenssl3, libelf1, sqm-scripts, and etherwake. Reproduce the Banana Pi BPI-R3 upgrade path and trace how package indexes and packages are selected; done means the reported 23.05.5-to-24.10 upgrade completes without package selection or checksum errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100