Reading package lists... Done
E: The repository 'http://flightaware.com/adsb/piaware/files/packages bookworm Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
Ign:6 http://www.flightaware.com/adsb/piaware/files/packages bookworm InRelease
Err:7 http://www.flightaware.com/adsb/piaware/files/packages bookworm Release
404 Not Found [IP: 2606:4700:4400::6812:27c9 80]
pi@flightrecorder:/etc/apt/sources.list.d$ cat flightaware-apt-repository.list
# This file is automatically generated by the flightaware-apt-repository package
# to point to the correct FlightAware repository for the currently installed Debian OS.
deb http://flightaware.com/adsb/piaware/files/packages bookworm piaware
There is connectivity
pi@flightrecorder:/etc/apt/sources.list.d$ telnet 2606:4700:4400::6812:27c9 80
Trying 2606:4700:4400::6812:27c9...
Connected to 2606:4700:4400::6812:27c9.
Escape character is '^]'.
(1) First step is is to wait till the Raspberry Pi OS Bookworm gets fixed.
It has a USB bug, which causes dump1090-fa and rtl_test to fail to detect / use the dongle.
(2) After fixing the USB bug, I could install dump1090-fa and piaware, as well as Flightradar24, Planefinder, and Radarbox24 feeders because the Raspberry Pi OS is multi architecture (arm64/aarch64 AND armhf)
@abcd567 your such a value for this community, many thanks for sharing your knowledge. Iāll fire up the pi 3b+ (where ill move the SD card tot the pi4 after install) and start testing with the commands you shared.
What I did was moving my bullseye 32bits install to a bookworm 64bits install. Iām using an airspy and 2 RTL-SDR dongles for VHF. Indeed the airspy worked fine but the rlt_test had major issues with communicating to the RTL-SDR dongle. And as I dont want to get gaps on my graphs1090 I did not run it for hours. At least my local TAR1090 showed airplanes via the airspy.
Is there any bypass for the USB problems? We might need to wait for the USB issue is solved, is there any tracking available? Are you able to ping this thread when its released?
Due to the USB load of the Airspy combined with 2 RTL-SDRās i need to increase the usbfs_memory
pi@flightrecorder:~ $ cat usb_buffer.sh
#!/bin/sh
PCM_ID="/sys/module/usbcore/parameters/usbfs_memory_mb"
BUFSIZE="0"
# Adjust usbfs memory
if [ -f $PCM_ID ]; then
echo $BUFSIZE > $PCM_ID
fi
If I do understand well, I need to add the foreign architectures to get the packages installed well. What is your vision about some excotic sites which does not really have an active package development. Iām thinking about removing them when I move to the new install:
Opensky: last update 2018
adsbhub bash script radarvirtuel.com executable
pi@flightrecorder:~ $ sudo apt install mlat-client
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package mlat-client
There seems no mlat-client for bookworm availably your site doesnāt show an bookworm version?
RBFEEDER
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.SI2MYNfRd5/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 1D043681
gpg: key D4F914061D043681: "AirNav Systems <jceara@airnavsystems.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Don't know how to install for a distribution named
case "$VERS" in
stretch)
echo 'deb https://apt.rb24.com/ stretch main' > /etc/apt/sources.list.d/rb24.list
;;
buster)
echo 'deb https://apt.rb24.com/ buster main' > /etc/apt/sources.list.d/rb24.list
;;
bullseye)
echo 'deb https://apt.rb24.com/ bullseye main' > /etc/apt/sources.list.d/rb24.list
;;
*)
echo "Don't know how to install for a distribution named $DIST" >&2
exit 1
esac
As it seems the script logic could not handle the bookworm output gathered, should I change the script to match bookworm and install bullseye?
Yesterday I have successfully built piaware ver 9.0~dev using Flightaware source-code, and it was OK.
After seeing @butterfly2ās post, I just now tried to build it again, and it failed exactly like it failed with @butterfly2 .
Checked source-code at Flightaware Repository.
Found some changes have been made in the dev branch of Github/Flightaware/Piaware_builder about 3 hrs ago, which seem to cause this failure.
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2 sensible-build.sh
@@ -86,7 +86,7 @@ shallow_clone https://github.com/flightaware/tcllauncher.git v1.10 $OUTDIR/tclla
shallow_clone https://github.com/flightaware/dump1090.git dev $OUTDIR/dump1090
shallow_clone https://github.com/mutability/mlat-client.git dev $OUTDIR/mlat-client
shallow_clone https://github.com/mutability/mlat-client.git v0.2.13 $OUTDIR/mlat-client
shallow_clone https://github.com/flightaware/dump978.git dev $OUTDIR/dump978
@butterfly2
Please see following post for method to add swap.
If the total memory (RAM + builtin swapfile (if any) + your added swap file) is 2.5 GB or larger, then piaware, dump1090-fa and dump978-fa pckages will built without any memory issue.
After building and installing the packages (piaware, dump1090-fa, dump978-fa), you can delete the swap file you have added to free up space on microSD card.
Thanks @obj and @abcd567 as shared im building on a 3B+ because i donāt want the graph1090 stats to get filled with gaps. The Pi 4 has 8G and the 3b+ 1G if I recall well.
Will try to add swap and also noticed that there was some high CPU process running which consumes resources.
Last night I ended up in same error, but this time I could find what exactly caused above failure. It was failure of package building process to install following package:
The reason for failure was that I have built and installed mlat-client_0.2.13_arm64.deb for Radarbox24 feeder., and piaware build process detected it and failed to install its own mlat-client
The message given by dpkg-buildpackage -b command ` is given below:
/home/pi/piaware_builder/package-bookworm/debian/venv/bin/python -m pip install --no-index --no-deps --require-virtualenv /home/pi/piaware_builder/package-bookworm/wheels/MlatClient-*.whl
Processing ./wheels/MlatClient-0.2.13-cp311-cp311-linux_aarch64.whl
MlatClient is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel.
I solved this problem by following method:
sudo dpkg --purge mlat-client
cd /home/pi/piaware_builder/package-bookworm
sudo dpkg-buildpackage -b
After uninstalling stand-alone mlat-client_0.2.13, the piaware package was built successfully.
After building piaware package, I reinstalled stand alone mlat-client for Radarbox24 feeder
sudo dpkg -i mlat-client_0.2.13_arm64.deb
I have also noted that mlat-clients installed under virtual enviroments by adsbexchange and adsbfi do not cause this issue. It is only the stand-alone /usr/bin/mlat-client which caused this failure.