Upgrade Proxmox PVE 6 auf PVE 7

OS Installation, Konfiguration etc.
Post Reply
User avatar
h3rb3rn
Administrator
Posts: 191
Joined: Mon 9. Feb 2015, 23:29

Upgrade Proxmox PVE 6 auf PVE 7

Post by h3rb3rn »

Debian 10 (Buster) Grundsystem aktualisieren

Code: Select all

apt update; apt full-upgrade -y
Repositories anpassen auf Debian 11 (Bullseye)

Code: Select all

echo "deb  https://deb.debian.org/debian bullseye main contrib non-free" > /etc/apt/sources.list;
echo "deb-src  https://deb.debian.org/debian bullseye main contrib non-free" >> /etc/apt/sources.list;
echo " " >> /etc/apt/sources.list;
echo "deb  https://deb.debian.org/debian bullseye-updates main contrib non-free" >> /etc/apt/sources.list;
echo "deb-src  https://deb.debian.org/debian bullseye-updates main contrib non-free" >> /etc/apt/sources.list;
echo " " >> /etc/apt/sources.list;
echo "deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free" >> /etc/apt/sources.list;
echo "deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free" >> /etc/apt/sources.list;
echo " " >> /etc/apt/sources.list;
echo "deb http://deb.debian.org/debian bullseye-backports main contrib non-free" >> /etc/apt/sources.list;
echo "deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free" >> /etc/apt/sources.list;
apt update;
Proxmox Repository auf PVE 7 anpassen

Code: Select all

sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*;
apt update;
Upgrade auf Debian 11 und PVE 7

Code: Select all

apt full-upgrade -y;
apt full-upgrade -y;
apt autoremove;
apt autoclean;
Reboot and Finish

Code: Select all

reboot


Wenn Fehlermeldung
/bin/sh: 1: /usr/share/proxmox-ve/pve-apt-hook: not found
Fix:

Code: Select all

mkdir /usr/share/proxmox-ve;
touch /usr/share/proxmox-ve/pve-apt-hook;
chmod u+x /usr/share/proxmox-ve/pve-apt-hook;
apt install proxmox-ve -y;
Quelle: https://forum.proxmox.com/threads/error ... und.45436/
Post Reply