文章

PVE无企业版订阅报错

PVE打开报错:

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

image-20241106120816202

原因是默认的更新源为Proxmox VE企业版的订阅,我们没有购买订阅,就会提示签名错误,从而APT更新失败。解决的办法很简单,就是更换软件源就可以了:

1
rm /etc/apt/sources.list.d/*
1
vim/etc/apt/sources.list

输入下面内容:

1
2
3
4
deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
deb http://security.debian.org/debian-security bullseye-security main contrib

重新apt-get update即可

本文由作者按照 CC BY 4.0 进行授权