Router: Xiaomi Mi Router 4A (100M International Edition V2)
Firmware Version: OpenWrt SNAPSHOT / LuCI openwrt-24.10 branch 24.298.52515~e34c268
Because it is a Snapshot version I've installed LuCI via command line after the initial setup. (Unfortunately there is still no regular release version for that router yet)
To the Problem:
I want to use DNS over HTTPS and install the necessary packages. When I go in System > Software > Update Lists I get the following error:
Commands:
Downloading https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/packages/Packages.gz
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz
Downloading https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/kmods/6.6.58-1-46fbfb34689680c4bac013d3e4a3f326/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/kmods/6.6.58-1-46fbfb34689680c4bac013d3e4a3f326/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz
Errors:
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/packages/Packages.gz, wget returned 8.
* opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz, wget returned 8.
* opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz, wget returned 8.
* opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz, wget returned 8.
* opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz, wget returned 8.
* opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz, wget returned 8.
I've looked at the errors a little more closely and it seems like the Packages.gz file does no exist. Opening that link in the browser does throw me a 404 error, but if I remove Packages.gz from the URL and end up in the main directory I DO see a Packages.adb but NOT a Packages.gz .....
I've checked the time on my router again and realized it was in the wrong timezone. I've since corrected the issue but I still encounter the same problem...
Snapshot with LuCI from the 24.10 branch? And it shows opkg in the software update window? Something is way out of date, which would explain the missing Packages.gz files, they no longer exist with the current apk-based snapshot builds.
You'll be better off trying to do an update using either owut or Firmware Selector and not messing with new package installation until you have upgraded the underlying OS.
You are apparently mixing versions somehow. That does not work.
Current main/master SNAPSHOT builds are since November using the apk package manager (with packages.adb index file) and not the old opkg (with Packages.gz). You can't download opkg packages for master any more.
24.10 packages should not be used in main/master and vice versa.
As you have opkg, you likely/possibly have an old main/master build that still used opkg (until October), which firmware you need to sysupgrade to newer apk-enabled one.
Or you can sysupgrade down to a proper 24.10 build with opkg (and downloads from 24.10 packages, not from master snapshot dir).
This doesn't seem to be for my device because mine is the "4a-100m-intl-v2" while the one in your link is the image for the v2 of the gigabit version...