openwrt / asu

An image on demand server for OpenWrt based distributions
https://sysupgrade.openwrt.org
GNU General Public License v2.0
333 stars 84 forks source link

Error building the firmware image #1048

Open Hadyn98 opened 1 month ago

Hadyn98 commented 1 month ago

hi , I'm trying to upgrade my Xiaomi Redmi Router AC2100 from version: Powered by LuCI openwrt-22.03 branch (git-24.208.65546-18f3914) / OpenWrt 22.03.7 r20341-591b7e93d3

to version: 23.05.5 (even though the hw page says latest is 23.0.5.4) . I got this error below:

Server response: Error: Impossible package selection

Please report the error message and request Request Data:

{ "url": "https://sysupgrade.openwrt.org", "revision": "r20341-591b7e93d3", "advanced_mode": "1", "branch": "22.03", "efi": null, "profile": "xiaomi,redmi-router-ac2100", "target": "ramips/mt7621", "version": "23.05.5", "packages": [ "auc", "base-files", "busybox", "ca-bundle", "cgi-io", "dnsmasq", "dropbear", "firewall4", "fstools", "fwtool", "getrandom", "hostapd-common", "iwinfo", "jansson", "jshn", "jsonfilter", "kernel", "kmod-crypto-crc32c", "kmod-crypto-hash", "kmod-gpio-button-hotplug", "kmod-leds-gpio", "kmod-lib-crc-ccitt", "kmod-lib-crc32c", "kmod-mt7603", "kmod-mt7615-firmware", "kmod-mt7615e", "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-wolfssl", "libwolfssl", "logd", "lua", "luci", "luci-app-firewall", "luci-app-opkg", "luci-base", "luci-i18n-attendedsysupgrade-en", "luci-lib-base", "luci-lib-ip", "luci-lib-jsonc", "luci-lib-nixio", "luci-mod-admin-full", "luci-mod-network", "luci-mod-status", "luci-mod-system", "luci-proto-ipv6", "luci-proto-ppp", "luci-ssl", "luci-theme-bootstrap", "mtd", "netifd", "nftables-json", "odhcp6c", "odhcpd-ipv6only", "openwrt-keyring", "opkg", "ppp", "ppp-mod-pppoe", "procd", "procd-seccomp", "procd-ujail", "px5g-wolfssl", "rpcd", "rpcd-mod-file", "rpcd-mod-iwinfo", "rpcd-mod-luci", "rpcd-mod-rrdns", "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", "wpad-basic-wolfssl" ], "diff_packages": true, "filesystem": "squashfs", "client": "luci/undefined" } 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.5/targets/ramips/mt7621/packages/Packages.gz Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_core Downloading https://downloads.openwrt.org/releases/23.05.5/targets/ramips/mt7621/packages/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mipsel_24kc/base/Packages.gz Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_base Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mipsel_24kc/base/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mipsel_24kc/luci/Packages.gz Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_luci Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mipsel_24kc/luci/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mipsel_24kc/packages/Packages.gz Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_packages Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mipsel_24kc/packages/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mipsel_24kc/routing/Packages.gz Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_routing Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mipsel_24kc/routing/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mipsel_24kc/telephony/Packages.gz Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_telephony Downloading https://downloads.openwrt.org/releases/23.05.5/packages/mipsel_24kc/telephony/Packages.sig Signature check passed. Downloading file:packages/Packages Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/imagebuilder Downloading file:packages/Packages.sig Signature check passed. Collected errors:

==========================

I've had problems where it couldn't resolve downloads.openwrt.org since I have a seperate PiHole that operates DHCP and DNS for my internal network. I've added nameserver 192.168.1.251 to /tmp/resolv.conf and I can use: opkg update --no-check-certificate

from the CLI , but trying from the webpage I get:

Executing package manager Downloading https://downloads.openwrt.org/releases/22.03.7/targets/ramips/mt7621/packages/Packages.gz *** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.7/targets/ramips/mt7621/packages/Packages.gz

Downloading https://downloads.openwrt.org/releases/22.03.7/packages/mipsel_24kc/base/Packages.gz *** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.7/packages/mipsel_24kc/base/Packages.gz

Downloading https://downloads.openwrt.org/releases/22.03.7/packages/mipsel_24kc/luci/Packages.gz *** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.7/packages/mipsel_24kc/luci/Packages.gz

Downloading https://downloads.openwrt.org/releases/22.03.7/packages/mipsel_24kc/packages/Packages.gz *** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.7/packages/mipsel_24kc/packages/Packages.gz

Downloading https://downloads.openwrt.org/releases/22.03.7/packages/mipsel_24kc/routing/Packages.gz *** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.7/packages/mipsel_24kc/routing/Packages.gz

Downloading https://downloads.openwrt.org/releases/22.03.7/packages/mipsel_24kc/telephony/Packages.gz *** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.7/packages/mipsel_24kc/telephony/Packages.gz Errors Collected errors:

====================================== I've had these problems since my original install 22.03.04 RC1 (if I remember the version correctly).

Its possible I've got damaged configuration settings from me fiddling without truly knowing what I'm doing.

Let me know if you need anything else.

H