朋友买了个新服务器安装了Proxmox
需要更换镜像源 本教程将教给大家如何换源
打开目录 /etc/apt/sources.list 你会看见下面的内容
deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib
# security updates
deb http://security.debian.org bookworm-security main contrib
将它更改为 中科大镜像站 的镜像源
deb https://mirrors.ustc.edu.cn/debian buster main contrib
deb https://mirrors.ustc.edu.cn/debian buster-updates main contrib
# security updates
deb https://mirrors.ustc.edu.cn/debian-security buster/updates main contrib
然后保存
接着打开 /etc/apt/sources.list.d/pve-enterprise.list
直接 打 # 保存
## deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
输入以下命令更新
apt update