Problems install proxmox debian 11

Igor10

New Member
Mar 16, 2022
2
0
1
28
Hi,

I'm installing proxmox on debian 11, but I have the following error:

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.

I ran the following commands according to the website: https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye

echo "deb [arch=amd64] http://download.proxmox.com/debian/pve bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
apt update && apt full-upgrade

Regards,
 
You have to remove the enterprise repository from the apt sources.
As you can see, you are still using the enterprise repo, which requires a subscription.
 
I think the question is to "how to set a subscription key" before installing PVE on Debian? The Wiki article only describes the method using the non-subscription repository.
Yes, that's exactly the question. How can i solve this problem? Would it be the way Matthias reported?
 
The recommended way to install is by first installing the no-subscription version, and then following the instructions to set a subscription key.
If you want to directly install the Enterprise repository, you need to use the installer.