dangowrt / owrt-ubi-installer

OpenWrt firmware installer for the Linksys E8450 aka. Belkin RT3200
GNU General Public License v2.0
393 stars 50 forks source link

Failed to download package list - opkg update #108

Closed idotj closed 2 years ago

idotj commented 2 years ago

After following the steps to install the release 0.6.5, all went perfect and I have wifi and ethernet running like a charm :) Now I opened the terminal to connect via ssh and run opkg update (I need to install an external USB Hard disk) and then the following error appears during the request:

Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/mediatek/mt7622/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/mediatek/mt7622/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/mediatek/mt7622/kmods/5.10.113-1-d3a5d2af68dbbf43c631958a252f7270/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/mediatek/mt7622/kmods/5.10.113-1-d3a5d2af68dbbf43c631958a252f7270/Packages.gz

Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_cortex-a53/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_cortex-a53/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_cortex-a53/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_cortex-a53/telephony/Packages.sig
Signature check passed.
Collected errors:
opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/mediatek/mt7622/kmods/5.10.113-1-d3a5d2af68dbbf43c631958a252f7270/Packages.gz, wget returned 8.

Looks like the package url got a very long kernel version-name?

Here you have more info about the firmware installed:

root@router:~# uname -a
Linux router 5.10.113 #0 SMP Fri May 6 19:55:52 2022 aarch64 GNU/Linux

root@belkin-router:~# cat /etc/os-release
NAME="OpenWrt"
VERSION="22.03-SNAPSHOT"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 22.03-SNAPSHOT"
VERSION_ID="22.03-snapshot"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r19338-ae64d0624c"
OPENWRT_BOARD="mediatek/mt7622"
OPENWRT_ARCH="aarch64_cortex-a53"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 22.03-SNAPSHOT r19338-ae64d0624c"
dangowrt commented 2 years ago

You will need to run

opkg update
opkg install auc
auc

and then, after the firmware image has been updated, you will be able to install everything. If you want to install the current release candidate instead, do

auc -b 22.03 -B 22.03.0-rc5
idotj commented 2 years ago

Hi @dangowrt it worked, now I can install the other packages without errors. Thanks for including the command with the params to install the current release candidate.