Cannot install piaware on Orange Pi Zero Plus (Allwinner H5 arm64)


#1

Hello everyone,

Last month i’ve fried my OPi zero using an LG quick charger. I believe that the board requested more power and the charger pumped up 9V into it. Not sure, but now pulls 3,4V/1,3A and it’s getting hot instantly. The more you learn…

So,i’ve ordered another one. But i chosed the “plus” as it has a better processor without checking if it would be possible to install piaware on it.

At this moment, besides that the ArmbianOS for it is in testing phase for this board (but it works), piaware refuses to install and gives the following error:

sudo apt-get update

Hit:7 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists… Done
N: Skipping acquire of configured file ‘piaware/binary-arm64/Packages’ as repository ‘http://flightaware.com/adsb/piaware/files/packages jessie InRelease’ doesn’t support architecture 'arm64’
root@orangepizeroplus:~# 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:armhf : Depends: tcllib:armhf but it is not installable**
E: Unable to correct problems, you have held broken packages.

Probably, Piaware cannot be installed as it is not a native 64bit application.

I have searched and found out that i can actually install 32bit apps to 64bit OS. Unfortunatelly, my coding skils are very low.

Any tutorials,ideas on how to install piaware on this board?

Thank you!


#2

Try this

(1) First give following command to purge piaware repository which you have installed:

sudo dpkg --purge piaware-repository

.

(2) After purging the repository, run these commands

sudo apt-get update  
sudo apt-get install git  
git clone https://github.com/jprochazka/adsb-receiver.git  
cd ~/adsb-receiver  
chmod +x install.sh  
./install.sh 

.
After the last command (./install.sh), you will be offered options.
In the options offered, choose:

  1. dump1090-fa
  2. Flightaware piaware (sometimes Flightaware piaware is not offered separately and is automatically installed when you choose dump1090-fa)

NOTE:
(a) To choose an option, move selection by arrow keys, then when on required option, press Space Bar, then press Enter key.

(b) You will be offered many other options also. Do NOT choose any other options.

ADS-B Receiver Project Setup Scripts

.


#3

Hello abcd567 (always to the rescue),

I have used jprochazka’s script on my last OPi0, and tried on OPI0+ also.

There are 2 versions of Armbian for OPi0+: Stretch & Bionic.

On Stretch, dump1090fa & piaware can be installed with the script (YAY!). Unfortunatelly, Stretch has a network DNS bug which is restricting the OPi to connect to the internet. I always need to reinitiate the network drivers (?!) in order to reconnect.

On Bionic, there is no network bug, but the script doesn’t show the dump1090-fa option. Just mutability. So, going further with mutability, i receive the following:

IndexError: tuple index out of range
debian/rules:55: recipe for target ‘build_cxfreeze’ failed
make[1]: *** [build_cxfreeze] Error 1
make[1]: Leaving directory ‘/root/adsb-receiver/build/piaware_builder/package-jessie’
debian/rules:83: recipe for target ‘build’ failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

_ Installing the FlightAware PiAware client package…_

dpkg: error: cannot access archive '/root/adsb-receiver/build/piaware_builder/piaware*.deb’: No such file or directory_

_ Checking that the FlightAware PiAware client package was installed properly…_

_ INSTALLATION HALTED!_
_ UNABLE TO INSTALL A REQUIRED PACKAGE._
_ SETUP HAS BEEN TERMINATED!_

The package “piaware” could not be installed.

_ ------------------------------------------------------------------------------_
_ FlightAware PiAware client setup halted._

At this point, it’s either fixing the DNS bug or finding a way to show 1090-fa option. :frowning:

Thanks for the support!