root@OpenWrt:/# opkg update Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/targets/layerscape/armv8_64b/packages/Packages.gz *** Failed to download the package list from https://downloads.openwrt.org/releases/21.02-SNAPSHOT/targets/layerscape/armv8_64b/packages/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/base/Packages.gz *** Failed to download the package list from https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/base/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/luci/Packages.gz *** Failed to download the package list from https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/luci/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/packages/Packages.gz *** Failed to download the package list from https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/packages/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/routing/Packages.gz *** Failed to download the package list from https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/routing/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/telephony/Packages.gz *** Failed to download the package list from https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/telephony/Packages.gz
Collected errors: * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/targets/layerscape/armv8_64b/packages/Packages.gz, wget returned 255. * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/base/Packages.gz, wget returned 255. * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/luci/Packages.gz, wget returned 255. * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/packages/Packages.gz, wget returned 255. * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/routing/Packages.gz, wget returned 255. * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/telephony/Packages.gz, wget returned 255.
可以在文件系统做一个软链接解决:
1
ln -s /bin/uclient-fetch /bin/wget
使用opkg命令安装第三方包的时候会报错架构不兼容
1 2
* pkg_hash_fetch_best_installation_candidate: Packages for python found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package python.