PiAware 8.1 - file cleanup

An apt update/upgrade this morning brought PiAware 8.1. No issues with how it runs, but the install routine recommends apt autoremove for a slew of packages many of which are very necessary. What is up with that?

pi@piaware:~ $ sudo apt list --installed | grep auto-removable

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

atmel-firmware/stable,now 1.3-4.1 all [installed,auto-removable]
beast-splitter/unknown,now 8.1 armhf [installed,auto-removable]
dump1090-fa/unknown,now 8.1 armhf [installed,auto-removable]
dump978-fa/unknown,now 8.1 armhf [installed,auto-removable]
firmware-intelwimax/stable,now 1:20210315-3+rpt7 all [installed,auto-removable]
firmware-iwlwifi/stable,now 1:20221012-1~bpo11+1+rpt1 all [installed,auto-removable]
firmware-ti-connectivity/stable,now 1:20221012-1~bpo11+1+rpt1 all [installed,auto-removable]
firmware-zd1211/stable,now 1:1.5-7 all [installed,auto-removable]
fontconfig/stable,now 2.13.1-4.2 armhf [installed,auto-removable]
fonts-cantarell/stable,now 0.111-3 all [installed,auto-removable]
gunicorn/stable,now 20.1.0-1 all [installed,auto-removable]
itcl3/stable,now 3.4.3-3.1 armhf [installed,auto-removable]
libbladerf2/stable,now 0.2019.07-7 armhf [installed,auto-removable]
libboost-filesystem1.74.0/stable,now 1.74.0-9 armhf [installed,auto-removable]
libcairo2/stable,now 1.16.0-5+rpt1 armhf [installed,auto-removable]
libdatrie1/stable,now 0.2.13-1+b1 armhf [installed,auto-removable]
libgraphite2-3/stable,now 1.3.14-1 armhf [installed,auto-removable]
libhackrf0/stable,now 2018.01.1-2 armhf [installed,auto-removable]
libharfbuzz0b/stable,now 2.7.4-1 armhf [installed,auto-removable]
libjs-jquery/stable,now 3.5.1+dfsg+~3.5.5-7 all [installed,auto-removable]
liblimesuite20.10-1/stable,now 20.10.0+dfsg-2 armhf [installed,auto-removable]
libpango-1.0-0/stable,now 1.46.2-3 armhf [installed,auto-removable]
libpangocairo-1.0-0/stable,now 1.46.2-3 armhf [installed,auto-removable]
libpangoft2-1.0-0/stable,now 1.46.2-3 armhf [installed,auto-removable]
libpixman-1-0/stable,now 0.40.0-1.1~deb11u1+rpt1 armhf [installed,auto-removable]
libplymouth5/stable,now 0.9.5-3+rpt2 armhf [installed,auto-removable]
librtlsdr0/stable,now 0.6.0-3 armhf [installed,auto-removable]
libsoapysdr0.7/stable,now 0.7.2-2 armhf [installed,auto-removable]
libtcl8.6/stable,now 8.6.11+dfsg-1 armhf [installed,auto-removable]
libthai-data/stable,now 0.1.28-3 all [installed,auto-removable]
libthai0/stable,now 0.1.28-3 armhf [installed,auto-removable]
libxcb-render0/stable,now 1.14-3 armhf [installed,auto-removable]
libxcb-shm0/stable,now 1.14-3 armhf [installed,auto-removable]
libxrender1/stable,now 1:0.9.10-1 armhf [installed,auto-removable]
lighttpd/stable,now 1.4.59-1+deb11u2 armhf [installed,auto-removable]
piaware-ble-connect/unknown,now 8.1 all [installed,auto-removable]
piaware-configurator/unknown,now 8.1 all [installed,auto-removable]
piaware-support/unknown,now 8.1 all [installed,auto-removable]
piaware-web/unknown,now 8.1 all [installed,auto-removable]
piaware-wifi-scan/unknown,now 8.1 all [installed,auto-removable]
piaware/unknown,now 8.1 armhf [installed,auto-removable]
plymouth-label/stable,now 0.9.5-3+rpt2 armhf [installed,auto-removable]
plymouth-themes/stable,now 0.9.5-3+rpt2 armhf [installed,auto-removable]
plymouth/stable,now 0.9.5-3+rpt2 armhf [installed,auto-removable]
python3-click/stable,now 7.1.2-1 all [installed,auto-removable]
python3-colorama/stable,now 0.4.4-1 all [installed,auto-removable]
python3-dbus/stable,now 1.2.16-5 armhf [installed,auto-removable]
python3-flask/stable,now 1.1.2-2 all [installed,auto-removable]
python3-gunicorn/stable,now 20.1.0-1 all [installed,auto-removable]
python3-itsdangerous/stable,now 1.1.0-3 all [installed,auto-removable]
python3-jinja2/stable,now 2.11.3-1 all [installed,auto-removable]
python3-markupsafe/stable,now 1.1.1-1+b1 armhf [installed,auto-removable]
python3-tohil/unknown,now 4.3.0 armhf [installed,auto-removable]
python3-werkzeug/stable,now 1.0.1+dfsg1-2 all [installed,auto-removable]
rtl-sdr/stable,now 0.6.0-3 armhf [installed,auto-removable]
skyaware978/unknown,now 8.1 armhf [installed,auto-removable]
soapysdr-module-rtlsdr/stable,now 0.3.0-2 armhf [installed,auto-removable]
soapysdr0.7-module-rtlsdr/stable,now 0.3.0-2 armhf [installed,auto-removable]
socat/stable,now 1.7.4.1-3 armhf [installed,auto-removable]
tcl-tls/unknown,now 1.7.22-2+fa1 armhf [installed,auto-removable]
tcl8.6/stable,now 8.6.11+dfsg-1 armhf [installed,auto-removable]
tcl/stable,now 8.6.11+1 armhf [installed,auto-removable]
tcllib/stable,now 1.20+dfsg-1 all [installed,auto-removable]
tclx8.4/stable,now 8.4.1-4 armhf [installed,auto-removable]
whois/stable,now 5.5.10 armhf [installed,auto-removable]

