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

I had similar problems.

My solution was to run armbian-config and change the apt-mirrors to "EU mirrors" (I am in Germany) Maybe pick other ones better suited for you

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.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines