Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

apt update does not work, even with a mirror change

Featured Replies

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

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.

  • Author

So how would I be able to fix it? My router is allowing the url requests, and not dropping them.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.