What’s the piaware-release package you have installed?

pi@piaware:~ $ sudo apt-cache policy piaware-release
piaware-release:
  Installed: (none)
  Candidate: 8.1
  Version table:
     8.1 500
        500 http://flightaware.com/adsb/piaware/files/packages bullseye/piaware armhf Packages
     7.2 -1
        100 /var/lib/dpkg/status

I manually installed piaware-release and that fixed the issue. :grinning: Install also added and removed two other packages as noted below.

pi@piaware:~ $ sudo apt install piaware-release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  flightaware-apt-repository
The following packages will be REMOVED:
  piaware-repository
The following NEW packages will be installed:
  flightaware-apt-repository piaware-release
0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
Need to get 135 kB of archives.
After this operation, 159 kB of additional disk space will be used.

I need to verify this but I suspect the missing package might be because of an apt-get upgrade versus apt-get dist-upgrade; they have different conflict resolution rules.

Checking the apt logs from when I hit the upgrade button this morning, piaware-release was removed.

Start-Date: 2022-12-08  06:41:22
Commandline: apt-get full-upgrade
Requested-By: pi (1000)
Upgrade: piaware-wifi-scan:armhf (7.2, 8.1), rpi-eeprom:armhf (14.0-1, 15.0-1), skyaware978:armhf (7.2, 8.1), dump978-fa:armhf (7.2, 8.1), dump1090-fa:armhf (7.2, 8.1), beast-splitter:armhf 
(7.2, 8.1), piaware-ble-connect:armhf (7.2, 8.1), piaware-web:armhf (7.2, 8.1), piaware:armhf (7.2, 8.1), piaware-configurator:armhf (7.2, 8.1), piaware-support:armhf (7.2, 8.1)
**Remove: piaware-release:armhf (7.2)**
End-Date: 2022-12-08  06:41:54

Ok yeah that’s not right. I will have a look at what’s going wrong there today.

Re-imaged microSD Card with “piaware-sd-card-8.1.img”
Working flawlessly https://flightaware.com/adsb/stats/user/abcd567#stats-5252

Only little problem when tried to update:

E: Release file for http://flightaware.com/adsb/piaware/files/packages/dists/bullseye/InRelease is not valid yet (invalid for another 53min 31s). Updates for this repository will not be applied.

