Skip to main content

[FIX] PVE update failed(Failed to fetch 401 Unauthorized) (TASK ERROR: command ‘apt-get update’ failed: exit code 100)

Update problem

1 Change working directory

cd /etc/apt/sources.list.d

2 Backup the file we will modify

cp pve-enterprise.list pve-enterprise.list.backup

3 Modify the file

nano pve-enterprise.list

4 Add “#” at the beginning of “https://enterprise.proxmox.com/debian/pve%20buster%20pve-enterprise”

5 Now we can try to update again