PiAware apt update error wrt http

Cant update PiAware on Raspberry pi zero w. “sudo apt update” reports the following:

Ign:1 https://flightaware.com/adsb/piaware/files/packages bullseye InRelease
Err:6 https://flightaware.com/adsb/piaware/files/packages bullseye Release
Redirection from https to ‘http://www.flightaware.com/adsb/piaware/files/packages/dists/bullseye/Release’ is forbidden [IP: 172.64.148.55 443]
Reading package lists… Done
E: The repository ‘http://flightaware.com/adsb/piaware/files/packages bullseye 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.

Would appreciate some help.

3 Likes

I’m getting the identical error on my Pi3 running Bullseye since doing my updates this morning.

I tried to update from the Update page as mentioned here - no success.

My other sites that I support are all running normally.

1 Like

same here for me. temporarily disabled the repo for updating os till it get’s fixed…

I successfully ran an update on 12 October. ATT it reported Bullseye was changing to ‘oldstable’ as the official Pi OS release of Bookworm is now ‘stable’. My guess is an updated release file is needed/missing for the Bullseye transition to oldstable. Quite sure they will get it sorted out in the near future. And yes, I am getting the same errors too despite my recent update.

Same for me, I’ll try again tomorrow.

This is a problem on our side, the mirrors are meant to be excluded from http → https redirect for exactly this reason but that rule has been lost somewhere. I’ve asked ops to take a look. Sorry for the hassle!

3 Likes

Has this been fixed? Is there a workaround?

My W/A:
in file /etc/apt/sources.list.d/flightaware-apt-repository.list
change URL line
deb http://flightaware.com/
to
deb https://www.flightaware.com/
No more errors.

Yep that works indeed for the moment :rightwards_hand:

But, will the workaround need to be undone when FlightAware makes a change on their end?

I’ll tell you when it is fixed :wink: Just had to reinstall one of my feeders due to a catastrofic filesystem crash so I only have one that needs a correction then and I will post here if it is needed

I don’t think we need to do anything while it works. I guess they just have a mess in their web service config. Files pointed by this chage are the same.

Did this, still not working

Make sure that you made both changes to the address string.
Change http to https.
Change flightaware to www.flightaware.

1 Like

sorry, i missed the www, i was blind :joy:

but… i’m still getting some errors (less than before) with https + www

Post the errors you are seeing.

The contents of /etc/apt/sources.list.d/flightaware-apt-repository.list should contain
deb https://www.flightaware.com/adsb/piaware/files/packages bullseye piaware

Then submit the following command
sudo apt update && sudo apt full-upgrade -y

The results will be similar to
pi@cs1:~ $ sudo apt update && sudo apt full-upgrade -y
Hit:1 http://repo.feed.flightradar24.com flightradar24 InRelease
Hit:2 https://www.flightaware.com/adsb/piaware/files/packages bullseye InRelease
Hit:3 Index of /debian bullseye InRelease
Get:4 Index of /raspbian bullseye InRelease [15.0 kB]
Fetched 15.0 kB in 2s (9,438 B/s)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
All packages are up to date.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@cs1:~ $

I’m on a Pi 4 getting same errors cant’ update.

Same here.
sudo apt update && sudo apt full-upgrade -y
Hit:1 https://www.flightaware.com/adsb/piaware/files/packages bullseye InRelease
Ign:2 https://flightaware.com/mirror/raspbian/raspbian bullseye InRelease
Ign:3 https://flightaware.com/mirror/raspberrypi/debian bullseye InRelease
Err:4 https://flightaware.com/mirror/raspbian/raspbian bullseye Release
Redirection from https to ‘http://www.flightaware.com/mirror/raspbian/raspbian/dists/bullseye/Release’ is forbidden [IP: 172.64.148.55 443]
Err:5 https://flightaware.com/mirror/raspberrypi/debian bullseye Release
Redirection from https to ‘http://www.flightaware.com/mirror/raspberrypi/debian/dists/bullseye/Release’ is forbidden [IP: 172.64.148.55 443]
Reading package lists… Done
E: The repository ‘http://flightaware.com/mirror/raspbian/raspbian bullseye 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.
E: The repository ‘http://flightaware.com/mirror/raspberrypi/debian bullseye 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.

You need to update the flightaware entry in the /etc/apt/sources.list.d/flightaware-apt-repository.list as shown above.

1 Like