Jump to content

apt errors ("Redirection from https to 'http://imola.armbian.com...' is forbidden)


Recommended Posts

Posted (edited)

I've been getting these errors when I run apt update / apt upgrade on an OrangePi One Plus:

 

Err:13 https://apt.armbian.com/apt bullseye Release                            

  Redirection from https to 'http://imola.armbian.com/apt/apt/dists/bullseye/Release' is forbidden [IP: 173.45.128.12 443]

 

if I edit /etc/apt/sources.list.d/armbian.list to be https://imola... it works fine.

 

EDIT:

 

armbian.list originally looked like this:

 

deb https://apt.armbian.com/ bullseye main bullseye-utils bullseye-desktop

 

and I changed it to look like this:

 

deb https://imola.armbian.com/apt bullseye main bullseye-utils bullseye-desktop

 

It seems that the https is being downgraded to http in the redirect, and this is making apt fail.

 

Is this a server bug, or something I can solve at my end?

 

Thanks,

 

Gabe

Edited by Gabriel White
Posted

Usually this is a temporally problem. No need to change to specific mirrors. Problem is:
 

deb https://apt.armbian.com/ bullseye main bullseye-utils bullseye-desktop

 

APT re-director has issues with that and we have some dirty workaround in place ... which is not working best. New solution is in development.

BTW. Full mirror list: 

https://github.com/armbian/mirror#packages

Posted

Just to be clear, the redirection was working, it's just that it was downgrading the connection to http (from https) in the process.

 

It seems that the default configuration for the armbian repository has changed from "http" to "https" (I have an older armbian install, and the config points to "http" not "https"), and this was causing the apt error.

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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