OpenWRT opkg update 持续报错如何解决?
相关的错误日志:
Downloading https://downloads.openwrt.org/chaos_calmer/15.05/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/packages/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/base/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/luci/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/packages/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/routing/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/routing/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/telephony/Packages.gz
Downloading https://downloads.openwrt.org/chaos_calmer/15.05/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/packages/Packages.gz
wget: can't execute 'openssl': No such file or directory
wget: error getting response : Connection reset by peer
原因
https://downloads.openwrt.org 这个源有问题
vim /etc/opkg.conf
将http://downloads.openwrt.org 替换成 http://archive.openwrt.org 即可解决问题。