Upgrade from Raspbian to Bullseye

I know there are some old posts talking about upgrading from buster to bullseye and at some point I guess I need to do that even though buster os is still supported from a security package but none the less from an application not sure if it would be better although my stuff still works. I am running the 1090-mutability stuff and going through the dist-upgrade looks like it is updating most stuff, it appears that flightaware is still pulling from bustre repo:

et:2 Index of /raspbian bullseye InRelease [15.0 kB]
Hit:3 http://repo.feed.flightradar24.com flightradar24 InRelease
Hit:4 https://apt.rb24.com buster InRelease
Hit:5 https://opensky-network.org/repos/debian opensky InRelease
Get:6 Index of /raspbian bullseye/main armhf Packages [13.2 MB]
Hit:1 http://www.flightaware.com/adsb/piaware/files/packages buster InRelease
Hit:7 Index of /debian buster InRelease
Get:8 Index of /raspbian bullseye/contrib armhf Packages [60.2 kB]
Get:9 Index of /raspbian bullseye/non-free armhf Packages [106 kB]
Get:10 Index of /raspbian bullseye/rpi armhf Packages [1,360 B]
Fetched 13.4 MB in 12s (1,092 kB/s)
Reading package lists… Done

Here is my sources list:

deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
#deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
deb http://repo.feed.flightradar24.com flightradar24 raspberrypi-stable

I have bullseye commented out but wondering what I need to do in order to update the flightaware stuff to bullseye etc.

@abcd567 any suggestions, just thought I would ask, thanks!

Since even the Bullseye is old now and current version is Bookworm, I would suggest you re-image your microSD card with RaspberryPi OS Bookworm (Lite).

After writing latest image, install dump1090 (fa or mutability whichever you like), piaware, fr24feed, and rabfeeder on it.

I would strongly recommend to leave your current working microSD card as is, and to use a spare microSD card to write the latest Raspberry Pi OS Bookworm. Leaving your existing microSD card intact provides you a fall-back card to quickly and easily restore your receiver, in case you face any problems with fresh install on a spare microSD card.

The easiest method to write Bookworm image is to use Raspberry Pi Imager, which has facility to set password, ssh, and wifi in Imager, so that your Pi is ready to use from first boot without connecting monitor, mouse, and keyboard to RPi.

https://www.raspberrypi.com/documentation/computers/getting-started.html#raspberry-pi-imager

 

2 Likes

Bullseye support ends soon. So i would not use it for new installations any longer

Debian | endoflife.date

So as soon as you have updated, you will need to run the procedure again from Bullseye to Bookworm.
Therefore i would follow the suggestion of @abcd567 and start from scratch with a new SD card using the latest updates of your used applications. That will avoid conflicts

Eh thats not exactly true bullseye will continue to get updates through 2026, so I would rather go with bullseye for now and upgrade to bookwork when needed. I do not need to be on the latest release.

Yeah, I was just wanting to upgrade to bullseye, wasn’t really wanting to do bookworm. I have lots of feeders and installing fresh would be a pain imho since I would have to copy all the keys etc and figure out what all is working currently. just wasn’t sure how to update flightaware repo piece thats the only one that I see that is not updating correctly.

What is the output of following command?

sudo nano /etc/apt/sources.list.d/flightaware-apt-repository.list  

Does the output contain word “buster” or “bullseye”?

If it is buster, change it to bullseye.
Save file then run following command:

sudo apt update 

 

2 Likes

You are referring to the long-term support, not the regular support

Debian version history - Wikipedia

What prevents you from using a newer, well tested version? Bookworm wasn’t released just yesterday, so it can be used in production already.

Understand, as long as I am still getting security updates why would I care? I know some like to be on the latest and greatest but for me I rather stay with the devil that I know. I am not planning on running any additional software, unit runs just fine, I am only interested in getting security updates so LTS works just fine for me…heck if they continued to support buster with security patches I would continue to run it, if it works why change again as long as I am getting security patches for my OS. Thats just me, everyone has to decide how they want to do things…:slight_smile:

3 Likes

I think that is it this is the output list for my sources.list.d, I assume I would need to update all of these with bullseye:
$ ls -l /etc/apt/sources.list.d/
total 20
-rw-r–r-- 1 root root 60 Feb 17 2019 opensky.list
-rw-r–r-- 1 root root 70 Mar 11 2021 piaware-buster.list
-rw-r–r-- 1 root root 193 Mar 14 2021 raspi.list
-rw-r–r-- 1 root root 38 May 25 2021 rb24.list

only if they have references to buster in the files. Otherwise you can leave it as it is.

But it also depends if the provider offers his packages in specific folders. For some “buster” still works for bullseye as well.