FlightAware Discussions

Raspberry Pi Debian images - Latest Release Bullseye

Version 6.0 up and running :slight_smile:

You are referring to dump1090-fa version or Piaware version?

What are the outputs of following 2 commands?

apt-cache policy dump1090-fa

apt-cache policy piaware
  1. What is the size (Gb) of microSD card?
  2. What are outputs of following 3 commands?
lsblk

sudo fdisk -l /dev/mmcblk0 

df -h

 

For your guidance, my outputs are as follows:
Size of my microSD card = 8 Gb

pi@rpi2-20210823:~$ lsblk 

NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0     179:0    0  7.4G  0 disk
|-mmcblk0p1 179:1    0  296M  0 part /boot/firmware
`-mmcblk0p2 179:2    0  7.1G  0 part /

 

 

pi@rpi2-20210823:~$ sudo fdisk -l /dev/mmcblk0 

Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x607494d7

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        8192   614399   606208  296M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      614400 15523839 14909440  7.1G 83 Linux

 

 

pi@rpi2-20210823:~$ df -h 

Filesystem      Size  Used Avail Use% Mounted on
udev            417M     0  417M   0% /dev
tmpfs            93M   39M   54M  42% /run
/dev/mmcblk0p2  7.0G  2.5G  4.2G  38% /
tmpfs           461M   20K  461M   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/mmcblk0p1  296M   48M  249M  17% /boot/firmware
tmpfs            32M   28K   32M   1% /var/cache/fontconfig
tmpfs            93M     0   93M   0% /run/user/1000

64gb, yes I know, don’t need that much … Other answers will come, just got to wait for a spare RPI4 to run that card again

Well at least it should last a long time what with wear levelling - assuming it has it.

Anecdotally, it seems to me that 32GB cards last longer than 16GB ones but that might be down to any number of factors of course.

It would appear the FA version:
pi@rpi4-20210823:~$ apt-cache policy dump1090-fa
dump1090-fa:
Installed: 6.0~dev
Candidate: 6.0~dev
Version table:
*** 6.0~dev 100
100 /var/lib/dpkg/status
pi@rpi4-20210823:~$ apt-cache policy piaware
piaware:
Installed: 5.0
Candidate: 5.0
Version table:
*** 5.0 100
100 /var/lib/dpkg/status
pi@rpi4-20210823:~$

pi@rpi4-20210823:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk1 179:0 0 59.5G 0 disk
|-mmcblk1p1 179:1 0 296M 0 part /boot/firmware
`-mmcblk1p2 179:2 0 59.2G 0 part /

pi@rpi4-20210823:~$ sudo fdisk -l /dev/mmcblk0
[sudo] password for pi:
fdisk: cannot open /dev/mmcblk0: No such file or directory

pi@rpi4-20210823:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.8G 0 3.8G 0% /dev
tmpfs 781M 680K 781M 1% /run
/dev/mmcblk1p2 59G 2.1G 54G 4% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/mmcblk1p1 296M 74M 222M 25% /boot/firmware
tmpfs 781M 0 781M 0% /run/user/1000
pi@rpi4-20210823:~$

 

In plain words, the above output says:

  1. The microSD card’s drive letter is mmcblk1
  2. It’s size is 59.5G
  3. It has two partitions as follows:
    Partition 1 is mmcblk1p1 size 296M (boot)
    Partition 2 is mmcblk1p2 size 59.2G (root)

So your Partitions 1 + 2 are occupying the whole microSD card, i.e. it is already fully expanded. :+1:

So your dump1090-fa is ver 6.0~dev, but piaware is ver 5.0

Hi all
Installed debian 11 but dump not having it
pi4 4gb

pi@rpi4-20210823:~$ apt-cache policy dump1090-fa
dump1090-fa:
Installed: (none)
Candidate: (none)
Version table:
4.0 -1
100 /var/lib/dpkg/status
pi@rpi4-20210823:~$ apt-cache policy piaware
piaware:
Installed: 5.0
Candidate: 5.0
Version table:
*** 5.0 100
100 /var/lib/dpkg/status

Did you use automated scripts, or tried to install dump1090-fa some other way?

sudo lsb_release -si
Debian

Installing dump1090-fa
grep: debian/dump1090-fa/DEBIAN/control: No such file or directory
dpkg: error: cannot access archive 'dump1090-fa__*.deb': No such file or directory
Failed to enable unit: Unit file /etc/systemd/system/dump1090-fa.service is masked.
Failed to restart dump1090-fa.service: Unit dump1090-fa.service is masked.

DUMP1090-FA INSTALLATION COMPLETED
REBOOT Computer

installed this  img 
20210823_raspi_4_bullseye.img
tried installing other dump

This shows that it tried to build and install dump1090-fa ver 5.0 on Bullseye. Since building ver 5.0 on Bullseye fails, it did not find .deb package to install.

To make it install ver 6.0~dev, issue following additional commands:

cd dump1090

git fetch --all 

git reset --hard origin/dev 

sudo sed -i 's/dh-systemd,//' debian/control 

sudo dpkg-buildpackage -b --no-sign 

 

The last command above will take some time to complete. When it finishes, issue following commands:

sudo dpkg -i dump1090-fa_6.0~dev_armhf.deb 

sudo reboot  

 

