Getting errors on apt update


New Member
Aug 25, 2023
Hi all,

I just installed Proxmox VE 8 and tried to update the dependencies but I'm getting a 401 errors I don't know how to solve.
I'm following this guide so directly after installation I updated the apt repositories using these commands:
# Remove the enterprise repositories
rm /etc/apt/sources.list.d/pve-enterprise.list

# Add the community repositories
echo '# Proxmox community package repository' >> /etc/apt/sources.list
echo 'deb bookworm pve-no-subscription' >> /etc/apt/sources.list

Then I ran apt clean && apt update and got this result:
Hit:1 bookworm-security InRelease
Hit:2 bookworm InRelease                                            
Hit:3 bookworm-updates InRelease                                    
Get:4 bookworm InRelease [2,768 B]     
Err:5 bookworm InRelease    
  401  Unauthorized [IP: 443]
Get:6 bookworm/pve-no-subscription amd64 Packages [128 kB]
Reading package lists... Done      
E: Failed to fetch  401  Unauthorized [IP: 443]
E: The repository ' bookworm 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.

It looks like an enterprise repository so not sure why it is being queried in the first place as I thought I removed all enterprise repositories with that first command.
Can anybody help me get rid of that error?



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!