Proxmox VE 6.1 配置源及关闭订阅提醒

关闭企业版更新源

mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.bak

更新debian国内加速及pve非订阅版更新源

cp /etc/apt/sources.list /etc/apt/sources.list.bak
nano /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

# debian aliyun source
deb https://mirrors.aliyun.com/debian buster main contrib non-free
deb https://mirrors.aliyun.com/debian buster-updates main contrib non-free
deb https://mirrors.aliyun.com/debian-security buster/updates main contrib non-free

# proxmox source
# deb http://mirrors.ustc.edu.cn/proxmox/debian/pve buster pve-no-subscription
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

关闭订阅提醒

sed -i_orig "s/data.status !== 'Active'/false/g" /usr/share/pve-manager/js/pvemanagerlib.js

更新命令

apt-get update 
apt-get dist-upgrade

注意一定要加 dist-upgrade

原文链接 https://www.ywlib.com/archives/150.html

点赞

发表评论

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