Solved by running sudo raspi-config and changed Time-Zone and Locale. Could successfully update.

 

After update ran apt list --upgradeable -a

pi@piaware:~ $ apt list --upgradeable -a
Listing... Done
dhcpcd5/stable 1:8.1.2-1+rpt9 armhf [upgradable from: 1:8.1.2-1+rpt8+fa4]
dhcpcd5/unknown,now 1:8.1.2-1+rpt8+fa4 armhf [installed,upgradable to: 1:8.1.2-1+rpt9]
dhcpcd5/stable 7.1.0-2 armhf

 

Tried upgrade:

pi@piaware:~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  dhcpcd5
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 145 kB of archives.
After this operation, 5120 B disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://flightaware.com/mirror/raspberrypi/debian bullseye/main armhf dhcpcd5 armhf 1:8.1.2-1+rpt9 [145 kB]
Fetched 145 kB in 1s (215 kB/s)
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
Reading changelogs... Done
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 50219 files and directories currently installed.)
Preparing to unpack .../dhcpcd5_1%3a8.1.2-1+rpt9_armhf.deb ...
Unpacking dhcpcd5 (1:8.1.2-1+rpt9) over (1:8.1.2-1+rpt8+fa4) ...
Setting up dhcpcd5 (1:8.1.2-1+rpt9) ...
Processing triggers for man-db (2.9.4-2) ...

NOTE: Before running the upgrade command, I have already run sudo raspi-config and set Time Zone to “America/Toronto”, and Language to “en_US.UTF-8”

all packages upgraded by command, all working without a hitch on 8.1 now.
Would be nice to see a changelog from 7.2 to 8.1 ( 8.0 to 8.1 is just version numbering) :wink:

Found this on GitHub:

https://raw.githubusercontent.com/flightaware/piaware_builder/master/changelog

1 Like

Thanks for pointing these out. We’ll get this fixed in a minor release.

Will post a changelog shortly!

So how do we get PiAware 8.1 ?
I did an upgrade yesterday, But if I do:
sudo apt-cache policy piaware
I get:

  Installed: 7.2
  Candidate: 7.2
  Version table:
 *** 7.2 500
        500 https://raw.githubusercontent.com/abcd567a/rpi/master ./ Packages
        100 /var/lib/dpkg/status

You are looking at the GitHub page of abcd567 instead of the flightaware page.
You can upgrade via sudo apt update/upgrade or via the flightaware stats page as noted in the announcement :wink: as long as you are looking towards the correct repository

Yeah, how do I change to the correct repository?

(1) First remove my repository

Deleting my repository from your Pi’s apt sources list is simple. Just issue following 2 command and it is done:

sudo rm /etc/apt/sources.list.d/abcd567a.list 

sudo apt update 

(2) Add Flightaware repository by following three commands

wget https://flightaware.com/adsb/piaware/files/packages/pool/piaware/f/flightaware-apt-repository/flightaware-apt-repository_1.1_all.deb

sudo dpkg -i flightaware-apt-repository_1.1_all.deb

sudo apt-get update 

(3) Now install piaware and dump1090 ver 8.1

sudo apt-get install piaware  

sudo piaware-config allow-auto-updates yes

sudo piaware-config allow-manual-updates yes


sudo apt-get install dump1090-fa  

(4) REBOOT

sudo reboot

Ok thanks.
I think I previously installed the FlightAware repository before I added the abcd567 GitHub page. So it’s probably still there.

I followed the above steps.
At step (3) I get:

pi@raspberrypi:~ $ sudo apt-get install piaware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
piaware is already the newest version (7.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.```

What is your Pi’s architecture? If it is arm64 or aarch64, you wont be able to upgrade from Flightaware repositories.

Please post output of these commands

uname -a

lsb_release -a

If output of first command shows 64-bit architecture, then use installation scripts from following post.

NOTE:
Installation by scripts is a lengthy process and takes some time. Please be patient and let the script run till it announces it has completed its job.

Install Piaware ver 8.1 on amd64 / x86_64, and arm64 / aarch64 Computers

 

Yeah, It’s 64-bit:

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux
pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

Ok, that worked, thanks. Updated to 8.1.
As you say, it takes awhile. Seems to be running fine.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.