openwrt / openwrt/asu

Attended sysupgrade from OpenWrt 23.05.5 to 24.10.0 on WRT3200ACM fails

Open
#1,192 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

Linksys WRT3200ACM on OpenWrt 23.05.5 when attending to sysupgrade to OpenWrt 24.10.0.

PD: If I uncheck "auc" and "luci-app-attendedsysupgrade" packages, it builds correctly but after the reboot it stays on 23.05.5 like if nothing was flashed (and sysupgrade is gone, obvioulsy)

`{
"url": "https://sysupgrade.openwrt.org",
"revision": "r24106-10cc5fcd00",
"advanced_mode": "1",
"sha256_unsigned": "",
"branch": "23.05",
"efi": null,
"request_hash": "45af6267ffea0b0564e3ea8445896a3c679bf7eb25821743ff9c233732b15331",
"profile": "linksys,wrt3200acm",
"target": "mvebu/cortexa9",
"version": "24.10.0",
"packages": [
"auc",
"base-files",
"busybox",
"ca-bundle",
"cgi-io",
"collectd-mod-sensors",
"collectd-mod-thermal",
"ddns-scripts",
"dnsmasq",
"dropbear",
"etherwake",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"iptables-nft",
"iwinfo",
"jansson",
"jshn",
"jsonfilter",
"kernel",
"kmod-btmrvl",
"kmod-crypto-crc32c",
"kmod-crypto-hash",
"kmod-gpio-button-hotplug",
"kmod-lib-crc-ccitt",
"kmod-lib-crc32c",
"kmod-mwlwifi",
"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",
"libblobmsg-json",
"libc",
"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-openssl",
"logd",
"lua",
"luci",
"luci-app-advanced-reboot",
"luci-app-attendedsysupgrade",
"luci-app-commands",
"luci-app-ddns",
"luci-app-firewall",
"luci-app-opkg",
"luci-app-sqm",
"luci-app-statistics",
"luci-app-wifischedule",
"luci-app-wol",
"luci-base",
"luci-lib-base",
"luci-lib-ip",
"luci-lib-jsonc",
"luci-lib-nixio",
"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-openssl",
"luci-theme-bootstrap",
"mtd",
"mwlwifi-firmware-88w8964",
"netifd",
"nftables-json",
"odhcp6c",
"odhcpd-ipv6only",
"openwrt-keyring",
"opkg",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rrdns",
"sqm-scripts",
"tailscale",
"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",
"wifischedule",
"wireguard-tools",
"wpad"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/git-25.024.63972-9fa69d5"
}
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/mvebu/cortexa9/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/mvebu/cortexa9/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a9_vfpv3-d16/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a9_vfpv3-d16/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/mvebu/cortexa9/kmods/6.6.73-1-b4e6dc3c3253bf5b438f90392080acc3/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/mvebu/cortexa9/kmods/6.6.73-1-b4e6dc3c3253bf5b438f90392080acc3/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:

  • opkg_install_cmd: Cannot install package auc.
  • opkg_install_pkg: Checksum or size mismatch for package cgi-io. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package cgi-io.
  • opkg_install_pkg: Checksum or size mismatch for package cgi-io. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package luci.
  • opkg_install_pkg: Checksum or size mismatch for package attendedsysupgrade-common. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package luci-app-attendedsysupgrade.
    make[2]: *** [Makefile:234: package_install] Error 255
    make[1]: *** [Makefile:171: _call_manifest] Error 2
    make: *** [Makefile:349: manifest] Error 2`

Thanks in advance.

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 request for profile linksys,wrt3200acm from OpenWrt 23.05.5 to 24.10.0 and inspect the reported package-installation errors, especially the failures for auc, cgi-io, and attendedsysupgrade-common. The work is done when the requested image builds successfully and the device upgrades to 24.10.0 instead of remaining on 23.05.5.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.