joey99 Posted April 26, 2022 Posted April 26, 2022 I have an orange pi zero that I'm going to use as a pi hole. When installing pi hole, I received a "Error: Unable to update package cache. Please try "sudo apt update"." I did just that and received another error stating Err:1 https://ports.ubuntu.com focal InRelease Could not connect to ports.ubuntu.com:443 (2620:2d:4000:1::19). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (185.125.190.39). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (2620:2d:4000:1::16). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (185.125.190.36). - connect (111: Connection refused) Err:2 https://ports.ubuntu.com focal-security InRelease Unable to connect to ports.ubuntu.com:https: Err:3 https://ports.ubuntu.com focal-updates InRelease Unable to connect to ports.ubuntu.com:https: Err:4 https://ports.ubuntu.com focal-backports InRelease Unable to connect to ports.ubuntu.com:https: Ign:5 https://apt.armbian.com focal InRelease Err:6 https://apt.armbian.com focal Release Redirection from https to 'http://armbian.chi.auroradev.org/apt/dists/focal/Release' is forbidden [IP: 2605:7900:20::5 443] Reading package lists... Done E: The repository 'https://apt.armbian.com focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. I tried changing the mirror url in /etc/apt/sources.list.d/armbian.list as @Werner suggested, but I still get the same error even when using the mirror. This is basically what's in the armbian.list deb http://armbian.tnahosting.net/dl/ focal main focal-utils focal-desktop Any clues as to what's going on??
Werner Posted April 26, 2022 Posted April 26, 2022 1 hour ago, joey99 said: Err:1 https://ports.ubuntu.com focal InRelease Could not connect to ports.ubuntu.com:443 (2620:2d:4000:1::19). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (185.125.190.39). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (2620:2d:4000:1::16). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (185.125.190.36). - connect (111: Connection refused) Err:2 https://ports.ubuntu.com focal-security InRelease Unable to connect to ports.ubuntu.com:https: Err:3 https://ports.ubuntu.com focal-updates InRelease Unable to connect to ports.ubuntu.com:https: Err:4 https://ports.ubuntu.com focal-backports InRelease Unable to connect to ports.ubuntu.com All that stuff is not our issue. Just updated my OPi1 (also sunxi 32bit) and works just fine.
joey99 Posted April 26, 2022 Author Posted April 26, 2022 So how would I be able to fix it? My router is allowing the url requests, and not dropping them.
Recommended Posts