How to install piaware on a Raspberry running pi24-2.3.1.img

pi@raspberrypi:/ $ sudo wget https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_7.2_all.deb
–2022-03-17 11:22:36-- https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_7.2_all.deb
Resolving flightaware.com (flightaware.com)… 206.253.81.28
Connecting to flightaware.com (flightaware.com)|206.253.81.28|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 6564 (6.4K) [application/x-debian-package]
Saving to: ‘piaware-repository_7.2_all.deb’

piaware-repository_7.2_all.deb 100%[========================================================>] 6.41K --.-KB/s in 0s

2022-03-17 11:22:37 (46.5 MB/s) - ‘piaware-repository_7.2_all.deb’ saved [6564/6564]

pi@raspberrypi:/ $ sudo dpkg -i piaware-repository_7.2_all.deb
Selecting previously unselected package piaware-repository.
(Reading database … 59764 files and directories currently installed.)
Preparing to unpack piaware-repository_7.2_all.deb …
Unpacking piaware-repository (7.2) …
Setting up piaware-repository (7.2) …
pi@raspberrypi:/ $ sudo apt-get update
Get:1 Index of /raspbian buster InRelease [15.0 kB]
Hit:2 Index of /debian buster InRelease
Hit:3 http://repo.feed.flightradar24.com flightradar24 InRelease
Get:4 http://flightaware.com/adsb/piaware/files/packages bullseye InRelease [1,860 B]
Get:5 http://flightaware.com/adsb/piaware/files/packages bullseye/piaware armhf Packages [6,366 B]
Fetched 23.2 kB in 2s (10.8 kB/s)
Reading package lists… Done
pi@raspberrypi:/ $ sudo apt-get install piaware
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
piaware : Depends: libboost-program-options1.74.0 (>= 1.74.0) but it is not installable
Depends: libboost-regex1.74.0-icu67 but it is not installable
Depends: libc6 (>= 2.29) but 2.28-10+rpi1 is to be installed
Depends: libffi7 (>= 3.3~20180313) but it is not installable
Depends: libgcc-s1 (>= 3.5) but it is not installable
Depends: libmpdec3 but it is not installable
Depends: libreadline8 (>= 7.0~beta) but it is not installable
Depends: libstdc++6 (>= 9) but 8.3.0-6+rpi1 is to be installed
E: Unable to correct problems, you have held broken packages.

I tried to follow Point 2 on PiAware - dump1090 ADS-B integration with FlightAware - FlightAware
Is this the right package I have chosen? (I saw no other options!)

Maybe there is someone who can help - otherwise I just drop Flightaware

Regards
Per

Install the decoder and then follow the flightaware section:

https://github.com/wiedehopf/adsb-wiki/wiki/Raspbian-Lite:-ADS-B-receiver

Looks like you missed the bit in point 1 where it says " Raspbian Bullseye or Bullseye Lite OS installed"
You seem to have buster.
Follow the instructions @wiedehopf has posted to hopefully recover.

1 Like

OK - I see, no simple solution. Thanks for Your reply.
Per

Thanks for Your answer.

(1) Remove half-installed piaware

sudo apt --fix-broken install  

(2) Remove Bullseye repository

sudo rm /etc/apt/sources.list.d/piaware-bullseye.list  

sudo dpkg --purge piaware-repository 

(3) Add Buster repository

wget https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_7.2~bpo10+1_all.deb   

sudo dpkg -i piaware-repository_7.2~bpo10+1_all.deb

(4) Install piaware

sudo apt update   

sudo apt install piaware  

(5) Claim piaware If you already dont have an existing feeder ID

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

