Note: This article takes pve 7.3.3 as an example.
1. An error occurs when PVE uses apt-get update to update. There are the following solutions:
1). First, make sure that the source you updated is normal.
There are two files that need to be viewed for reference: /etc/apt/sources.list.d/pve-enterprise.list and /etc/apt/sources.list, all system files are recommended to be backed up before modification .
Check whether the source URLs of these two files are accessible. If you are not sure, you can refer to the original address I modified: PVE virtual machine host replacement domestic source and solving the problem of invalid subscription_Starry Skyman Equipment Blog-CSDN Blog here If you don't know the detailed modification steps, you can private message me.
There are sometimes update errors about version issues.
#适用于PVE 6.x
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
#适用于PVE 7.x
deb http://security.debian.org/debian-security bullseye-security main contrib
Just update it at the end.
apt-get update
2). What we need to check is the DNS of the system. We open the system background:
Note: Because I am using China Telecom's broadband, the DNS used here includes Telecom's, and you can operate according to your own broadband timing.