Xiaomi AX3600: ASU: Impossible package selection (opkg_install_pkg: Failed to download kmod-nls-base)

Hey,
I get this error when I want to upgrade my Xiaomi AX3600 router to the latest available stable version of OpenWRT. I am using ASU (Interactive Update package) to update, which automatically builds an image and flashes it on the router. Unfortunately with the latest release of OpenWRT I get an error as below. I have also written on GitHub about this issue, but no one there has responded. I've received information from other forums that the error is on the OpenWRT side and the developers need to fix this, because for example the kmod-nls-base or python3 package are basic packages and with them there should be no problems when compiling, and that probably the build server didn't download the package list correctly. In view of this, could someone please report this bug for correction? Or explain to me where else the error lies and help me resolve it?

I will post the logs obtained during the upgrade below:

Error during firmware image creation
Server response: Error: Impossible package selection

Send error report with error message
Data request:

{
    "url": "https://sysupgrade.openwrt.org",
    "revision": "r23809-234f1a2efa",
    "advanced_mode": "0",
    "sha256_unsigned": "",
    "branch": "23.05",
    "efi": null,
    "profile": "xiaomi,ax3600",
    "target": "ipq807x/generic",
    "version": "23.05.4",
    "packages": [
        "ath10k-board-qca9887",
        "ath10k-firmware-qca9887-ct",
        "ath11k-firmware-ipq8074",
        "attendedsysupgrade-common",
        "base-files",
        "bash",
        "busybox",
        "ca-bundle",
        "cgi-io",
        "collectd",
        "collectd-mod-cpu",
        "collectd-mod-df",
        "collectd-mod-disk",
        "collectd-mod-ethstat",
        "collectd-mod-exec",
        "collectd-mod-interface",
        "collectd-mod-ipstatistics",
        "collectd-mod-iptables",
        "collectd-mod-irq",
        "collectd-mod-iwinfo",
        "collectd-mod-load",
        "collectd-mod-logfile",
        "collectd-mod-memory",
        "collectd-mod-netlink",
        "collectd-mod-network",
        "collectd-mod-ping",
        "collectd-mod-powerdns",
        "collectd-mod-processes",
        "collectd-mod-protocols",
        "collectd-mod-rrdtool",
        "collectd-mod-sensors",
        "collectd-mod-smart",
        "collectd-mod-sqm",
        "collectd-mod-syslog",
        "collectd-mod-table",
        "collectd-mod-thermal",
        "collectd-mod-uptime",
        "collectd-mod-users",
        "collectd-mod-vmem",
        "collectd-mod-wireless",
        "dnsmasq",
        "dropbear",
        "e2fsprogs",
        "firewall4",
        "fping",
        "fstools",
        "fwtool",
        "getrandom",
        "hostapd-common",
        "htop",
        "ipq-wifi-xiaomi_ax3600",
        "iptables-mod-ipopt",
        "iptables-zz-legacy",
        "iw",
        "iwinfo",
        "jansson",
        "jshn",
        "jsonfilter",
        "kernel",
        "kmod-ath",
        "kmod-ath10k-ct-smallbuffers",
        "kmod-ath11k",
        "kmod-ath11k-ahb",
        "kmod-cfg80211",
        "kmod-crypto-acompress",
        "kmod-crypto-aead",
        "kmod-crypto-ccm",
        "kmod-crypto-cmac",
        "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-michael-mic",
        "kmod-crypto-null",
        "kmod-crypto-rng",
        "kmod-crypto-seqiv",
        "kmod-crypto-sha256",
        "kmod-crypto-sha512",
        "kmod-fs-ext4",
        "kmod-gpio-button-hotplug",
        "kmod-hwmon-core",
        "kmod-ifb",
        "kmod-ipt-core",
        "kmod-ipt-ipopt",
        "kmod-leds-gpio",
        "kmod-lib-crc-ccitt",
        "kmod-lib-crc32c",
        "kmod-lib-lzo",
        "kmod-libphy",
        "kmod-mac80211",
        "kmod-nf-conntrack",
        "kmod-nf-conntrack-netlink",
        "kmod-nf-conntrack6",
        "kmod-nf-flow",
        "kmod-nf-ipt",
        "kmod-nf-log",
        "kmod-nf-log6",
        "kmod-nf-nat",
        "kmod-nf-reject",
        "kmod-nf-reject6",
        "kmod-nfnetlink",
        "kmod-nft-bridge",
        "kmod-nft-core",
        "kmod-nft-fib",
        "kmod-nft-nat",
        "kmod-nft-netdev",
        "kmod-nft-offload",
        "kmod-nls-base",
        "kmod-phy-aquantia",
        "kmod-ppp",
        "kmod-pppoe",
        "kmod-pppox",
        "kmod-qca-nss-dp",
        "kmod-qca-ssdk",
        "kmod-qrtr",
        "kmod-qrtr-smd",
        "kmod-sched-cake",
        "kmod-sched-core",
        "kmod-slhc",
        "kmod-thermal",
        "kmod-usb-core",
        "kmod-usb-dwc3",
        "kmod-usb-dwc3-qcom",
        "kmod-usb-xhci-hcd",
        "kmod-usb3",
        "libatasmart",
        "libblobmsg-json",
        "libc",
        "libcap",
        "libevdev",
        "libgcc",
        "libip4tc",
        "libip6tc",
        "libiptext",
        "libiptext6",
        "libiwinfo",
        "libiwinfo-data",
        "libjson-c",
        "libjson-script",
        "libltdl",
        "liblua",
        "liblucihttp",
        "liblucihttp-lua",
        "liblucihttp-ucode",
        "libmbedtls",
        "libmnl",
        "libncurses",
        "libnftnl",
        "libnl-tiny",
        "libopenssl",
        "liboping",
        "libpthread",
        "librrd1",
        "librt",
        "libsensors",
        "libsysfs",
        "libubox",
        "libubus",
        "libubus-lua",
        "libuci",
        "libuclient",
        "libucode",
        "libudev-zero",
        "libustream-mbedtls",
        "libuuid",
        "libuv",
        "libwebsockets-full",
        "libxtables",
        "lm-sensors",
        "logd",
        "losetup",
        "lua",
        "luci",
        "luci-app-attendedsysupgrade",
        "luci-app-firewall",
        "luci-app-nlbwmon",
        "luci-app-opkg",
        "luci-app-sqm",
        "luci-app-statistics",
        "luci-app-ttyd",
        "luci-base",
        "luci-compat",
        "luci-i18n-attendedsysupgrade-pl",
        "luci-i18n-base-pl",
        "luci-i18n-firewall-pl",
        "luci-i18n-nlbwmon-pl",
        "luci-i18n-opkg-pl",
        "luci-i18n-sqm-pl",
        "luci-i18n-statistics-pl",
        "luci-i18n-ttyd-pl",
        "luci-light",
        "luci-mod-admin-full",
        "luci-mod-network",
        "luci-mod-status",
        "luci-mod-system",
        "luci-proto-ipv6",
        "luci-proto-ppp",
        "luci-theme-bootstrap",
        "mtd",
        "nano-full",
        "netifd",
        "nftables-json",
        "nlbwmon",
        "odhcp6c",
        "odhcpd-ipv6only",
        "openwrt-keyring",
        "opkg",
        "ppp",
        "ppp-mod-pppoe",
        "procd",
        "procd-seccomp",
        "procd-ujail",
        "python3",
        "python3-pip",
        "rpcd",
        "rpcd-mod-file",
        "rpcd-mod-iwinfo",
        "rpcd-mod-luci",
        "rpcd-mod-rpcsys",
        "rpcd-mod-rrdns",
        "rpcd-mod-ucode",
        "rrdtool1",
        "speedtest-netperf",
        "sqm-scripts",
        "sysfsutils",
        "tc-tiny",
        "tcpdump",
        "terminfo",
        "ttyd",
        "ubi-utils",
        "uboot-envtools",
        "ubox",
        "ubus",
        "ubusd",
        "uci",
        "uclient-fetch",
        "ucode",
        "ucode-mod-fs",
        "ucode-mod-html",
        "ucode-mod-lua",
        "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-basic-mbedtls",
        "xtables-legacy",
        "zlib"
    ],
    "diff_packages": true,
    "filesystem": "squashfs",
    "client": "luci/git-23.339.51123-138595a"
}
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/releases/23.05.4/targets/ipq807x/generic/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../builder/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/23.05.4/targets/ipq807x/generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../builder/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../builder/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../builder/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../builder/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../builder/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/23.05.4/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-ipq807x/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.4/targets/ipq807x/generic/packages/kmod-nls-base_5.15.162-1_aarch64_cortex-a53.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download kmod-nls-base. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package kmod-nls-base.
 * opkg_install_pkg: Checksum or size mismatch for package kmod-nls-base. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package kmod-usb-core.
 * opkg_install_pkg: Checksum or size mismatch for package python3-base. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package python3.
 * opkg_install_pkg: Checksum or size mismatch for package python3-pip. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package python3-pip.
make[2]: *** [Makefile:189: package_install] Error 255
make[1]: *** [Makefile:154: _call_manifest] Error 2
make: *** [Makefile:274: manifest] Error 2

I would ask for your help, thank you in advance!

Try again in an hour or day, the file is there on the mirror.

1 Like

I tried it now and I get an error that ‘Connection error to update server’, ‘ Unable to connect to API “https://sysupgrade.openwrt.org/json/v1/overview.json”. Try again later.’

And when I go to https://sysupgrade.openwrt.org/ I get the message that I cannot connect to the site.

Okey, I tried today and now works!