Proxmax VE 8 升级和注释

分类:笔记 6浏览

Proxmax VE 8 当前版本升级,如果是要跨版本需要用别的姿势。

一、升级前检查

pveversion -v
uname -a
df -h

二、禁用Enterprise 源

nano /etc/apt/sources.list.d/pve-enterprise.list

注释:

#deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise

三、禁用CEPH Enterprise 源

nano /etc/apt/sources.list.d/ceph.list[/shell]

注释:
[code]# deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise

四、设置免费源

nano /etc/apt/sources.list

添加

deb http://ftp.hk.debian.org/debian bookworm main contrib
deb http://ftp.hk.debian.org/debian bookworm-updates main contrib
deb http://security.debian.org bookworm-security main contrib
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

和设置CEPH免费源

echo "deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription" \
> /etc/apt/sources.list.d/ceph.list

四、尝试更新

apt update

确认不报错并执行

apt dist-upgrade