原创文章,转载请注明出处
https://qiedd.com/

错误提示

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Err:6 https://enterprise.proxmox.com/debian/pve buster InRelease
401 Unauthorized [IP: 144.217.225.162 443]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease 401 Unauthorized [IP: 144.217.225.162 443]
Err:6 https://enterprise.proxmox.com/debian/pve buster InRelease 401 Unauthorized [IP: 144.217.225.162 443] Reading package lists... Done E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease 401 Unauthorized [IP: 144.217.225.162 443]
Err:6 https://enterprise.proxmox.com/debian/pve buster InRelease                
  401  Unauthorized [IP: 144.217.225.162 443]

Reading package lists... Done

E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease  401  Unauthorized [IP: 144.217.225.162 443]

原因是PVE 6.2 之后默认使用订阅用户的源

因此,将 /etc/apt/sources.list.d/pve-enterprise.list 的内容注释掉即可

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
vim /etc/apt/sources.list.d/pve-enterprise.list
//在前面加个#号注释
#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
vim /etc/apt/sources.list.d/pve-enterprise.list //在前面加个#号注释 #deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
vim /etc/apt/sources.list.d/pve-enterprise.list

//在前面加个#号注释
#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise

其他教程

更新PVE


0 条评论

发表回复

Avatar placeholder

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理