1.不进行这一步,会遇到认证失败的情况,无法更新
vi /etc/apt/sources.list.d/pve-enterprise.list
deb http://download.proxmox.wiki/debian/pve buster pve-no-subscription
2.更改国内源
vi /etc/apt/sources.list
#注释掉原来的内容即可,没必要删掉。把下面内容写进去。
deb http://mirrors.163.com/debian buster main contrib
deb http://mirrors.163.com/debian buster-updates main contrib
# security updates
deb http://mirrors.163.com/debian-security/ buster/updates main contrib
3.最后执行更新
apt update
apt dist-upgrade #如需升级pve,则执行该命令