新增PVE官方源

编辑 /etc/apt/sources.list

vim /etc/apt/sources.list

对于白嫖用户,在文件底部增加

#proxmox.com提供的PVE pve-no-subscription储存库,
#不建议用于生产环境
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

对于Proxmox VE Enterprise用户

deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise

顺便把debian的源也换一下吧

/etc/apt/sources.list 完整配置

#deb http://ftp.debian.org/debian buster main contrib

#deb http://ftp.debian.org/debian buster-updates main contrib

# security updates
#deb http://security.debian.org buster/updates main contrib


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

# 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

执行更新

apt update && apt dist-upgrade

然后重启你的pve宿主机

reboot

参考资料

https://dannyda.com/2020/05/12/how-to-upgrade-from-proxmox-6-1-to-proxmox-6-2/

分类: Linux

0 条评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据