无法从 IPQ50xx 路由器上的 OpenWRT 存储库下载软件包列表

问题描述 投票:0回答:1

我在尝试更新 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

我已尝试以下故障排除步骤:

  1. 检查网络连接:确保路由器具有稳定的互联网连接。
  2. DNS 解析:验证 DNS 设置并确保它们正确。
  3. 防火墙设置:确保没有防火墙规则阻止下载。
wget openwrt opkg
1个回答
0
投票
 * 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'

以及其他可能的情况也同样如此。

© www.soinside.com 2019 - 2024. All rights reserved.