Fresh install of Rasberry Pi Boowkworm fails to install piaware

I have just installed a fresh copy of Raspberry Pi Bookworn and now trying to install the Flight Aware packages using this installation process PiAware - dump1090 ADS-B integration with FlightAware - FlightAware When running the sudo apt update in step 3 I get the following error:

Hit:1 Index of /debian bookworm InRelease
Hit:2 Index of /debian-security bookworm-security InRelease
Hit:3 Index of /debian bookworm-updates InRelease
Get:4 https://www.flightaware.com/adsb/piaware/files/packages bookworm InRelease [2,607 B]
Hit:5 Index of /debian bookworm InRelease
Get:6 https://www.flightaware.com/adsb/piaware/files/packages bookworm/piaware arm64 Packages [3,182 B]
Ign:6 https://www.flightaware.com/adsb/piaware/files/packages bookworm/piaware arm64 Packages
Get:7 https://www.flightaware.com/adsb/piaware/files/packages bookworm/piaware armhf Packages [3,179 B]
Err:6 http://flightaware.com/adsb/piaware/files/packages bookworm/piaware arm64 Packages
File has unexpected size (4681 != 3182). Mirror sync in progress? [IP: 104.18.39.201 443]
Err:6 http://flightaware.com/adsb/piaware/files/packages bookworm/piaware arm64 Packages
File has unexpected size (4681 != 3182). Mirror sync in progress? [IP: 104.18.39.201 443]
Reading package lists… Done
E: Failed to fetch http://flightaware.com/adsb/piaware/files/packages/dists/bookworm/piaware/binary-arm64/Packages File has unexpected size (4681 != 3182). Mirror sync in progress? [IP: 104.18.39.201 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.

I was wondering if there are issues with the repositories or if there is a fix for this error.
The Err: 6 lines give a page not found error when looking at them in the web browser.

1 Like

Did you install the 64-bit version of Bookworm? The entries indicate that because they try to download the arm64 package.

I have installed the 32-bit version yesterday and it went fine

This is a caching issue (on our side), the caching layer is currently serving an inconsistent set of metadata files. I’m seeing if I can get the cache purged, or at worst it should fix itself in.. about 48 hours, if the cache headers are to believed.

2 Likes

Yes it is the 64Bit Version.

1 Like

Thanks for the reply and happy to know that it looks like an issue at the server end. I will await your further reply.

1 Like

I’ve been banging my head against this for a day or two. Nice to know it’s not me .. I guess.

1 Like

Try again now? Should be fixed, in theory.

2 Likes

The installation was successful.

Yes - works well now - thanks.

Yes I can confirm that it is now working correctly on the 64bit release. Thanks for your help and quick resolution.

Well it seems that is not 100% resolved

my command line to install clean system on Pi5

sudo curl -L -o /tmp/piaware-install.sh https://flightaware.com/adsb/piaware/install.sh
sudo chmod +x /tmp/piaware-install.sh
sudo bash /tmp/piaware-install.sh

I get this error
sudo bash /tmp/piaware-install.sh
/tmp/piaware-install.sh: line 2: syntax error near unexpected token newline' /tmp/piaware-install.sh: line 2:

To me this indicates that the file /tmp/piaware-install.sh is not a valid bash script but an HTML document, and when I visit the URL, I get the same screen that is shared above.

please advice

Regards
Greek Aegean

I tried to download the script install.sh via wget from the given URL to verify it’s content, but got the error 404 which means the script isn’t there.

Please check the content of the file /tmp/piaware-install.sh on your local machine.
I assume you got the HTML code which is shown because the script cannot be found which results in the error you got

1 Like

AFAIK, we’ve never provided such an installation method. Where did you get instructions to run this command from?

2 Likes

This is all wrong. From where you got this command?

From URL in above command remove .sh at its end, so the URL becomes as below:

https://flightaware.com/adsb/piaware/install

Open this URL in your computer’s BROWSER, scroll down to item 3 (see screenshot below) and use commands provided there.

1 Like

@First thank you for taking the time to answer.

Now regarding the instructions and the way to install the script is done by an AI request on how to do it.
And this is why I have shared the command lines I was using, apologies if I caused an unwanted stress to you all.

Regards
GreekAegean

Dear abcd567

Thank you for the link, I should had used this with out experimenting with AI, I learned my lessons :slight_smile:
Let say I tried playing the smart guy and got bitten with this and made my look like a fool trusting an AI advice, again apologies for any stress caused.

Regards
GreekAegean