FlightAware Discussions

Piaware 6.1 Unmet Dependencies

I encountered PiAware unmet dependencies on a new RPi 4 w/Bullseye. Can they be resolved or do I need to wait for PiAware 7.0?

pi@delta2:~ $ sudo apt install piaware
Reading package lists... Done
Building dependency tree... Done
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-filesystem1.67.0 but it is not installable
           Depends: libboost-program-options1.67.0 but it is not installable
           Depends: libboost-regex1.67.0 (>= 1.67.0-10) but it is not installable
           Depends: libboost-system1.67.0 but it is not installable
           Depends: libreadline7 (>= 7.0~beta) but it is not installable
E: Unable to correct problems, you have held broken packages.
pi@delta2:~ $
exit

pi@delta2:~ $ sudo apt-get install dump1090-fa
Reading package lists... Done
Building dependency tree... Done
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:
 dump1090-fa : Depends: liblimesuite18.06-1 but it is not installable
E: Unable to correct problems, you have held broken packages.
pi@delta2:~ $

You’ll need to wait for PiAware 7 or build from source.

Is there an estimated release date for Piaware 7.0?
I don’t have the knowledge or skills to build from source.

building from source is actually quite straight forward.
All you need is acces to your Pi via SSH connection.
This can be done by using Putty on a Windows or Linux computer.
Once into the SSH session you can follow these steps by abcd567
First do a ‘sudo apt update’
Then do a ‘sudo apt full-upgrade’
Then reboot with sudo reboot
Reconnect via SSH to the Pi and follow the steps listed below

BULLSEYE: Automated Scripts for Building and Installing piaware, dump1090-fa, dump978-fa, & piaware-web, from source code

NOTE: These scripts will install all required build tool and dependencies packages first, and then build the piaware, dump1090-fa, dump978-fa packages. The process will take considerable time. Please be patient.

image

(1) DUMP1090-FA

Install: Copy-paste following command in SSH terminal.
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-dump1090-fa.sh)"

(2) PIAWARE

2.1 - Install: Copy-paste following command in SSH terminal.
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-piaware.sh)"

2.2 - Configure: Copy-paste following command in SSH terminal
sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

sudo piaware-config allow-manual-updates yes
sudo piaware-config allow-auto-updates yes
sudo systemctl restart piaware
sudo systemctl restart dump1090-fa

(3) PIAWARE-WEB

Install: Copy-paste following command in SSH terminal.
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-piaware-web.sh)"

(4) DUMP978-FA

4.1 - Install: Copy-paste following command in SSH terminal:
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-dump978-fa.sh)"

4.2 - Serialize Dongles
sudo apt install rtl-sdr
rtl_eeprom -s 00001090 ##Plug-in 1090 dongle only
rtl_eeprom -s 00000978 ##Plug-in 978 dongle only

4.3 - Configure dump1090-fa and dump978-fa to use their respective dongles

sudo piaware-config uat-receiver-type sdr  
sudo sed -i 's/^RECEIVER_SERIAL=.*/RECEIVER_SERIAL=00001090/' /etc/default/dump1090-fa 
sudo sed -i 's/driver=rtlsdr[^ ]* /driver=rtlsdr,serial=00000978 /' /etc/default/dump978-fa  

sudo reboot  

Once you have completed these steps you have build Piaware and dump1090-fa from source and you are ready to go
The steps for serializing the dongles is only needed if you have both 1090 and 978 dumps and dongles running.

1 Like

Thanks! I looked for that thread but didn’t find it.

 

I have posted that howto (Bullseye: building piaware from source code) at two places:

(1) 11 days ago:

https://discussions.flightaware.com/t/raspberry-os-raspbian-updated-to-debian-11-bullseye/80048/3

(2) Yesterday :

https://discussions.flightaware.com/t/piaware-for-raspberry-pi-zero-2-w/79956/9

 

 

2 Likes

I am grateful that @tomvdhorst pointed me to your thread. I searched for “unmet dependencies” prior to @obj posting that Piaware had to be built from source. Many thanks to @abcd567 and others for getting my site back on track.

I’m a Windows specialist and only know enough about *nix to get into trouble.

An easy way would be to run the older Buster Image rather than Bullseye. Buster will still be supported for some time yet.

Here is a link, it is from the official RaspberryPi.org web site (Well, pretty sure it is) albeit not an https but all images can be verified via the sha256sum method.

http://downloads.raspberrypi.org/raspbian/images/raspbian-2020-02-14/

Geoff

Before the end of this year, all going well.

3 Likes

Specifically until June 2024. LTS - Debian Wiki

1 Like

:+1:
Great! This is less than 1-1/2 months

 

 

 

Package install of piaware 6.1 on Bullseye 32-bit & 64-Bit

 

 

1 Like

Will PiAware 7 be supported on Rasberry Pi OS 64-bit (now that the corresponding Lite version is GA)?

Thanks.

I don’t see an upstream 64-bit release on the Pi Foundation’s download page; which version are you referring to?

Hello @obj,

The official Lite 64-bit image is at Index of /raspios_lite_arm64. I stumbled upon it while looking for Buster with a link from this forum. Given that the 32-bit Bullseye will not support PiCamera and this 64-bit was kept in beta for a long period owing to camera interface conflict, it was a relatively easy decision to release this Lite to GA since its been stable otherwise.

Kind regards.

P.S. I’m happy with Ubuntu Server arm64 for RPi4 except for RStudio support. Was offered many suggestions on building the supporting libraries from source but as I remarked previously tool chains are not my cup of tea.

That’s where the unsupported beta was, too. Is there a release announcement somewhere I can look at?

I’m reluctant to add prebuilt packages for another architecture for support reasons. It would really need to be an officially upstream supported release before I can look at building packages for it.

Agree with you cent per cent! :grinning: I noticed a single sentence about it in the weekly MagPi newsletter (not magazine) a fortnight ago. I am not a fan of slipstreaming. As you state, if it is truly GA then why not make a more noisy launch?

Until the RPi community is informed in greater detail, the image for all practical purposes should be treated as beta even in the absence of an explicit label/name. Even RPi Imager will not offer this image. Of course, there are many such challenges with Imager but I like its Options that lets me get going with SSH and hostname/pw with the boot image.

Kind regards.