Jump to content

apt update does not work, even with a mirror change


joey99

Recommended Posts

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??

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines