Proxmox 3.1 package/ updates manager

Proxmox 3.1 package/ updates manager

Get Social!

proxmox logo gradProxmox version 3.1 made a huge change to the way updates are managed. Prior to version 3.1, updates for the PVE software were managed from two main repositories – test and production – both of which were free and available. Generally the production repositories were used to ensure a stable and secure Proxmox host. These two repositories have now changed to the following:

Please note, this also works for version 4.x.

None subscription repository

This repository remains free, and all the code is still under AGPL v3. I believe this repository is similar to what the test repository used to be – containing test and potentially buggy packages. There is also the standard Debian repository for all other, non-Proxmox, updates. As these packages are potentially unstable, it is not recommended to use this repository for a production server.

Proxmox Version 3.x

Proxmox version 3.x is based on Debian Wheezy.

deb http://ftp.uk.debian.org/debian wheezy main contrib
deb http://download.proxmox.com/debian wheezy pve-no-subscription
Proxmox Version 4.x

If you run version 4.x of Proxmox, based on Debian Jessie then you’ll need to adjust the URL slightly as below:

deb http://ftp.uk.debian.org/debian jessie main contrib
deb http://download.proxmox.com/debian jessie pve-no-subscription

Enterprise repository

This repository requires a subscription license key to be added to Proxmox before you can access it. These packages are stable and are recommended for any production Proxmox server after version 3.1.

If you do not have a valid subscription, you will need to remove this repository otherwise apt-get will never complete it’s update. Without a valid subscription, you will see errors such as “You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.

Proxmox valid subscription error

Proxmox valid subscription error teminal

To remove the repository, open the source list file in the apt-get sources folder

vi /etc/apt/sources.list.d/pve-enterprise.list

And comment out the line with a # as below.

#deb https://enterprise.proxmox.com/debian wheezy pve-enterprise

All updates will now come from the none subscription repository which are publicly available. Unfortunately, each time you click the Refresh button on the Updates tab you will receive the above message. You will also receive this message when you login to the web GUI.

What about the old updates repository?

The original updates repository should be removed once you have upgraded to Proxmox 3.1. No future updates will be available in this repository.

Edit the sources list and comment out the old repository:

vi /etc/apt/sources.list

If you used the test repository, you will need to comment that out too.

# PVE packages provided by proxmox.com
#deb http://download.proxmox.com/debian wheezy pve

How to remove the “No Valid Subscription” message

Each time you log into Proxmox 3.1 a dialogue box pops up reminding you that you have not purchased a valid subscription. One way to remove the message is to purchase a subscription from the Proxmox team. Another method is to make a slight change to the code to remove the dialogue box from appearing.

See my post on how to change the code to remove the dialogue box.


7 Comments

Rob Pomeroy

27-Aug-2013 at 12:56 pm

Thanks for that – very helpful.  Just getting to grips with Proxmox for the first time and this seems to be an undocumented “feature”.

    james.coyle

    29-Aug-2013 at 12:39 am

    Good luck – it’s pretty powerful stuff! ”Feature” indeed! ;)

Kevin

20-Feb-2014 at 1:59 pm

Stop using proxmox in production mode. Is not stable, is not good !!! There are a lot of greate software like oVirt , openstack, cloudstack, etc.

Proxmox is a week solution and it`s NOT free !!! It`s free only for “playing”.

Jeff Moss

9-May-2016 at 7:24 pm

Yes, that helped a lot and worked fine in helping me upgrade proxmox 4.1 to 4.2, in place with apt.
I run Jessie so I had to replace the wheezy references but other than that it all worked. New interface is an improvement on 4.1.

    james.coyle

    9-May-2016 at 9:23 pm

    Excellent news!

Raymond

14-Jul-2016 at 10:06 am

Your Proxmox v4 repository URLs should read jessie, not jessy. Pretty easy to work out but thought I’d point out the error.

Thanks for the article.

    james.coyle

    14-Jul-2016 at 10:09 am

    Good spot! Thanks.

Leave a Reply

Visit our advertisers

Quick Poll

Do you use GlusterFS in your workplace?

Visit our advertisers