Installing Proxmox VE v1.9 post Lenny retirement

From Proxmox VE
Jump to: navigation, search


On Dec 6th, 2011, Debian Lenny users were given notice of impending retirement of the distribution. Promptly, on Feb 6th, 2012, the Lenny distribution was moved to from the hitherto location at Lenny does not directly support Hard Drives exceeding 2TB. It however supports Logical Volumes bigger than 2TB as can be seen in Extending Local Container Storage

March 24th, 2012 saw the last Point Release of Lenny - Debian v5.0.10.

Generic equivalents for the /etc/apt/sources.list file

deb lenny main non-free contrib
deb-src lenny main non-free contrib
# Security:
deb lenny/updates main contrib non-free
deb-src lenny/updates main contrib non-free
# Volatile:
deb lenny/volatile main contrib non-free
deb-src lenny/volatile main contrib non-free
# Backports:
deb lenny-backports main contrib non-free

Fresh Installs of Proxmox VE v1.9

A plain vanilla install of Proxmox VE v1.9 will need to be updated only after the above changes have been done to the /etc/apt/sources.list file to reflect the new location of the lenny repository

Debian Appliance Builder is still available for Proxmox VE v1.9 and can be installed only after the above changes have been done.

A pre-modified version of the sources.list file is available here in zipped form and can be used to overwrite the existing one - /etc/apt/sources.list.

A listing of the sources.list file after modification is:

# File modified to reflect lenny retirement to archive
# For use on and after Feb 6th, 2012 - Ap.Muthu

deb lenny main contrib

# PVE packages provided by
deb lenny pve

# security updates
deb lenny/updates main contrib

Update and install useful packages

apt-get update
apt-get dist-upgrade
apt-get install zip unzip bzip2 screen dab

The kernel will have been upgraded as well. Hence reboot the machine now. Upload the Wheezy capable DAB perl module overwriting the existing one at /usr/share/perl5/PVE.

Remove old kernels

Remove all old kernels in one command on Proxmox systems with:

apt-get remove $(dpkg -l|egrep '^ii  pve-kernel-'|awk '{print $2}'|grep -v `uname -r | cut -d- -f1,2`)

Potential Use Cases

  • Awaiting DAB for ProxmoxVE 2.0 - for appliance creation
  • Proxmox VE v1.9 servers being used exclusively in trusted intranets and properly firewall-ed
  • Mock testing of upgrade from v1.9 to 2.0 before risking the process on production servers (thanks alain)
  • OpenVZ appliances that need the old sauce (conf files and lenny host specifics) till new ones are available for ProxmoxVE 2.0.
  • Use till the too many hacks done to the good ole php based pve-manager get integrated into the new django based one.


Ordinarily, nobody should be doing new installs of Proxmox 1.9, it is end of life. Any new/old servers are just sitting around waiting for some security bug/flaw/hack to appear in postfix/apache2/etc, point releases notwithstanding owing to it's delayed appearance on the archive repos.

Updating to squeeze is recommended.

The upgrade script 'pve-upgrade-1.9-to-2.0' does not handle correctly the archive repository path. You will see errors like this :

Err squeeze/updates/main Packages

 404 Not Found [IP: 80]

The script replaces 'archive' by 'ftp' wich gives :

deb squeeze main contrib

But the correct path is something like that (added here .fr) :

deb squeeze main contrib

You must fix the path manually (also for security updates) in /etc/apt/sources.list, and execute again the script.

ProxmoxVE v2.0 now (circa April 12th, 2012) has it's very own DAB - dab v1.2-1 - Debian Appliance Builder