Debian 11 (Bullseye) Grundsystem aktualisieren
Code: Select all
apt update; apt full-upgrade -y
Code: Select all
echo "deb https://deb.debian.org/debian bookworm main contrib non-free-firmware" > /etc/apt/sources.list;
echo "deb-src https://deb.debian.org/debian bookworm main contrib non-free-firmware" >> /etc/apt/sources.list;
echo " " >> /etc/apt/sources.list;
echo "deb https://deb.debian.org/debian bookworm-updates main contrib non-free-firmware" >> /etc/apt/sources.list;
echo "deb-src https://deb.debian.org/debian bookworm-updates main contrib non-free-firmware" >> /etc/apt/sources.list;
echo " " >> /etc/apt/sources.list;
echo "deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free-firmware" >> /etc/apt/sources.list;
echo "deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free-firmware" >> /etc/apt/sources.list;
echo " " >> /etc/apt/sources.list;
echo "deb http://deb.debian.org/debian bookworm-backports main contrib non-free-firmware" >> /etc/apt/sources.list;
echo "deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free-firmware" >> /etc/apt/sources.list;
apt update;
Code: Select all
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*;
apt update;
Code: Select all
touch '/please-remove-proxmox-ve'
Code: Select all
apt full-upgrade -y;
apt full-upgrade -y;
apt autoremove;
apt autoclean;
Code: Select all
reboot
/bin/sh: 1: /usr/share/proxmox-ve/pve-apt-hook: not found
Fix:
Code: Select all
rm /usr/share/proxmox-ve;
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;
Wenn Dependency Fehler wegen falscher Package Versionen - !!! nur ausführen, wenn kein Ceph im Einsatz ist !!!:
Code: Select all
apt autoremove ceph-common librbd1 python3-ceph-argparse python3-ceph-common python3-cephfs python3-rados librbd1 librados2 libcephfs2
Code: Select all
apt-get install proxmox-ve