PVE 6.0 升級到最新
阿新 • • 發佈:2020-12-01
轉載自https://www.pkbill.com/3731/
刪除企業源
rm -rf /etc/apt/sources.list.d/pve-enterprise.list
新增社群源
echo "deb http://download.proxmox.wiki/debian/pve stretch pve-no-subscription" >/etc/apt/sources.list.d/pve-install-repo.list
使用國內debian源及非訂閱使用者遮蔽企業源
開啟/etc/apt/sources.list
替換如下
deb http://ftp.debian.org/debian buster main contrib deb http://ftp.debian.org/debian buster-updates main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve buster pve-no-subscription # security updates deb http://security.debian.org/debian-security buster/updates main contrib #aliyun deb http://mirrors.aliyun.com/debian/ buster main non-free contrib deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib deb http://mirrors.aliyun.com/debian-security buster/updates main deb-src http://mirrors.aliyun.com/debian-security buster/updates main deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib
執行更新升級命令
apt update&&apt dist-upgrade```
大概會下載700M的更新包,根據提示操作即可。更新完後
```reboot```