I'm trying to figure out the best upgrade path for my current installation on my RaspberryPi 4 which is seeing a bunch of ASU errors. Currently, 23.05.5 is installed, and was last updated using ASU.
I know that ASU has been replaced by OWUT, but the latter isn't available on 23.05.5, so I was hoping that I could get to 24.10.0 with ASU, and then install OWUT once there. I'm also aware of the security issue that was found with with sysupgrade server (and quickly resolved)... am I dealing with an issue that stems from the changes made there?
FWIW, I totally understand that at least one package appears to have been dropped (shadowsocks), so if I have to manually remove one or two packages in that context, I'd understand. However, it seems that there are deeper errors here... most of them seem to be related to LuCI -- do I just remove the offending packages and then reinstall LuCI once the upgrade is complete? Or is there something else I should do? (or just start from scratch)?
Here's an example of the ASU error (repeated for multiple packages):
* opkg_install_cmd: Cannot install package liblucihttp.
* opkg_install_pkg: Checksum or size mismatch for package liblucihttp-ucode. Either the opkg or the package index are corrupt. Try 'opkg update'.
And of course, the full output log:
23.05.5 > 24.10.0 Request Data
{
"url": "https://sysupgrade.openwrt.org",
"revision": "r24106-10cc5fcd00",
"advanced_mode": "1",
"sha256_unsigned": "",
"branch": "23.05",
"efi": null,
"request_hash": "b981411bac5454485228351827ef2e47c1d9821783f2da6c859ef6766f656dcb",
"profile": "raspberrypi,4-model-b",
"target": "bcm27xx/bcm2711",
"version": "24.10.0",
"packages": [
"attendedsysupgrade-common",
"auc",
"avahi-dbus-daemon",
"base-files",
"bcm27xx-gpu-fw",
"bcm27xx-userland",
"bind-host",
"brcmfmac-nvram-43455-sdio",
"busybox",
"ca-bundle",
"cgi-io",
"curl",
"cypress-firmware-43455-sdio",
"ddns-scripts",
"dnsmasq",
"dropbear",
"e2fsprogs",
"etherwake",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"iperf3",
"iwinfo",
"jansson",
"jshn",
"jsonfilter",
"kernel",
"kmod-brcmfmac",
"kmod-crypto-acompress",
"kmod-crypto-crc32c",
"kmod-crypto-hash",
"kmod-fs-vfat",
"kmod-hid",
"kmod-hid-generic",
"kmod-input-core",
"kmod-input-evdev",
"kmod-lib-crc-ccitt",
"kmod-lib-crc32c",
"kmod-lib-lzo",
"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-nls-base",
"kmod-nls-cp437",
"kmod-nls-iso8859-1",
"kmod-nls-utf8",
"kmod-ppp",
"kmod-pppoe",
"kmod-pppox",
"kmod-r8169",
"kmod-slhc",
"kmod-sound-arm-bcm2835",
"kmod-sound-core",
"kmod-usb-core",
"kmod-usb-hid",
"kmod-usb-net-lan78xx",
"kmod-wireguard",
"libblkid",
"libblobmsg-json",
"libc",
"libcomerr",
"libext2fs",
"libf2fs",
"libiwinfo",
"libiwinfo-data",
"libjson-c",
"libjson-script",
"liblucihttp",
"liblucihttp-ucode",
"libmbedtls",
"libmnl",
"libnftnl",
"libnl-tiny",
"libsmartcols",
"libss",
"libubox",
"libubus",
"libuci",
"libuclient",
"libucode",
"libustream-mbedtls",
"libuuid",
"logd",
"luci",
"luci-app-attendedsysupgrade",
"luci-app-ddns",
"luci-app-firewall",
"luci-app-nut",
"luci-app-openvpn",
"luci-app-opkg",
"luci-app-shadowsocks-libev",
"luci-app-wol",
"luci-base",
"luci-light",
"luci-mod-admin-full",
"luci-mod-network",
"luci-mod-status",
"luci-mod-system",
"luci-proto-ipv6",
"luci-proto-ppp",
"luci-proto-wireguard",
"luci-ssl",
"luci-theme-bootstrap",
"mkf2fs",
"mtd",
"netifd",
"nftables-json",
"nut",
"nut-common",
"nut-driver-usbhid-ups",
"nut-server",
"nut-upsc",
"nut-upscmd",
"nut-upslog",
"nut-upsmon",
"nut-web-cgi",
"odhcp6c",
"odhcpd-ipv6only",
"openvpn-openssl",
"openwrt-keyring",
"opkg",
"partx-utils",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"px5g-mbedtls",
"qrencode",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rrdns",
"rpcd-mod-ucode",
"shadowsocks-libev-ss-server",
"sslh",
"stunnel",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"ucode",
"ucode-mod-fs",
"ucode-mod-html",
"ucode-mod-math",
"ucode-mod-ubus",
"ucode-mod-uci",
"uhttpd",
"uhttpd-mod-ubus",
"urandom-seed",
"usign",
"wireguard-tools",
"wpad-basic-mbedtls"
],
"diff_packages": true,
"filesystem": "ext4",
"client": "luci/git-23.339.51123-138595a"
}
23.05.5 > 24.10.0 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/bcm27xx/bcm2711/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/bcm27xx/bcm2711/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/bcm27xx/bcm2711/kmods/6.6.73-1-2577896cea679d46fe670142cc9703c1/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/bcm27xx/bcm2711/kmods/6.6.73-1-2577896cea679d46fe670142cc9703c1/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:
* opkg_install_pkg: Checksum or size mismatch for package liblucihttp0. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package liblucihttp.
* opkg_install_pkg: Checksum or size mismatch for package liblucihttp-ucode. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package liblucihttp-ucode.
* opkg_install_pkg: Checksum or size mismatch for package rpcd-mod-luci. 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 liblucihttp0. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package luci-app-openvpn.
* opkg_install_cmd: Cannot install package luci-app-shadowsocks-libev.
* opkg_install_pkg: Checksum or size mismatch for package rpcd-mod-luci. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package rpcd-mod-luci.
* opkg_install_pkg: Checksum or size mismatch for package rpcd-mod-rrdns. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package rpcd-mod-rrdns.
* opkg_install_cmd: Cannot install package shadowsocks-libev-ss-server.
* opkg_install_pkg: Checksum or size mismatch for package ucode-mod-html. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package ucode-mod-html.
make[2]: *** [Makefile:234: package_install] Error 255
make[1]: *** [Makefile:171: _call_manifest] Error 2
make: *** [Makefile:349: manifest] Error 2
Interestingly, I can't even generate a new 23.05.5 image without it throwing errors. The errors are largely similar, but a few differences.
23.05.5 > 23.05.5 Request Data
{
"url": "https://sysupgrade.openwrt.org",
"revision": "r24106-10cc5fcd00",
"advanced_mode": "1",
"sha256_unsigned": "",
"branch": "23.05",
"efi": null,
"request_hash": "6b0e9931cacd07a0d7d7623b6ebad4d69101779043ae592850651475569b2558",
"profile": "raspberrypi,4-model-b",
"target": "bcm27xx/bcm2711",
"version": "23.05.5",
"packages": [
"attendedsysupgrade-common",
"auc",
"avahi-dbus-daemon",
"base-files",
"bcm27xx-gpu-fw",
"bcm27xx-userland",
"bind-host",
"brcmfmac-nvram-43455-sdio",
"busybox",
"ca-bundle",
"cgi-io",
"curl",
"cypress-firmware-43455-sdio",
"ddns-scripts",
"dnsmasq",
"dropbear",
"e2fsprogs",
"etherwake",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"iperf3",
"iwinfo",
"jansson",
"jshn",
"jsonfilter",
"kernel",
"kmod-brcmfmac",
"kmod-crypto-acompress",
"kmod-crypto-crc32c",
"kmod-crypto-hash",
"kmod-fs-vfat",
"kmod-hid",
"kmod-hid-generic",
"kmod-input-core",
"kmod-input-evdev",
"kmod-lib-crc-ccitt",
"kmod-lib-crc32c",
"kmod-lib-lzo",
"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-nls-base",
"kmod-nls-cp437",
"kmod-nls-iso8859-1",
"kmod-nls-utf8",
"kmod-ppp",
"kmod-pppoe",
"kmod-pppox",
"kmod-r8169",
"kmod-slhc",
"kmod-sound-arm-bcm2835",
"kmod-sound-core",
"kmod-usb-core",
"kmod-usb-hid",
"kmod-usb-net-lan78xx",
"kmod-wireguard",
"libblkid",
"libblobmsg-json",
"libc",
"libcomerr",
"libext2fs",
"libf2fs",
"libiwinfo",
"libiwinfo-data",
"libjson-c",
"libjson-script",
"liblucihttp",
"liblucihttp-ucode",
"libmbedtls",
"libmnl",
"libnftnl",
"libnl-tiny",
"libsmartcols",
"libss",
"libubox",
"libubus",
"libuci",
"libuclient",
"libucode",
"libustream-mbedtls",
"libuuid",
"logd",
"luci",
"luci-app-attendedsysupgrade",
"luci-app-ddns",
"luci-app-firewall",
"luci-app-nut",
"luci-app-openvpn",
"luci-app-opkg",
"luci-app-shadowsocks-libev",
"luci-app-wol",
"luci-base",
"luci-light",
"luci-mod-admin-full",
"luci-mod-network",
"luci-mod-status",
"luci-mod-system",
"luci-proto-ipv6",
"luci-proto-ppp",
"luci-proto-wireguard",
"luci-ssl",
"luci-theme-bootstrap",
"mkf2fs",
"mtd",
"netifd",
"nftables-json",
"nut",
"nut-common",
"nut-driver-usbhid-ups",
"nut-server",
"nut-upsc",
"nut-upscmd",
"nut-upslog",
"nut-upsmon",
"nut-web-cgi",
"odhcp6c",
"odhcpd-ipv6only",
"openvpn-openssl",
"openwrt-keyring",
"opkg",
"partx-utils",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"px5g-mbedtls",
"qrencode",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rrdns",
"rpcd-mod-ucode",
"shadowsocks-libev-ss-server",
"sslh",
"stunnel",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"ucode",
"ucode-mod-fs",
"ucode-mod-html",
"ucode-mod-math",
"ucode-mod-ubus",
"ucode-mod-uci",
"uhttpd",
"uhttpd-mod-ubus",
"urandom-seed",
"usign",
"wireguard-tools",
"wpad-basic-mbedtls"
],
"diff_packages": true,
"filesystem": "ext4",
"client": "luci/git-23.339.51123-138595a"
}
23.05.5 > 23.05.5 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/23.05.5/targets/bcm27xx/bcm2711/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/23.05.5/targets/bcm27xx/bcm2711/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a72/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a72/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a72/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a72/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a72/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a72/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a72/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a72/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a72/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a72/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:
* opkg_install_pkg: Checksum or size mismatch for package liblucihttp0. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package liblucihttp.
* opkg_install_pkg: Checksum or size mismatch for package liblucihttp-ucode. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package liblucihttp-ucode.
* opkg_install_pkg: Checksum or size mismatch for package rpcd-mod-luci. 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 liblucihttp0. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package luci-app-nut.
* opkg_install_pkg: Checksum or size mismatch for package rpcd-mod-luci. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package rpcd-mod-luci.
* opkg_install_pkg: Checksum or size mismatch for package rpcd-mod-rrdns. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package rpcd-mod-rrdns.
* opkg_install_pkg: Checksum or size mismatch for package ucode-mod-html. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package ucode-mod-html.
make[2]: *** [Makefile:189: package_install] Error 255
make[1]: *** [Makefile:154: _call_manifest] Error 2
make: *** [Makefile:274: manifest] Error 2
@aparcar -- any thoughts?