# PiAware 8.1 - file cleanup

**URL:** <https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656>\
**Category:** ADS-B Flight Tracking\
**Created:** [December 8, 2022, 8:24am UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656 "2022-12-08T08:24:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvsvejk](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dvsvejk/32/136416_2.png) [@dvsvejk](https://discussions.flightaware.com/u/dvsvejk)\
**Post date:** [December 8, 2022, 8:24am UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/1 "2022-12-08T08:24:45Z")

</div>

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?

```auto
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]

```

---

<div class="post-metadata">

**Author:** ![obj](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/obj/32/118984_2.png) [@obj](https://discussions.flightaware.com/u/obj)\
**Post date:** [December 8, 2022, 10:45am UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/2 "2022-12-08T10:45:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dvsvejk](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dvsvejk/32/136416_2.png) [@dvsvejk](https://discussions.flightaware.com/u/dvsvejk)\
**Post date:** [December 8, 2022, 11:23am UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/3 "2022-12-08T11:23:00Z")

</div>

```auto
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. 😀 Install also added and removed two other packages as noted below.

```auto
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.

```

---

<div class="post-metadata">

**Author:** ![obj](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/obj/32/118984_2.png) [@obj](https://discussions.flightaware.com/u/obj)\
**Post date:** [December 8, 2022, 11:30am UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/4 "2022-12-08T11:30:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dvsvejk](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dvsvejk/32/136416_2.png) [@dvsvejk](https://discussions.flightaware.com/u/dvsvejk)\
**Post date:** [December 8, 2022, 11:30am UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/5 "2022-12-08T11:30:57Z")

</div>

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

```auto
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

```

---

<div class="post-metadata">

**Author:** ![obj](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/obj/32/118984_2.png) [@obj](https://discussions.flightaware.com/u/obj)\
**Post date:** [December 8, 2022, 11:31am UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/6 "2022-12-08T11:31:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![abcd567](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/abcd567/32/113769_2.png) [@abcd567](https://discussions.flightaware.com/u/abcd567)\
**Post date:** [December 8, 2022, 1:56pm UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/7 "2022-12-08T13:56:18Z")

</div>

**Re-imaged** microSD Card with **“piaware-sd-card-8.1.img”**  
Working flawlessly [https://flightaware.com/adsb/stats/user/abcd567#stats-5252](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.

&nbsp;

After update ran `apt list --upgradeable -a `

```auto
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

```

&nbsp;

**Tried upgrade:**

```auto
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

```

```auto
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”

---

<div class="post-metadata">

**Author:** ![tomvdhorst](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/tomvdhorst/32/136431_2.png) [@tomvdhorst](https://discussions.flightaware.com/u/tomvdhorst)\
**Post date:** [December 8, 2022, 6:21pm UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/8 "2022-12-08T18:21:25Z")

</div>

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) 😉

---

<div class="post-metadata">

**Author:** ![jafrank](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jafrank/32/124667_2.png) [@jafrank](https://discussions.flightaware.com/u/jafrank)\
**Post date:** [December 8, 2022, 8:32pm UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/9 "2022-12-08T20:32:42Z")

</div>

Found this on GitHub:

[https://raw.githubusercontent.com/flightaware/piaware\_builder/master/changelog](https://raw.githubusercontent.com/flightaware/piaware_builder/master/changelog)

 ![image](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/3X/a/d/ad7af9d2c403485c476755d808d550756de06940.png)

---

<div class="post-metadata">

**Author:** ![eric1tran](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/eric1tran/32/119986_2.png) [@eric1tran](https://discussions.flightaware.com/u/eric1tran)\
**Post date:** [December 8, 2022, 9:09pm UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/10 "2022-12-08T21:09:34Z")

</div>

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

Will post a changelog shortly!

---

<div class="post-metadata">

**Author:** ![jimMerk2](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimmerk2/32/127232_2.png) [@jimMerk2](https://discussions.flightaware.com/u/jimMerk2)\
**Post date:** [December 8, 2022, 9:12pm UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/11 "2022-12-08T21:12:20Z")

</div>

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

```auto
  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

```

---

<div class="post-metadata">

**Author:** ![tomvdhorst](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/tomvdhorst/32/136431_2.png) [@tomvdhorst](https://discussions.flightaware.com/u/tomvdhorst)\
**Post date:** [December 9, 2022, 6:20am UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/12 "2022-12-09T06:20:18Z")

</div>

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 😉 as long as you are looking towards the correct repository

---

<div class="post-metadata">

**Author:** ![jimMerk2](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimmerk2/32/127232_2.png) [@jimMerk2](https://discussions.flightaware.com/u/jimMerk2)\
**Post date:** [December 9, 2022, 6:54am UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/13 "2022-12-09T06:54:55Z")

</div>

> [@tomvdhorst](#):
>
> as long as you are looking towards the correct repository

Yeah, how do I change to the correct repository?

---

<div class="post-metadata">

**Author:** ![abcd567](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/abcd567/32/113769_2.png) [@abcd567](https://discussions.flightaware.com/u/abcd567)\
**Post date:** [December 9, 2022, 7:14am UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/14 "2022-12-09T07:14:39Z")

</div>

> [@jimMerk2](#):
>
> 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:

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

sudo apt update 

```

### (2) Add Flightaware repository by following three commands

```auto
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

```auto
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 `

---

<div class="post-metadata">

**Author:** ![jimMerk2](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimmerk2/32/127232_2.png) [@jimMerk2](https://discussions.flightaware.com/u/jimMerk2)\
**Post date:** [December 9, 2022, 7:21am UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/15 "2022-12-09T07:21:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jimMerk2](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimmerk2/32/127232_2.png) [@jimMerk2](https://discussions.flightaware.com/u/jimMerk2)\
**Post date:** [December 9, 2022, 5:37pm UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/16 "2022-12-09T17:37:44Z")

</div>

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

````auto
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.```
````

---

<div class="post-metadata">

**Author:** ![abcd567](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/abcd567/32/113769_2.png) [@abcd567](https://discussions.flightaware.com/u/abcd567)\
**Post date:** [December 9, 2022, 6:39pm UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/17 "2022-12-09T18:39:03Z")

</div>

> [@jimMerk2](#):
>
> At step (3) I get

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](https://discussions.flightaware.com/t/install-piaware-ver-8-1-on-amd64-x86-64-and-arm64-aarch64-computers/85662)

&nbsp;

---

<div class="post-metadata">

**Author:** ![jimMerk2](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimmerk2/32/127232_2.png) [@jimMerk2](https://discussions.flightaware.com/u/jimMerk2)\
**Post date:** [December 9, 2022, 7:13pm UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/18 "2022-12-09T19:13:28Z")

</div>

Yeah, It’s 64-bit:

```auto
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux

```

```auto
pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

```

---

<div class="post-metadata">

**Author:** ![jimMerk2](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimmerk2/32/127232_2.png) [@jimMerk2](https://discussions.flightaware.com/u/jimMerk2)\
**Post date:** [December 9, 2022, 7:50pm UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/19 "2022-12-09T19:50:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/system/32/38558_2.png) [@system](https://discussions.flightaware.com/u/system)\
**Post date:** [December 9, 2023, 7:50pm UTC](https://discussions.flightaware.com/t/piaware-8-1-file-cleanup/85656/20 "2023-12-09T19:50:12Z")

</div>

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