Error building image sysupgrade: Google Wifi

{
    "url": "https://sysupgrade.openwrt.org",
    "branch": "23.05",
    "revision": "r24106-10cc5fcd00",
    "efi": null,
    "advanced_mode": "1",
    "request_hash": "",
    "sha256_unsigned": "",
    "client": "luci/git-25.049.67312-7dee657",
    "packages": {
        "iwinfo": "2023-07-01-ca79f641-1",
        "liblucihttp": "2023-03-15-9b5b683f-1",
        "cgi-io": "2022-08-10-901b0f04-21",
        "libc": "1.2.4-4",
        "mkf2fs": "1.16.0-1",
        "kmod-crypto-gf128": "5.15.167-1",
        "opkg": "2022-02-24-d038e5b6-2",
        "kmod-usb-core": "5.15.167-1",
        "luci-app-opkg": "git-25.049.67312-7dee657",
        "ubus": "2023-06-05-f787c97b-1",
        "kmod-google-firmware": "5.15.167-1",
        "iw": "5.19-1",
        "kmod-crypto-manager": "5.15.167-1",
        "libuci": "2023-08-10-5781664d-1",
        "rpcd": "2023-07-01-c07ab2f9-1",
        "busybox": "1.36.1-1",
        "kmod-crypto-ctr": "5.15.167-1",
        "libiwinfo": "2023-07-01-ca79f641-1",
        "kmod-nft-fib": "5.15.167-1",
        "kmod-nfnetlink": "5.15.167-1",
        "kmod-crypto-hash": "5.15.167-1",
        "kmod-nf-reject6": "5.15.167-1",
        "kmod-crypto-aead": "5.15.167-1",
        "kmod-usb-dwc3": "5.15.167-1",
        "luci-mod-system": "git-25.049.67312-7dee657",
        "kmod-nf-flow": "5.15.167-1",
        "libnl-tiny": "2023-07-27-bc92a280-1",
        "kmod-lib-crc-ccitt": "5.15.167-1",
        "ucode-mod-uloop": "2024-07-11-1a8a0bcf-3",
        "px5g-mbedtls": "10",
        "getrandom": "2022-08-13-4c7b720b-2",
        "ucode-mod-ubus": "2024-07-11-1a8a0bcf-3",
        "luci-theme-bootstrap": "git-25.049.67312-7dee657",
        "kmod-pppoe": "5.15.167-1",
        "kmod-pppox": "5.15.167-1",
        "kmod-nf-reject": "5.15.167-1",
        "procd-ujail": "2023-06-25-2db83655-2",
        "base-files": "1562-r24106-10cc5fcd00",
        "kmod-nf-nat": "5.15.167-1",
        "kmod-crypto-crc32c": "5.15.167-1",
        "ucode-mod-uci": "2024-07-11-1a8a0bcf-3",
        "partx-utils": "2.39-2",
        "libustream-mbedtls": "2023-02-25-498f6e26-1",
        "kmod-ramoops": "5.15.167-1",
        "netifd": "2024-01-04-c18cc79d-2",
        "kmod-usb-dwc3-qcom": "5.15.167-1",
        "firewall4": "2023-09-01-598d9fbb-1",
        "uboot-envtools": "2023.04-1",
        "kmod-usb-xhci-hcd": "5.15.167-1",
        "dnsmasq": "2.90-2",
        "procd": "2023-06-25-2db83655-2",
        "kmod-crypto-hmac": "5.15.167-1",
        "ubusd": "2023-06-05-f787c97b-1",
        "kmod-crypto-acompress": "5.15.167-1",
        "rpcd-mod-ucode": "2023-07-01-c07ab2f9-1",
        "ucode-mod-math": "2024-07-11-1a8a0bcf-3",
        "kmod-lib-crc32c": "5.15.167-1",
        "luci-mod-status": "git-25.049.67312-7dee657",
        "kmod-crypto-sha512": "5.15.167-1",
        "libmbedtls": "2.28.9-1",
        "kmod-crypto-seqiv": "5.15.167-1",
        "kmod-nft-nat": "5.15.167-1",
        "kmod-usb3": "5.15.167-1",
        "luci-app-firewall": "git-25.049.67312-7dee657",
        "libubus": "2023-06-05-f787c97b-1",
        "libmnl": "1.0.5-1",
        "jansson": "2.14-3",
        "ubi-utils": "2.1.5-1",
        "odhcp6c": "2023-05-12-bcd28363-20",
        "fstools": "2023-02-28-bfe882d5-1",
        "uclient-fetch": "2023-04-13-007d9454-1",
        "kmod-crypto-ghash": "5.15.167-1",
        "uci": "2023-08-10-5781664d-1",
        "ucode-mod-fs": "2024-07-11-1a8a0bcf-3",
        "kmod-fs-ext4": "5.15.167-1",
        "ath10k-firmware-qca4019-ct": "2020-11-08-1",
        "luci-ssl": "git-25.049.67312-7dee657",
        "dropbear": "2022.82-6",
        "kmod-hwmon-core": "5.15.167-1",
        "libnftnl": "1.2.6-1",
        "rpcd-mod-file": "2023-07-01-c07ab2f9-1",
        "mtd": "26",
        "odhcpd-ipv6only": "2023-10-24-d8118f6e-1",
        "ath10k-board-qca4019": "20230804-1",
        "procd-seccomp": "2023-06-25-2db83655-2",
        "ucode-mod-nl80211": "2024-07-11-1a8a0bcf-3",
        "libjson-script": "2023-05-23-75a3b870-1",
        "libiwinfo-data": "2023-07-01-ca79f641-1",
        "ucode": "2024-07-11-1a8a0bcf-3",
        "rpcd-mod-luci": "20240305-1",
        "kmod-crypto-ccm": "5.15.167-1",
        "kmod-nf-log": "5.15.167-1",
        "urandom-seed": "3",
        "luci-proto-ppp": "git-25.049.67312-7dee657",
        "luci-mod-admin-full": "git-25.049.67312-7dee657",
        "ppp": "2.4.9.git-2021-01-04-4",
        "luci-base": "git-25.049.67312-7dee657",
        "kmod-leds-gpio": "5.15.167-1",
        "kmod-gpio-button-hotplug": "5.15.167-3",
        "logd": "2022-08-13-4c7b720b-2",
        "kmod-nf-log6": "5.15.167-1",
        "kmod-mac80211": "5.15.167+6.1.110-1-1",
        "luci-proto-ipv6": "git-25.049.67312-7dee657",
        "openwrt-keyring": "2022-03-25-62471e69-2",
        "luci-app-attendedsysupgrade": "git-25.049.67312-7dee657",
        "jshn": "2023-05-23-75a3b870-1",
        "nftables-json": "1.0.8-1",
        "e2fsprogs": "1.47.0-2",
        "kmod-ppp": "5.15.167-1",
        "kmod-nft-offload": "5.15.167-1",
        "kmod-fs-f2fs": "5.15.167-1",
        "kmod-crypto-null": "5.15.167-1",
        "libjson-c": "0.16-3",
        "uhttpd": "2023-06-25-34a8a74d-2",
        "kmod-nf-conntrack": "5.15.167-1",
        "usign": "2020-05-23-f1f65026-1",
        "libblobmsg-json": "2023-05-23-75a3b870-1",
        "wpad-mesh-openssl": "2023-09-08-e5ccbfc6-8",
        "kmod-crypto-gcm": "5.15.167-1",
        "kmod-ath10k-ct": "5.15.167+2022-05-13-f808496f-5",
        "ucode-mod-rtnl": "2024-07-11-1a8a0bcf-3",
        "ca-bundle": "20230311-1",
        "libuclient": "2023-04-13-007d9454-1",
        "kmod-crypto-cmac": "5.15.167-1",
        "ucode-mod-html": "1",
        "kmod-crypto-rng": "5.15.167-1",
        "luci": "git-25.049.67312-7dee657",
        "luci-light": "git-25.049.67312-7dee657",
        "kmod-nf-conntrack6": "5.15.167-1",
        "kmod-lib-lzo": "5.15.167-1",
        "kmod-ath": "5.15.167+6.1.110-1-1",
        "ubox": "2022-08-13-4c7b720b-2",
        "kernel": "5.15.167-1-f856071a023dfcef0d31d2d721a0aa96",
        "rpcd-mod-iwinfo": "2023-07-01-c07ab2f9-1",
        "luci-mod-network": "git-25.049.67312-7dee657",
        "kmod-nft-core": "5.15.167-1",
        "libucode": "2024-07-11-1a8a0bcf-3",
        "kmod-nls-base": "5.15.167-1",
        "uhttpd-mod-ubus": "2023-06-25-34a8a74d-2",
        "fwtool": "2019-11-12-8f7fe925-1",
        "jsonfilter": "2024-01-23-594cfa86-1",
        "liblucihttp-ucode": "2023-03-15-9b5b683f-1",
        "libubox": "2023-05-23-75a3b870-1",
        "wireless-regdb": "2024.10.07-1",
        "urngd": "2023-11-01-44365eb1-1",
        "kmod-slhc": "5.15.167-1",
        "kmod-cfg80211": "5.15.167+6.1.110-1-1",
        "rpcd-mod-rrdns": "20170710",
        "ppp-mod-pppoe": "2.4.9.git-2021-01-04-4"
    },
    "profile": "google,wifi",
    "target": "ipq40xx/chromium",
    "version": "23.05.5",
    "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 http://downloads.openwrt.org/releases/24.10.0/targets/ipq40xx/chromium/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../builder/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/ipq40xx/chromium/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../builder/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/ipq40xx/chromium/kmods/6.6.73-1-6ecd2a5dca8ffeba4ed9720a6a5d8b88/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../builder/dl/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/ipq40xx/chromium/kmods/6.6.73-1-6ecd2a5dca8ffeba4ed9720a6a5d8b88/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../builder/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../builder/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../builder/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../builder/dl/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:
 * opkg_install_cmd: Cannot install package ubi-utils.
make[2]: *** [Makefile:234: package_install] Error 255
make[1]: *** [Makefile:171: _call_manifest] Error 2
make: *** [Makefile:349: manifest] Error 2

When i "uncklick" ubi-utils it works, it create img. What does ubi-utils do? Do I need it? Or can I skip it? Can I installed if afterwards?

there will probably be dependencies, if you try to uninstall it, this is from a 24.10 device though.

root@OpenWrt:~# opkg remove ubi-utils
No packages removed.
Collected errors:
 * print_dependents_warning: Package ubi-utils is depended upon by packages:
 * print_dependents_warning:    base-files
 * print_dependents_warning:    fstools
 * print_dependents_warning: These might cease to work if package ubi-utils is removed.

 * print_dependents_warning: Force removal of this package with --force-depends.
 * print_dependents_warning: Force removal of this package and its dependents
 * print_dependents_warning: with --force-removal-of-dependent-packages.
root@OpenWrt:~#

What should i do, wait to upgrade to 24.10?

any reason you want 23.05 instead of 24.10?

No I want 24.10 but what I understand so cant i install 24.10??! Im noob at Openwrt so plz explain step by step how I upgrade to 24.10!

if you don't have any special requirements, simply flash the sysupgrade image from https://firmware-selector.openwrt.org/?version=24.10.0&target=ipq40xx%2Fchromium&id=google_wifi

How about all my settings? Static adresses, ap, mesh and so on? Do I have to upload backup when i have flashed?

when upgrading, usually no.

only if you have additional packages you need, but those can also be installed post flash.

Should I flash 24.10 sysupgrade through luci ui?

Cli or webUI doesn't matter.

1 Like

owut would let you know if you can attended sysupgrade

If I run wpad-mesh-openssl on the router, does it work with sysupgrade image or do i have to specify that package? And does that image work on dhcp client that also run wpad-mesh-openssl?

Have tried attended sysupgrade on 2 AP and they got unreachable after that...

You need to explicitly specify all the packages when building, that don't come standard, like wpad-mesh-openssl.

But why does it not working when i tried upgrade AP with attended sysupgrade? With that it build the firmware from what i got installed, right?

1 Like

It should work from that.
Can you list all installed packages?

Okay hang on, what packages do you have installed

ath10k-board-qca4019
ath10k-firmware-qca4019-ct
attendedsysupgrade-common
auc
base-files
busybox
ca-bundle
cgi-io
dnsmasq
dropbear
e2fsprogs
firewall4
fstools
fwtool
getrandom
hostapd-common
iw
iwinfo
jansson4
jshn
jsonfilter
kernel
kmod-ath
kmod-ath10k-ct
kmod-cfg80211
kmod-crypto-acompress
kmod-crypto-aead
kmod-crypto-ccm
kmod-crypto-cmac
kmod-crypto-crc32
kmod-crypto-crc32c
kmod-crypto-ctr
kmod-crypto-gcm
kmod-crypto-gf128
kmod-crypto-ghash
kmod-crypto-hash
kmod-crypto-hmac
kmod-crypto-manager
kmod-crypto-null
kmod-crypto-rng
kmod-crypto-seqiv
kmod-crypto-sha512
kmod-fs-ext4
kmod-fs-f2fs
kmod-google-firmware
kmod-gpio-button-hotplug
kmod-hwmon-core
kmod-leds-gpio
kmod-lib-crc-ccitt
kmod-lib-crc16
kmod-lib-crc32c
kmod-lib-lzo
kmod-mac80211
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-ppp
kmod-pppoe
kmod-pppox
kmod-pstore
kmod-ramoops
kmod-reed-solomon
kmod-slhc
kmod-usb-core
kmod-usb-dwc3
kmod-usb-dwc3-qcom
kmod-usb-xhci-hcd
kmod-usb3
libatomic1
libblkid1
libblobmsg-json20230523
libc
libcomerr0
libext2fs2
libf2fs6
libgcc1
libiwinfo-data
libiwinfo20230701
libjson-c5
libjson-script20230523
liblucihttp-ucode
liblucihttp0
libmbedtls12
libmnl0
libncurses6
libnftnl11
libnl-tiny1
libopenssl-conf
libopenssl-legacy
libopenssl3
libpthread
librt
libsmartcols1
libss2
libubox20230523
libubus20230605
libuci20130104
libuclient20201210
libucode20230711
libustream-mbedtls20201210
libuuid1
logd
luci
luci-app-attendedsysupgrade
luci-app-firewall
luci-app-opkg
luci-base
luci-light
luci-mod-admin-full
luci-mod-network
luci-mod-status
luci-mod-system
luci-proto-ipv6
luci-proto-ppp
luci-ssl
luci-theme-bootstrap
mkf2fs
mtd
nano
netifd
nftables-json
odhcp6c
odhcpd-ipv6only
openwrt-keyring
opkg
partx-utils
ppp
ppp-mod-pppoe
procd
procd-seccomp
procd-ujail
px5g-mbedtls
rpcd
rpcd-mod-file
rpcd-mod-iwinfo
rpcd-mod-luci
rpcd-mod-rpcsys
rpcd-mod-rrdns
rpcd-mod-ucode
terminfo
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
wireless-regdb
wpad-mesh-openssl
> Blockquote

I tried building this firmware locally with the image builder, but it fails at the make manifest step already:

Collected errors:
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_core https://downloads.openwrt.org/releases/24.10.0/targets/ipq40xx/chromium/packages). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_base https://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/base). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_kmods https://downloads.openwrt.org/releases/24.10.0/targets/ipq40xx/chromium/kmods/6.6.73-1-6ecd2a5dca8ffeba4ed9720a6a5d8b88). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_luci https://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/luci). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_packages https://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/packages). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_routing https://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/routing). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_telephony https://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a7_neon-vfpv4/telephony). Skipping.

So something else must be going on with this target.

Edit: actually building the image with the default set of packages works fine.

Edit 2: and it works works with OP's package selection from the above post, so not sure what's up with make manifest.

1 Like

Is make manifest = attended sysupgrade? If so, should i stick with 23.05.5 ?