Upgrade old version of Debian

Is it possible to upgrade a Debian 8 (Jessie) to 9, 10, 11 and eventually 12? It is reccomended to upgrade one release at a time. But! 9's repositories are archived. How can I upgrade form 8 to 9?

Thank you in advance!

8 points · 6 comments · view on lemmy.world

6 Comments

xkforce@lemmy.world · 17 pts · 3y (1 reply)

Tbh... Itd probably be easier to back up files and settings and do a clean install of 12. If you try to upgrade in a chain like what you are wanting to do, not only is it going to be very tedious, something is virtually certain to break in a way that will make it much easier to just install from scratch.

9488fcea02a9@sh.itjust.works · 7 pts · 3y

If OP has good backups, they should try to upgrade from 8 directly to 12.... For science

urb5tar@lemmy.world · 5 pts · 3y

It’s maybe possible but pain. I tried once and it lasts hours and hours. It’s easier to install new and migrate your configs.

la_tete_de_melon@sh.itjust.works · 5 pts · 3y (1 reply)

Use the archive?

deb http://archive.debian.org/debian/ stretch main contrib non-free deb http://archive.debian.org/debian/ stretch-proposed-updates main contrib non-free deb http://archive.debian.org/debian-security stretch/updates main contrib non-free

I gotta ask though, why?

Magellan@lemmy.world · 1 pts · 3y

This is the way.

marvin@lemmy.sdf.org · 1 pts · 2y

Yes that's the recommended path.

Information on how to upgrade can be found in the official documentation:

https://www.debian.org/releases/stretch/amd64/release-notes/ch-upgrading.html

https://www.debian.org/releases/buster/amd64/release-notes/ch-upgrading.html

https://www.debian.org/releases/bullseye/amd64/release-notes/ch-upgrading.html

https://www.debian.org/releases/bookworm/amd64/release-notes/ch-upgrading.html

As others pointed out it might be a PITA. Depending on your installed software and configuration a new install might be easier.