Updating Proxmox 2.3 underlying Debian (6/squeeze) operating system

magicfab

Well-Known Member
Carefully read this until the end - this OS / Proxmox update procedure will probably make the web GUI unavailable

I was recently assigned to work on an older Proxmox VE system still running version 2.3, without much maintenance for the past 3y (it still runs great BTW!).

This meant updating the underlying Debian 6 (Squeeze), which has now unfortunately gone out of support, among other things.

I used the information from the official Debian documentation.

First I changed /etc/apt/sources.list as follows (old information was commented):
Code:
deb http://archive.debian.org/debian squeeze main contrib
deb http://archive.debian.org/debian squeeze-lts main

#deb http://ftp.ca.debian.org/debian squeeze main contrib

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

# security updates
#deb http://security.debian.org/ squeeze/updates main contrib

I also needed to add the following in /etc/apt/apt.conf (create this file if it doesn't already exist):
Code:
Acquire::Check-Valid-Until false;

Then, as usual:
Code:
$ sudo apt-get update && sudo apt-get dist-upgrade

The Proxmox VE repository is still available and I noticed there were updates from there too. In the end I verified the resulting Debian and PVE versions:
Code:
# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 6.0.10 (squeeze)
Release:        6.0.10
Codename:       squeeze

# pveversion
pve-manager/2.3/7946f1f1

A reboot was also necessary as a new kernel was part of the update, and the Proxmox GUI web interface stopped working, although all VMs remained available and working as usual.
 
the web interface should not break, try:

> apt-get update
> apt-get install proxmox-ve-2.6.32
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!