PVE 9.x 解决报错 'apt-get update' failed
前言
- PVE 默认是企业源,所有没有付费肯定是会失败的,会报错
TASK ERROR: command 'apt-get update' failed: exit code 100 - 9.x 和 8.x 的解决方式不一样,按照网上搜的肯定也会失败
解决
9.x
在这两个文件的最后加上
Enabled: no禁用企业源1
2
3
4
5# 文件 1
nano /etc/apt/sources.list.d/pve-enterprise.sources
# 文件 2
nano /etc/apt/sources.list.d/ceph.sources新建社区源
1
nano /etc/apt/sources.list.d/pve-no-subscription.sources
并写入下列内容
1
2
3
4
5Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg更新并验证
1
apt-get update
8.x
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 七夜 の Blog!
评论





