我在尝试更新 OpenWRT 路由器 (openwrt-ipq50xx-redmi_ax3000) 上的软件包列表时遇到问题。 在此下载。
opkg update 命令始终失败并出现以下错误:
Errors
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.7/targets/ipq50xx/generic/packages/Packages.gz, wget returned 1.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.7/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz, wget returned 1.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.7/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.gz, wget returned 1.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.7/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.gz, wget returned 1.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.7/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.gz, wget returned 1.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.7/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.gz, wget returned 1.
The opkg update command failed with code 6.
环境:
OpenWRT版本:21.02.7
我已尝试以下故障排除步骤:
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.7/targets/ipq50xx/generic/packages/Packages.gz, wget returned 1.
我查看了wget 的退出代码,发现 1 是通用错误代码。,这不是很有帮助。为了揭示细节,我建议尝试直接使用 wget,如下
wget --verbose 'https://downloads.openwrt.org/releases/21.02.7/targets/ipq50xx/generic/packages/Packages.gz'
以及其他可能的情况也同样如此。