I'm having a problem with opkg update not working correctly. It partially works erratically for some but not all repositories. This used to work fine, but something changed and I'm not sure what. You can see below that the custom feed worked fine and then some of the openwrt feeds worked, but some failed. Is this just a problem with my networking? Why does the custom feed always work but the others are sporadic, every time it's a different one that fails?
root@mistymeadowrelay:~# opkg update
Downloading https://updates.altheamesh.com/beta20rc24/packages/aarch64_generic/althea/Packages.gz
Updated list of available packages in /var/opkg-lists/althea
Downloading https://downloads.openwrt.org/releases/21.02.3/targets/rockchip/armv8/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/base/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/base/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/packages/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/packages/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/telephony/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/telephony/Packages.gz
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/base/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/packages/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/telephony/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
if I comment out my local network's nameserver from /etc/resolv.conf then it works:
root@mistymeadowrelay:~# cat /etc/resolv.conf
#nameserver 172.168.0.254
nameserver 1.0.0.1
nameserver 74.82.42.42
nameserver 149.112.112.10
root@mistymeadowrelay:~# nslookup downloads.openwrt.org
Server: 1.0.0.1
Address: 1.0.0.1#53
Name: downloads.openwrt.org
downloads.openwrt.org canonical name = mirror-02.infra.openwrt.org
Name: mirror-02.infra.openwrt.org
Address 1: 168.119.138.211
downloads.openwrt.org canonical name = mirror-02.infra.openwrt.org
Address 2: 2a01:4f8:251:321::2
root@mistymeadowrelay:~# opkg update
Downloading https://updates.altheamesh.com/beta20rc24/packages/aarch64_generic/althea/Packages.gz
Updated list of available packages in /var/opkg-lists/althea
Downloading https://downloads.openwrt.org/releases/21.02.3/targets/rockchip/armv8/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/21.02.3/packages/aarch64_generic/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony