Fixing apt update/upgrade on Proxmox (without subscription)

This is an extremely trivial guide – but when installing Proxmox for the first time I would have needed a guide like it.

As default, Proxmox is set to update against their paid enterprise repositories – but without a subscription you have no access to them. So what you have to do is remove the enterprise repository and add the free equivalent. You do this by first deleting the following file.

rm /etc/apt/sources.list.d/pve-enterprise.list
Code language: PHP (php)

Then we add “deb buster pve-no-subscription” to the file /etc/apt/sources.list.

nano /etc/apt/sources.list
Code language: PHP (php)
deb buster main contrib deb buster-updates main contrib # Add the line below! deb buster pve-no-subscription # security updates deb buster/updates main contrib
Code language: PHP (php)

You should now be able to update your server and begin your virtualization adventure.