Installation project failed help!

The ADS-B Receiver Project

Installation project failed

I need help.
Thanks.

01
02

Which model of RPi you have, Pi Zero, Pi2, Pi3 or Pi4?
Please post output of these commands:

uname -a

cat /etc/os-release

pi@raspberrypi:~$ uname -a
Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
pi@raspberrypi:~$ cat /etc/os-release

PRETTY_NAME=“Raspbian GNU/Linux 9 (stretch)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“9”
VERSION=“9 (stretch)”
ID=raspbian
ID_LIKE=debian
HOME_URL=“http://www.raspbian.org/
SUPPORT_URL=“RaspbianForums - Raspbian
BUG_REPORT_URL=“RaspbianBugs - Raspbian
pi@raspberrypi:~$

First try to install lighttpd manually, then run the adsb-project script

Attempt 1

sudo apt-get update
sudo apt-get install lighttpd

Attempt - 2
If attempt 1 fails to install lighttpd, try this:
NOTE
1. Copy-paste the commands, dont type to avoid typing mistakes
2. First command is very long. Scroll right to see it in full

wget -O /home/pi/libssl1.1_1.1.0k-1~deb9u1_armhf.deb  http://ftp.us.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.0k-1~deb9u1_armhf.deb  

sudo dpkg -i /home/pi/libssl1.1_1.1.0k-1~deb9u1_armhf.deb   

sudo apt-get install lighttpd   

03

This is very strange situation. The output of commands uname -a and cat /etc/os-release show that you are running Raspbian Stretch on Raspberry Pi with CPU armv7l.

Can you please tell which model of Raspberry PI you are using? Is it Pi4 ?

Using Raspberry PI 3

R Pi 3 with Raspbian Stretch never had any problem of installing lighttpd.

Seems some files got corrupted on your OS. An easy option is to re-image the microSD card with Raspbian Stretch (if you are using adsb-project script).

Alternatively you can write Piaware SD card image (download link on this page: https://flightaware.com/adsb/piaware/build)

OK
I will rebuild OS
Thanks…

Ok, before you re-image, try first to upgrade, then install lighttpd. If this also fails, then easiest and cleanest solution is to re-image.

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install lighttpd

dpkg-buildpackage: error: failed to sign .buildinfo file

Entering the dump1090-fa build directory…
Installing the dump1090-fa package…

dpkg: 錯誤: cannot access archive ‘dump1090-fa_3.7.1_*.deb’: 沒有此一檔案或目錄

Checking that the dump1090-fa package was installed properly…

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

The package “dump1090-fa” could not be installed.


Dump1090-fa setup halted.

I’ve rebuilt the system.
But there are problems with installation.

The adsb-receiver project is poorly updated.

Why do you want to use it?
Installing dump1090-fa manually is much easier.
PiAware - dump1090 ADS-B integration with FlightAware - FlightAware

The scripts are checking out the master branch (which is currently 3.7.2) but then assuming that the built package must be 3.7.1. This obviously isn’t going to work and the scripts need fixing.

This is not a new problem; the adsb-receiver stuff breaks every time we do a release. I would suggest they either need to be prepared to deal with arbitrary versions, or need to check out a particular tag if they really want a particular version.

tl;dr: the adsb-receiver scripts are broken.

You may want to raise an issue here: Issues · jprochazka/adsb-receiver · GitHub

Thanks…
I find this answer

Building current ver (3.7.2) from source code

(1) dump1090-fa

sudo apt update 
sudo apt install build-essential debhelper pkg-config librtlsdr-dev   
sudo apt install libusb-1.0-0-dev dh-systemd libncurses5-dev libbladerf-dev    

sudo apt install git
sudo git clone https://github.com/flightaware/dump1090.git dump1090-fa  

cd dump1090-fa  
sudo dpkg-buildpackage -b  

cd ../  
sudo dpkg -i  dump1090-fa_3.7.2_armhf.deb  

sudo reboot  

.

(2) piaware

sudo apt update  
sudo apt install build-essential debhelper autoconf tcl8.6-dev python3-dev   
sudo apt install python3-venv dh-systemd libz-dev libboost-system-dev   
sudo apt install libboost-program-options-dev libboost-regex-dev libboost-filesystem-dev   

sudo apt install git
git clone https://github.com/flightaware/piaware_builder.git  

cd piaware_builder  
./sensible-build.sh stretch  

cd package-stretch  
sudo dpkg-buildpackage -b  

cd ../  
sudo dpkg -i piaware_3.7.2_armhf.deb  
1 Like