After reboot, check status of dump1090-fa, and skyaware map.

 

pi@rpi4-20210823:~$ cd dump1090-fa
-bash: cd: dump1090-fa: No such file or directory
pi@rpi4-20210823:~$
pi@rpi4-20210823:~$ git fetch --all
fatal: not a git repository (or any of the parent directories): .git
pi@rpi4-20210823:~$
pi@rpi4-20210823:~$ git reset --hard origin/dev
fatal: not a git repository (or any of the parent directories): .git
pi@rpi4-20210823:~$ sudo sed -i 's/dh-systemd,//' debian/control
[sudo] password for pi:
sed: can't read debian/control: No such file or directory
pi@rpi4-20210823:~$ sudo dpkg-buildpackage -b --no-sign
dpkg-buildpackage: error: cannot open file debian/changelog: No such file or directory
pi@rpi4-20210823:~$ sudo dpkg -i dump1090-fa_6.0~dev_armhf.deb
dpkg: error: cannot access archive 'dump1090-fa_6.0~dev_armhf.deb': No such file or directory

Sorry, my mistake. Above command should be

cd dump1090
(dump1090 NOT dump1090-fa)

I have corrected it.
Repeat all commands below:

cd dump1090

git fetch --all 

git reset --hard origin/dev 

sudo sed -i 's/dh-systemd,//' debian/control 

sudo dpkg-buildpackage -b --no-sign 

The last command above will take some time to complete. When it finishes, issue following commands:

sudo dpkg -i dump1090-fa_6.0~dev_armhf.deb 

sudo reboot  

After reboot, check status of dump1090-fa, and skyaware map.

did all above still nothing 
print out of  airspy_adsb no 30005 ??

pi@rpi4-20210823:~$ apt-cache policy dump1090-fa
dump1090-fa:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.0 -1
        100 /var/lib/dpkg/status

pi@rpi4-20210823:~$ apt-cache policy piaware
piaware:
  Installed: 5.0
  Candidate: 5.0
  Version table:
 *** 5.0 100
        100 /var/lib/dpkg/status

@suffolk3000

Something gone wrong. First remove existing files & folders of dump1090

sudo rm dump1090-fa*

sudo rm -rf dump1090  

Now issue following commands.

git clone https://github.com/flightaware/dump1090 

cd dump1090

git fetch --all 

git reset --hard origin/dev 

sudo sed -i 's/dh-systemd,//' debian/control 

sudo dpkg-buildpackage -b --no-sign

What are last few lines of output of last command? Does it say dump1090-fa package is built?

What is output of following command?

ls /home/pi/

 

pi@rpi4-20210823:~$ ls
Desktop    Templates                             dump1090-fa-pkg-4.0                  piaware-web_5.0_all.deb
Documents  Videos                                dump1090-fa_6.0~dev_arm64.buildinfo  piaware-web_5.0_arm64.buildinfo
Downloads  airspy                                dump1090-fa_6.0~dev_arm64.changes    piaware-web_5.0_arm64.changes
Music      airspy_adsb-linux-x86_64.tgz          dump1090-fa_6.0~dev_arm64.deb        piaware_builder
Pictures   dump1090                              piaware-repository_5.0_all.deb       tcltls-rebuild
Public     dump1090-fa-dbgsym_6.0~dev_arm64.deb  piaware-web

pi@rpi4-20210823:~/dump1090$ ls
COPYING               anet.h     cprtests.c      demod_2400.o   interactive.c       sdr.c          sdr_limesdr.o     track.o
Jenkinsfile           anet.o     cprtests.o      dsp            interactive.o       sdr.h          sdr_rtlsdr.c      util.c
LICENSE               bladerf    cpu.c           dsp-types.h    mode_ac.c           sdr.o          sdr_rtlsdr.h      util.h
Makefile              comm_b.c   cpu.h           dump1090       mode_ac.o           sdr_bladerf.c  sdr_rtlsdr.o      util.o
Makefile.cpufeatures  comm_b.h   cpu.o           dump1090.c     mode_s.c            sdr_bladerf.h  sdr_stub.c        view1090
README-json.md        comm_b.o   cpu_features    dump1090.h     mode_s.h            sdr_bladerf.o  sdr_stub.o        view1090.c
README.md             compat     crc.c           dump1090.o     mode_s.o            sdr_hackrf.c   starch            view1090.o
adaptive.c            convert.c  crc.h           faup1090.c     net_io.c            sdr_hackrf.h   starch-benchmark  wisdom
adaptive.h            convert.h  crc.o           fifo.c         net_io.h            sdr_hackrf.o   stats.c           wisdom.aarch64
adaptive.o            convert.o  debian          fifo.h         net_io.o            sdr_ifile.c    stats.h           wisdom.arm
ais_charset.c         cpr.c      debian-jessie   fifo.o         oneoff              sdr_ifile.h    stats.o           wisdom.generic
ais_charset.h         cpr.h      debian-stretch  icao_filter.c  prepare-build.sh    sdr_ifile.o    tools             wisdom.x86
ais_charset.o         cpr.o      demod_2400.c    icao_filter.h  public_html         sdr_limesdr.c  track.c
anet.c                cprtests   demod_2400.h    icao_filter.o  public_html_merged  sdr_limesdr.h  track.h