[PVE]解决 ProXmoX VE升级 apt-get update 报错的问题

 ̄綄美尐妖づ 提交于 2019-11-30 08:36:57

原文出自:https://blog.csdn.net/csgd2000/article/details/81059461

vim /etc/apt/sources.list.d/pve-enterprise.list

注释掉

#deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise

也可以直接删除掉

rm -f /etc/apt/sources.list.d/pve-enterprise.list

 

为了更新proxmox 还需要

nano /etc/apt/sources.list

添加内容:

deb http://download.proxmox.com/debian stretch pve-no-subscription

echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg

apt update && apt dist-upgrade

 

官方文档:

https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch

 

之后就可以正常使用

apt update && apt dist-upgrade

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

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!