Upgrade from V7 to V8

ThoMi

New Member
Apr 29, 2024
8
2
3
Dear all,

I'm not really skilled with proxmox, but I want to update my system.

My pve is currently running at V7.4-17 and I want to update to V8. After running pve7to8 I get one failure:

FAIL: Found mixed old and new package repository suites, fix before upgrading! Mismatches:
found suite bullseye at in /etc/apt/sources.list:1
found suite buster at in /etc/apt/sources.list.d/pve-community.list:1
found suite buster at in /etc/apt/sources.list.d/pve-community.list:2
found suite buster at in /etc/apt/sources.list.d/pve-community.list:3
found suite buster at in /etc/apt/sources.list.d/pve-community.list:4
Configure the same base-suite for all Proxmox and Debian provided repos and ask original vendor for any third-party repos.
E.g., for the upgrade to Proxmox VE 8 use the 'bookworm' suite.

How can I fix the problem?

May I exicute
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
and would this solve that?

Many thanks in abvance
Thomas
 
found suite bullseye at in /etc/apt/sources.list:1
found suite buster at in /etc/apt/sources.list.d/pve-community.list:1
found suite buster at in /etc/apt/sources.list.d/pve-community.list:2
found suite buster at in /etc/apt/sources.list.d/pve-community.list:3
found suite buster at in /etc/apt/sources.list.d/pve-community.list:4
The first (bullseye) looks normal for PVE 7.4 (Debian 11, and you will change that to bookworm for Debian 12/PVE 8).
However, you have several other non-standard repositories that are still using buster (Debian 10/PVE 6). Maybe update those software packages first to Debian 11/PVE 7.4 and make sure that the software still works and how to upgrade those to Debian12/PVE 8? Since those don't come with Proxmox, I know nothing about those.
 
Before you do ANYTHING, make a full backup of your system so you can restore if something goes sideways.

If you have never done an in-place upgrade like this before, I would strongly recommend a fresh install to a new disk instead and restore your VMs, etc from backup as you would likely be better off in the long run.

Personally I did a 7-to-8 upgrade in place, but have had to keep booting from an old 5.x kernel to support my 4x 10Gbit ports that are non-replaceable on the motherboard. However I have been running Debian and derivatives for decades, and it's not my first rodeo.

Doing a fresh install and keeping the old disk handy will also give you a way to backout of the upgrade experiment fairly easily just by booting from the original disk.