Proxmox VE 升级到版本8.0

Proxmox VE 升级到版本8.0

https://blog.51cto.com/sery/6537245

更换apt源

sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
sed -i -e 's/bullseye/bookworm/g' /etc/apt/sources.list.d/pve-install-repo.list

/etc/apt/source.list 完整内容:

deb https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free

/etc/apt/source.list.d/pve-no-sub.list完整内容:

deb http://mirrors.ustc.edu.cn/proxmox/debian/pve bookworm pve-no-subscription

执行更新与升级

apt update

# 如果出现“Failed to fetch ******** 401 Unauthorized”这个错误;
# 执行:echo "#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise" > /etc/apt/sources.list.d/pve-enterprise.list

# 升级
apt dist-upgrade

动清理本次升级更新产生的临时文件

apt autoremove

版权所有,转载请注明出处 luowei.github.io.