[SOLVED] TASK ERROR: command 'apt-get update' failed: exit code 100

tobywhiting10

Member
Jan 15, 2022
14
0
6
UK
tobywhiting10.com
Hi, I've seen a few threads (like this, and this) talking about a similar issue but I still cannot quite get it fixed. So sorry if I'm repeating something here.

I am constantly getting "apt-get update" error messages accumulate overtime whenever I log in (see image)
1649429064002.png

Other threads have talked about it being an out-of-date version that is now discontinued. As well as an expired SSL certificate issue.
I am running version 7.1-7
Code:
root@pve:~# pveversion
pve-manager/7.1-7/df5740ad (running kernel: 5.13.19-2-pve)

when I try and run "sudo apt-get update" manually it gives a SSL error (presumably).
Code:
root@pve:~# sudo apt-get update
Hit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://ftp.uk.debian.org/debian bullseye InRelease                          
Hit:3 http://download.proxmox.com/debian/ceph-pacific bullseye InRelease          
Get:4 http://ftp.uk.debian.org/debian bullseye-updates InRelease [39.4 kB]
Err:5 https://enterprise.proxmox.com/debian/pve bullseye InRelease              
  401  Unauthorized [IP: 51.91.38.34 443]
Reading package lists... Done                      
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease  401  Unauthorized [IP: 51.91.38.34 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.

I have checked and I'm able to reach the Internet; can successfully ping google.com as we as 8.8.8.8

Can anyone help me point in the right direction? While I have been using proxmox for a while now I am still I'm not that familiar with in-depth Linux systems so help would be appreciated.:)

Many thanks!

Message #general
 
Last edited:
That fixed it and it's working now

for any future readers of this thread:

I had to run command:
Code:
sudo nano /etc/apt/sources.list.d/pve-enterprise.list
as directed in this document. in order to comment out the enterprise repository deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
Saving the file and running sudo apt-get update solved the problems.
 
To get updates for PVE without a subscription, you should also setup the no-subscription repo; see the link bbgeek17 provided.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!