问题:使用 Proxmox VE 默认的 APT 更新源,在 WEB 管理面板 更新 点击 刷新 后,会显示错误:

TASK ERROR: command 'apt-get update' failed: exit code 100

使用方法:
(1) 备份原来的 sources.list

cp /etc/apt/sources.list /etc/apt/sources.list.bak

(2) 用下面的官方非订阅源替换掉 sources.list 的内容

非官方源:

deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

# security updates
deb http://security.debian.org buster/updates main contrib

(3) 注释 /etc/apt/sources.list.d/pve-enterprise.list 中源地址

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

(4) 执行更新

apt-get update