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

Open shell to your PVE host and run this command manually: apt-get update


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox

I am guessing I have a network or DNS issue.

Code:
root@proxmox:~# apt-get update
Err:1 https://enterprise.proxmox.com/debian/pve bullseye InRelease                                                     
  401  Unauthorized [IP: 2607:5300:203:7dc2::162 443]
Err:2 http://deb.debian.org/debian bullseye InRelease                                                                   
  Could not connect to debian.map.fastlydns.net:80 (2a04:4e42:7b::644). - connect (113: No route to host) Could not connect to debian.map.fastlydns.net:80 (146.75.46.132), connection timed out Unable to connect to deb.debian.org:http:
Err:3 http://deb.debian.org/debian bullseye-updates InRelease                                                           
  Unable to connect to deb.debian.org:http:
Hit:4 http://security.debian.org/debian-security bullseye-security InRelease   
Err:5 http://download.proxmox.com/debian/pve bullseye InRelease               
  Could not connect to download.proxmox.com:80 (2607:5300:203:7dc2::162). - connect (113: No route to host) Could not connect to download.proxmox.com:80 (144.217.225.162), connection timed out
Reading package lists... Done                           
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease  401  Unauthorized [IP: 2607:5300:203:7dc2::162 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
 
OK -- I found the issue -- I think.

The GATEWAY was wrong in the
Code:
/etc/network/interfaces
file. Changed and rebooted -- now DEBIAN updates are wporking.

Now just getting an error about this:

Code:
root@proxmox:~# apt-get update
Hit:1 http://deb.debian.org/debian bullseye InRelease                               
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]             
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease       
Get:4 http://download.proxmox.com/debian/pve bullseye InRelease [2,661 B]           
Err:5 https://enterprise.proxmox.com/debian/pve bullseye InRelease                 
  401  Unauthorized [IP: 144.217.225.162 443]
Reading package lists... Done                             
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


This was done as part of the install instructions:

Code:
rm /etc/apt/sources.list.d/pve-install-repo.list
 
@bbgeek17

OK. I think I found all instances of repositories -- and commented them out. NO more errors.

Now my question. If I have no subscription, and there is an update to DEBIAN -- appears I will no have issues. What happens if there is an update to PROXMOX ??