Pi will not update to latest version

I’ve gone into my stats page and notice that I have a message that an update is available to go from 7.1 to 8.2. Unfortunately it doesn’t seem to update when click on the upgrade and reboot button. Here are what my logs are showing me. Any ideas would be appreciated.

2024-07-02 14:41 EDT] manual update (user-initiated via their flightaware control page) requested by adept server
[2024-07-02 14:41 EDT] performing manual update, action: piaware
[2024-07-02 14:41 EDT] *** running command ‘/usr/lib/piaware/helpers/run-apt-get update’ and logging output
[2024-07-02 14:41 EDT] run-apt-get(2099): Hit:2 http://www.flightaware.com/adsb/piaware/files/packages stretch InRelease
[2024-07-02 14:41 EDT] run-apt-get(2099): 404 Not Found [IP: 104.18.39.201 80]
[2024-07-02 14:41 EDT] run-apt-get(2099): Ign:1 http://www.flightaware.com/mirror/raspbian/raspbian stretch InRelease
[2024-07-02 14:41 EDT] run-apt-get(2099): Hit:3 http://www.flightaware.com/mirror/raspberrypi/debian stretch InRelease
[2024-07-02 14:41 EDT] run-apt-get(2099): Err:4 http://www.flightaware.com/mirror/raspbian/raspbian stretch Release

Stretch is no longer supported.
See update instructions here:

2 Likes

Unfortunately, update doesn’t work.

Using the gui PiAware version simply doesn’t change, and a manual upgrade via SSH i get this:

pi@piaware:~ $ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  skyview978
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
  apt apt-transport-https apt-utils avahi-daemon base-files bind9-host ca-certificates cifs-utils cron curl dbus dpkg dpkg-dev e2fslibs e2fsprogs gzip isc-dhcp-client isc-dhcp-common klibc-utils libapt-inst2.0 libapt-pkg5.0 libavahi-common-data libavahi-common3 libavahi-core7
  libbind9-140 libbsd0 libcomerr2 libcurl3 libcurl3-gnutls libdbus-1-3 libdns-export162 libdns162 libdpkg-perl libdw1 libelf1 libexpat1 libflac8 libfreetype6 libfreetype6-dev libgcrypt20 libglib2.0-0 libglib2.0-data libgmp10 libgnutls30 libgssapi-krb5-2 libhogweed4 libicu57
  libidn11 libisc-export160 libisc160 libisccc140 libisccfg140 libjpeg62-turbo libk5crypto3 libklibc libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libluajit-5.1-common liblwres141 liblz4-1 liblzma5 libnettle6 libnghttp2-14 libp11-kit0 libpam-systemd libperl5.24
  libpython2.7-minimal libpython2.7-stdlib libpython3.5 libpython3.5-minimal libpython3.5-stdlib libsamplerate0 libsasl2-2 libsasl2-modules libsasl2-modules-db libsndfile1 libsqlite3-0 libss2 libssh2-1 libssl1.0.2 libssl1.1 libsystemd0 libtcl8.6 libudev1 libvorbis0a libvorbisenc2
  libwbclient0 libx11-6 libx11-data libx11-xcb1 libxml2 lighttpd login luajit nfs-common openssl passwd perl perl-base perl-modules-5.24 python-apt-common python2.7 python2.7-minimal python3-apt python3.5 python3.5-minimal rsync rsyslog samba-common skyview978 systemd systemd-sysv
  tar tcl tcl8.6 tzdata udev vim-common vim-tiny xxd xz-utils zlib1g zlib1g-dev
125 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 71.5 MB of archives.
After this operation, 108 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 https://www.flightaware.com/mirror/raspbian/raspbian stretch/main armhf base-files armhf 9.9+rpi1+deb9u13
  404  Not Found
Err:2 https://www.flightaware.com/mirror/raspbian/raspbian stretch/main armhf cron armhf 3.0pl1-128+deb9u2
  404  Not Found
Err:3 https://www.flightaware.com/mirror/raspbian/raspbian stretch/main armhf tar armhf 1.29b-1.1+deb9u1
  404  Not Found
Err:4 https://www.flightaware.com/mirror/raspbian/raspbian stretch/main armhf dpkg armhf 1.18.26
  404  Not Found
Err:5 https://www.flightaware.com/mirror/raspbian/raspbian stretch/main armhf e2fslibs armhf 1.43.4-2+deb9u2
  404  Not Found
Err:6 https://www.flightaware.com/mirror/raspbian/raspbian stretch/main armhf e2fsprogs armhf 1.43.4-2+deb9u2
  404  Not Found
Err:7 https://www.flightaware.com/mirror/raspbian/raspbian stretch/main armhf gzip armhf 1.6-5+deb9u1
  404  Not Found
Err:8 https://www.flightaware.com/mirror/raspbian/raspbian stretch/main armhf login armhf 1:4.4-4.1+deb9u1
  404  Not Found
Err:9 https://www.flightaware.com/mirror/raspbian/raspbian stretch/main armhf libperl5.24 armhf 5.24.1-3+deb9u7
  404  Not Found
Err:10 https://www.flightaware.com/mirror/raspbian/raspbian stretch/main armhf perl armhf 5.24.1-3+deb9u7
  404  Not Found
0% [Working]^C

How can we change the repository to be able to perform the upgrade?
Current version is:

pi@piaware:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 9.11 (stretch)
Release:	9.11
Codename:	stretch
----------
PiAware (SD Card) 8.2

Cheers!
Luca

You can’t.
From the original link regarding upgrading:

!!! I periodically checked for update, so i thought that 9.11 was the latest one and not three OS releases old.

Anyways: thanks, i’ll perform the full reinstall whenever possible.

Cheers!
Luca

2 Likes