Proxmox PVE 7 to 8操作系统更新

执行命令升级到最后一个小版本

apt update && apt upgrade && apt dist-upgrade

执行检查,是否支持升级

pve7to8 --full

删掉其他无关的源

rm /etc/apt/sources.list.d/*

替换 deban12 和 pve8 的无订阅源

vim /etc/apt/sources.list
deb https://mirrors.ustc.edu.cn/debian bookworm main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian bookworm-backports main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bookworm pve-no-subscription

执行升级

apt update && apt dist-upgrade -y 期间可能会有提示,按 Y 回车或者 ok 就行

 

THE END