[PVE] solve ProXmoX VE upgrade apt-get update error problem

From the original: https://blog.csdn.net/csgd2000/article/details/81059461

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

Commented

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

You can also delete directly out

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

 

To update proxmox need

nano /etc/apt/sources.list

Add Content:

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

 

The official document:

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

 

Then you can normally use

apt update && apt dist-upgrade

After the upgrade is complete, you can run the latest software version pveversion -v view the next. Then execute reboot reboot the physical server

 

Guess you like

Origin www.cnblogs.com/vaemaxsky/p/11576072.html