If you already have a feeder ID, do NOT claim as above. Instead configure piaware with it by following command
(Replace xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx by you actual feeder-d

sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx  

sudo systemctl restart piaware   

 

Good catch :+1:

 

Hi abcd567

I really appreciate your effort to help us, who primarily feed fr24.
I ran into this message:
wget https://flightware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_7.2~bpo10+1_all.deb

–2022-03-17 18: 12: 06-- https://flightware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_7.2~bpo10+1_all. deb
Resolving flightware.com (flightware.com) … 18.222.0.235
Connecting to flightware.com (flightware.com) | 18.222.0.235 |: 443 … connected.
ERROR: The certificate of ‘flightware.com’ is not trusted.
ERROR: The certificate of ‘flightware.com’ does not have a known issuer.

Does the file piaware-repository_7.2 ~ bpo10+1_all.deb differ from this file I allready had downloaded: piaware-repository_7.2_all.deb?

I only use raspberry to my weatherstation and feeding FR24. Don’t know much about debian, linux and all the other - I know much more about dos and windows!

Regards
Per

Maybee I should change it to flightaware :laughing:

Yes, the bpo10+1 version is for buster, the other one is for bullseye.

Now it looks much better. Maybee there is a little problem with MLAT:

I just have to try to read a bit about MLAT and a possible solution.

You have done an excellent job. Maybe you should make a little guide about these hints - in the same way as your very excellent guides in the FR24 forum

Regards
Per

Step 6 (2)

Nothing changed - MLAT worked fine before:
Screen Shot 03-17-22 at 08.45 PM



But what about this log:

 

The decoder is not working. Reboot RPi and check logs again.

Which decoder have you installed? Please post output of following commands:

apt-cache policy dump1090-fa   

apt-cache policy dump1090-mutability  
   
apt-cache policy readsb

Please also post config of fr24feed as you are using Pi24 image. In Pi24 image, fr24feed controls decoder
(When posting here, replace fr24 key by xxxxx for privacy reasons)

cat /etc/fr24feed.ini  

Decoder not running.
As you started with FR24 check this:

apt-cache policy dump1090-fa:
dump1090-fa:
Installed: (none)
Candidate: 7.2~bpo10+1
Version table:
7.2~bpo10+1 500
500 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf Packages

apt-cache policy dump1090-mutability :
dump1090-mutability:
Installed: 1.15~20180310.4a16df3+dfsg-6
Candidate: 1.15~20180310.4a16df3+dfsg-6
Version table:
*** 1.15~20180310.4a16df3+dfsg-6 500
500 Index of /raspbian buster/main armhf Packages
100 /var/lib/dpkg/status

apt-cache policy readsb:
N: Unable to locate package readsb

cat /etc/fr24feed.ini:
pi@raspberrypi:~ $ cat /etc/fr24feed.ini
receiver=“dvbt”
fr24key=“xxxxxxxxxxxx”
path=“/usr/lib/fr24/dump1090”
bs=“no”
raw=“no”
logmode=“1”
windowmode=“0”
logpath=“/var/log/fr24feed”
mpx=“no”
mlat=“yes”
mlat-without-gps=“yes”

Not sure - here is the log from :/var/log/fr24feed/fr24feed.log:

@PerLaustsen

OPTION-1

Add this line to file /etc/fr24feed.ini

procargs= " --net " 

Save file, then restart fr24feed

sudo systemctl restart fr24feed  

Now check status of piaware

sudo systemctl status piaware  

OPTION 2 (Preferred and better option)

Step-1
In file /etc/fr24feed.ini, delete following two lines:

receiver="dvbt" 
path="/usr/lib/fr24/dump1090"

Add following two lines

receiver="avr-tcp" 
host="127.0.0.1:30002" 

Save and Close file

Step-2
Issue following command

sudo nano /etc/default/dump1090-mutability

In file opened, scroll down to this line:

START_DUMP1090=“no”

Change no to yes, so the line becomes:

START_DUMP1090=“yes”

Save file.

Step-3
Reboot Pi and after reboot check status.

There is no files of this name in etc directory

Oops… I gave name of Radarbox24 file by mistake.

The correct file name of Flightradsr24 is
/etc/fr24feed.ini