As Citrix XenServer 6.0.2 does not offer template for Debian Wheezy we have to install it in two steps.

First install Debian Squeeze as usual.

Second step is to upgrade Squeeze to Wheezy. Here are the sub-steps:

As it is a new install you do not have to update your system but for sure you can type the following commands:

apt-get update
apt-get upgrade
apt-get dist-upgrade

Also check that there are no packages are on hold or in any half installed state:

dpkg --audit 
dpkg --get-selections | grep hold

Now update /etc/apt/sources.list to the following:

# deb http://ftp.hu.debian.org/debian/ wheezy main

deb http://ftp.hu.debian.org/debian/ wheezy main
deb-src http://ftp.hu.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://ftp.hu.debian.org/debian/ wheezy-updates main
deb-src http://ftp.hu.debian.org/debian/ wheezy-updates main

After this type:

apt-get update

Then perform the upgrade. It is recommended to use a two stage upgrade approach.

apt-get upgrade
apt-get dist-upgrade

When it is ready reboot twice. After the first reboot I have found that all filesystems are read only due to an unknown error. After rebooting again everything was ok.

Enjoy your Debian Wheezy.

Links:

Debian: http://www.debian.org/
Debian Wheezy Release Notes: http://www.debian.org/releases/wheezy/amd64/release-notes/

Leave a comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.