ProXmoX VE升级 apt-get update 报错

ProXmoX VE升级 apt-get update 报错

ProXmoX VE 升级 apt-get update 报错

解决方法

1vim /etc/apt/sources.list.d/pve-enterprise.list
2#注释掉
3#deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise

添加内容

1echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
2wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg

更新系统

1apt update && apt dist-upgrade

结尾

升级完成后,可以执行pveversion -v查看下最新的软件版本。然后执行reboot重启物理服务器