Upgrade Proxmox PVE 6 auf PVE 7

OS Installation, Konfiguration etc.
Antworten
Benutzeravatar
h3rb3rn
Administrator
Beiträge: 180
Registriert: vor 7 Jahre

Upgrade Proxmox PVE 6 auf PVE 7

Beitrag von h3rb3rn » vor 2 Wochen

Debian 10 (Buster) Grundsystem aktualisieren

Code: Alles auswählen

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

Code: Alles auswählen

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: Alles auswählen

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

Code: Alles auswählen

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

Code: Alles auswählen

reboot


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

Code: Alles auswählen

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/

Link:
BBcode:
HTML:
Hide post links
Show post links

Antworten