Announcing PiAware 4.0!

Thanks eric1tran, works fine now. Very much appreciated. :+1:

Nice work @abcd567 (as usual :star_struck: )

Updated my Orange Pi to version 4.0 from 3.8.1.

I didn’t spot the git commands at first :roll_eyes: so got errors.

Then I had to stop dump1090-fa (sudo systemctl stop dump1090-fa) before v4.0 would install. Errors about unmet dependency of dump1090-fa-dbgsym_4.0.

All working now. This is a test Orange Pi so I’ll see how it goes before re-imaging on the real one.

No need to install that package. Perhaps an overly general wildcard?

It’s a Waveshare XPT2046 display.IMG_2112

@obj

Followed @abcd567 instructions and it was present in the dump1090 folder.

But I suspect that it was built in response to the inability of dump1090 to install because 3.81 was still running. I recall the dpkg of dump1090 mentioned " previously unselected package dump1090-fa-dbgsym, etc".

The build process builds many things, but only one is to be installed.

My instructions tell to install only dump1090-fa_4.0_arm64.deb.

The error message shows that you tried to install the unneeded package dump1090-fa-dbgsym.

Much appreciated - added the empty array and upintheair plotted on reload of skyaware

For me it only works when I execute the following command (in bold), following the answer I got.

$ sudo /usr/lib/piaware/helpers/run-apt-get upgrade-package dump1090-fa
Building dependency tree…
Reading state information…
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
Reading package lists…
Building dependency tree…
Reading state information…
The following additional packages will be installed:
beast-splitter dump978-fa libhackrf0 liblimesuite18.06-1 limesuite-udev piaware piaware-release piaware-repository piaware-support piaware-web skyaware978
The following NEW packages will be installed:
libhackrf0 liblimesuite18.06-1 limesuite-udev
The following packages will be upgraded:
beast-splitter dump1090-fa dump978-fa piaware piaware-release piaware-repository piaware-support piaware-web skyaware978
9 upgraded, 3 newly installed, 0 to remove and 9 not upgraded.
Need to get 8,831 kB of archives.
After this operation, 9,933 kB of additional disk space will be used.
Get:1 http://flightaware.com/mirror/raspbian/raspbian buster/main armhf libhackrf0 armhf 2018.01.1-2 [13.0 kB]
Get:2 http://flightaware.com/mirror/raspbian/raspbian buster/main armhf liblimesuite18.06-1 armhf 18.06.0+dfsg-1+b1 [199 kB]
Get:3 http://flightaware.com/mirror/raspbian/raspbian buster/main armhf limesuite-udev all 18.06.0+dfsg-1 [8,272 B]
Get:4 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf piaware-release all 4.0 [130 kB]
Get:5 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf piaware-repository all 4.0 [5,964 B]
Get:6 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf piaware armhf 4.0 [2,999 kB]
Get:7 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf piaware-support all 4.0 [20.8 kB]
Get:8 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf dump1090-fa armhf 4.0 [2,724 kB]
Get:9 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf dump978-fa armhf 4.0 [142 kB]
Get:10 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf skyaware978 armhf 4.0 [2,404 kB]
Get:11 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf piaware-web all 4.0 [81.1 kB]
Get:12 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf beast-splitter armhf 4.0 [103 kB]
Fetched 8,831 kB in 1min 18s (113 kB/s)
apt-listchanges: Reading changelogs…
Selecting previously unselected package libhackrf0:armhf.
(Reading database … 47821 files and directories currently installed.)
Preparing to unpack …/00-libhackrf0_2018.01.1-2_armhf.deb …
Unpacking libhackrf0:armhf (2018.01.1-2) …
Selecting previously unselected package liblimesuite18.06-1:armhf.
Preparing to unpack …/01-liblimesuite18.06-1_18.06.0+dfsg-1+b1_armhf.deb …
Unpacking liblimesuite18.06-1:armhf (18.06.0+dfsg-1+b1) …
Selecting previously unselected package limesuite-udev.
Preparing to unpack …/02-limesuite-udev_18.06.0+dfsg-1_all.deb …
Unpacking limesuite-udev (18.06.0+dfsg-1) …
Preparing to unpack …/03-piaware-release_4.0_all.deb …
Unpacking piaware-release (4.0) over (3.8.1) …
Preparing to unpack …/04-piaware-repository_4.0_all.deb …
Unpacking piaware-repository (4.0) over (3.8.1) …
Preparing to unpack …/05-piaware_4.0_armhf.deb …
Unpacking piaware (4.0) over (3.8.1) …
Preparing to unpack …/06-piaware-support_4.0_all.deb …
Unpacking piaware-support (4.0) over (3.8.1) …
Preparing to unpack …/07-dump1090-fa_4.0_armhf.deb …
Unpacking dump1090-fa (4.0) over (3.8.1) …
Preparing to unpack …/08-dump978-fa_4.0_armhf.deb …
Unpacking dump978-fa (4.0) over (3.8.1) …
Preparing to unpack …/09-skyaware978_4.0_armhf.deb …
Unpacking skyaware978 (4.0) over (3.8.1) …
Preparing to unpack …/10-piaware-web_4.0_all.deb …
Unpacking piaware-web (4.0) over (3.8.1) …
Preparing to unpack …/11-beast-splitter_4.0_armhf.deb …
Unpacking beast-splitter (4.0) over (3.8.1) …
Setting up beast-splitter (4.0) …
Setting up liblimesuite18.06-1:armhf (18.06.0+dfsg-1+b1) …
Setting up libhackrf0:armhf (2018.01.1-2) …
Setting up limesuite-udev (18.06.0+dfsg-1) …
Setting up piaware-repository (4.0) …
Setting up dump1090-fa (4.0) …
Installing new version of config file /etc/lighttpd/conf-available/89-dump1090-fa.conf …
The user dump1090' is already a member of plugdev’.
Restarting lighttpd…
Setting up dump978-fa (4.0) …
The user dump978' is already a member of plugdev’.
Setting up piaware-web (4.0) …
Restarting lighttpd…
Setting up piaware (4.0) …
Setting up skyaware978 (4.0) …
Enabling lighttpd integration…
already enabled
Run “service lighttpd force-reload” to enable changes
Restarting lighttpd…
Setting up piaware-support (4.0) …
Setting up piaware-release (4.0) …
update-initramfs: deferring update (trigger activated)
Processing triggers for rsyslog (8.1901.0-1) …
Processing triggers for systemd (241-7~deb10u4+rpi1) …
Processing triggers for man-db (2.8.5-2) …
Processing triggers for libc-bin (2.28-10+rpi1) …
Processing triggers for initramfs-tools (0.133+deb10u1) …
$

