Yay I am your crash test dummy L O L
One thing I notice in difference to your previous install scripts, the ââpiaware webââ section as an option, is missing.
No it is not missing. Scroll down (slowly) this post and you will find it:
https://discussions.flightaware.com/t/raspberry-pi-debian-images-latest-release-bullseye/78804/8
So it is. Now I got the right time and location, thanks. Is there somewhere I can look at the other 2 things I normal set up with a new SD card, expanding the file system and a very handy one, a fan control (great with the rpi4 and you not getting up to 80 degâŚ)
Version 6.0 up and running
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
- What is the size (Gb) of microSD card?
- 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:
- The microSD cardâs drive letter is
mmcblk1
- Itâs size is 59.5G
- It has two partitions as follows:
Partition 1 ismmcblk1p1
size 296M (boot)
Partition 2 ismmcblk1p2
size 59.2G (root)
So your Partitions 1 + 2 are occupying the whole microSD card, i.e. it is already fully expanded.
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.