Skip to content

How to Update Proxmox VE When “You Do Not Have A Valid Subscription”

If you have recently dove into the Proxmox VE world, your mind is probably blowing chunks.  Proxmox gives you the unmatched ability to run hypervisor-like Virtual Machines, as well as containers, side by side with High Availability.  It’s an amazing virtualization platform and if you haven’t tried it out yet I highly recommend you do so.  After installing Proxmox 4.2 on one of my lab servers, I found the need to update it and I wasn’t about to pay for an Enterprise Subscription for my home lab.

proxmox-1

How to update Proxmox when “You do not have a valid subscription for this server, please visit www.proxmox.com to get a list of available options” and keep you Proxmox server updated!”

There are a few steps involved and they go something like this:

  1. Disable the enterprise repository that is configured by default
  2. Add the no-subscription repository
  3. Update apt so it knows what can be updated
  4. Use apt to upgrade any packages
  5. Upgrade the entire distribution, using apt, of course

First, lets disable the enterprise repository.  You can’t run apt-get update by default without a subscription, you will get an error.  So, lets comment out that repo so it isn’t checked.  Go ahead and putty / ssh / console into your Proxmox server, and run the following command:


sed -i.bak 's|deb https://enterprise.proxmox.com/debian jessie pve-enterprise|\# deb https://enterprise.proxmox.com/debian jessie pve-enterprise|' /etc/apt/sources.list.d/pve-enterprise.list

proxmox-2

 

Now, we need to add the no-subscription repo to /etc/apt/sources.list.d/pve-no-sub.list


#  echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-no-sub.list

If you want to know more about the repo we just added, head on over to https://pve.proxmox.com/wiki/Package_repositories

 

proxmox-3

 

Now, it’s just a matter of running apt-get update and apt-get upgrade, list like you would on any Debian based Linux distribution.  So, first run an update.


#  apt-get update

 

 

proxmox-4

 

After that finishes, you <strong>shouldn’t get any errors</strong> such as unable to download.  Now we will run <strong>apt-get upgrade</strong> to upgrade all packages.


#  apt-get upgrade

Select “Y” and hit enter, then it will start download and installing all package updates available.

 

proxmox-5

 

Once the upgrade is complete, go ahead and reboot your Proxmox VE server.


#  shutdown -r now

 

proxmox-6

 

All done!  Your Proxmox server is now up-to-date and in the future, you can just run apt-get update & apt-get upgrade to make sure all of your packages are current.  If you have any questions, feel free to ask in the comments below.  Thanks and have a great day!