That’s the one. Probably something wrong with the display then if touch doesn’t work. Have you tried it with a regular Raspberry Pi OS image?

No I did NOT try to install dump1090-fa-dbgsym.

The ‘dpkg -i dump1090-fa’ command built dump1090-fa-dbgsym, probably because dump-1090 v3.81 was still running. The error message.indicated v4.0 could not be installed because v3.81 was there.

Stopping v3.81 solved the problem. The ‘dbg’ in the name suggests it is a debug process.

I’m running an original pi model b, can anyone confirm if this latest release will work on my hardware?

Thanks.

This is a bit confusing.
The command dpkg-buildpackage -b creates the following two packages:

  1. dump1090-fa_4.0_arm64.deb

  2. dump1090-fa-dbgsym_4.0_arm64.ddeb

The dpkg -i command is applied only on the first one.

sudo dpkg -i dump1090-fa_4.0_arm64.deb 

As far as I know, bove command has nothing to do with the 2nd package.

@obj may shed some light.

 

Still not necessary to install it. It is debug symbols only and there’s no dependencies on it. The only reason to install it is if you’re a developer needing symbols to look at a coredump of the binary present in the main package.

dpkg doesn’t care what is running.

dpkg installs packages; it does not build them. It also does not follow dependencies and won’t install anything except exactly what you specified (i.e. it is up to you to get the correct sequence of package installs to satisfy dependencies).

I think you had some other problem/typo and your second attempt avoided that problem/typo, and the rest was coincidence.

Automated Installation of dump1090-fa 4.0 and piaware 4.0 on following OS by building packages from source code

(1) Ubuntu 20 - amd64
(2) Debian 10 - amd64
(3) Kali Linux 2020 - amd64

(1) DUMP1090-FA

Copy-paste following command in SSH console and press Enter key. The script will install dump1090-fa.

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-dump1090-fa.sh)"

(2) PIAWARE

Copy-paste following command in SSH console and press Enter key. The script will install piaware.

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-piaware.sh)"

 
Note for @obj & @eric1tran
In Ubuntu 20 & Kali 2020 repositories, libbladerf1 is missing from package libbladerf-dev. This cause failure to build dump1090-fa package.

I had to remove dependency on libbladerf-dev by including following lines in my install script for dump1090-fa:

cd ${INSTALL_DIRECTORY}/dump1090
sudo sed -i '0,/BLADERF = yes/s//BLADERF = no/' debian/rules
sudo sed -i '/libbladerf-dev/d' debian/control 

 

2 Likes

Better to use a custom build profile if you cannot satisfy the normal build dependency (see the README)

1 Like

I don’t have a regular image with all the drivers installed to try. But I have tried two of these identical displays. The other question is why does a mouse and keyboard not work either with this image?

Did you still have held those packages:

sudo apt-mark hold librtlsdr0 librtlsdr-dev

i think only on jetvision site but the have only 3.8.1.hope soon.

have you tried downloading the package manually and use their manual file upload tool?
It is armhf, so it should work

Yes but the have only 3.8.1 file to upload

Outlook for Android downloaden