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.

update in buster is failing with redirection from https to 'http://armbian.tnahosting.net/apt/dists/buster/Release' is forbidden

Featured Replies

I've tried without and with --no-allow-insecure-repositories and --allow-unauthenticated

Cert issue on the remote?

 

ns1@ns1:~$ sudo apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://httpredir.debian.org/debian buster InRelease
Hit:3 http://httpredir.debian.org/debian buster-updates InRelease
Ign:4 https://apt.armbian.com buster InRelease
Err:5 https://apt.armbian.com buster Release
  Redirection from https to 'http://armbian.tnahosting.net/apt/dists/buster/Release' is forbidden [IP: 173.45.128.12 443]
Reading package lists... Done
E: The repository 'https://apt.armbian.com buster Release' no longer has 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.
ns1@ns1:~$ sudo apt-get update --no-allow-insecure-repositories
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://httpredir.debian.org/debian buster InRelease
Hit:3 http://httpredir.debian.org/debian buster-updates InRelease
Ign:4 https://apt.armbian.com buster InRelease
Err:5 https://apt.armbian.com buster Release
  Redirection from https to 'http://armbian.tnahosting.net/apt/dists/buster/Release' is forbidden [IP: 173.45.128.12 443]
Reading package lists... Done
E: The repository 'https://apt.armbian.com buster Release' no longer has 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.
ns1@ns1:~$ sudo apt-get update --allow-unauthenticated
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://httpredir.debian.org/debian buster InRelease
Hit:3 http://httpredir.debian.org/debian buster-updates InRelease
Ign:4 https://apt.armbian.com buster InRelease
Err:5 https://apt.armbian.com buster Release
  Redirection from https to 'http://armbian.tnahosting.net/apt/dists/buster/Release' is forbidden [IP: 173.45.128.12 443]
Reading package lists... Done
E: The repository 'https://apt.armbian.com buster Release' no longer has 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.
ns1@ns1:~$

Solved by lanefu

But IMO connecting via HTTPS is preferred, while in this case a redirection to plain HTTP should simply not be done? The targets are available via HTTPS as well (https://armbian.systemonachip.net/apt/, https://armbian.tnahosting.net/apt/ etc.), some mirrors even enforce it (http://imola.armbian.com/), so wouldn't it be best to redirect without scheme to preserve HTTP or HTTPS depending on the initial client connection?

On 7/30/2021 at 11:52 PM, lanefu said:

Lol i got a lot of feedback about https being an undesirable default.    Major reason being those on small connections heavilly rely on caching proxies to make life better.

 

And yes persisting protocol based on request would be ideal.  How are you at python?

 

https://github.com/armbian/dl-router/issues/2

Same script, one for http mirrors (port 80) and one for https mirrors (port 443).

I would say same script, but changing the list to not include scheme, and then prepend scheme of client request to target mirror: https://github.com/armbian/dl-router/blob/master/app/mirrors.yaml

I also see that mirrors.netix.net entry is with HTTP, but it has forced redirect to HTTPS, at least after receiving the HSTS header once.

 

I'm learning Python by doing little contributions here and there, so I'll have a look if I can add this feature :).

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.