How to update Proxmox?

One of the first question I had with Proxmox is – how do I update?

I have a connection to the internet, I enter

apt-get update

in the shell of my Proxmox host, but all I get is bunch of errors

Ok, first of all – this would work if you have Proxmox subscription.

However, people at Proxmox are kind enough and let also those without subscription to update. There is just few thing we need to do, and it will work.

For the purpose of this guide, I’m doing this at Proxmox 6.2-4 (as you can see above), and current version of Proxmox is 6.3-1.

So, lets see if we can update.

Here you will find official info from Proxmox about updating

PLEASE CHECK THE LINK BELOW OFTEN TO SEE ACTUAL REPO VERSION!!

https://pve.proxmox.com/wiki/Package_Repositories

Why is that important – Proxmox is based on Debian – latest version of Debian (as of June 2023) is codenamed – bookworm – so, you would need to change “buster” depicted on the screenshots bellow with “bookworm” which is current release. Please have that in mind and check the link above often. This article was written when Proxmox was in version 6, now it is in version 8.

In order to be able to update our installation, we have to edit

/etc/apt/sources.list file.

nano /etc/apt/sources.list

This is how sources.list looks by default

We will add following to the file

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

So, this is sources.list after update with links above

Save the file and exit

Ok, lets now try to update again

apt-get update

At first, looks like nothing is changed…

You will get errors because we also left subscription repos intact – in case you decide to buy subscription in the future.

Lets try now with another command (we should get 6.3 upgrade)

apt dist-upgrade

Ok, something is happening. We will confirm with “y” and continue…

Looks like download is working…

Ok, we are done

Lets reboot

We succeeded – update is done, we now have Proxmox VE 6.3-3

Disclaimer