Dist-upgrade from debian 5 to 6

h2d

Verified User
Joined
Aug 11, 2006
Messages
103
Hi,

Has anyone here done a dist upgrade of there debian 5 server to debian 6

Upgraded license.

Recompiled binaries and got a working debian 6 install up successfully?



Cheers
 
I just tested Debian 5 to Debian 6 dist upgrade on server with DirectAdmin installed. Upgrade was done on two boxes and I did not encountered any issues. Both servers rebooted without problems. However make sure you have your backups ready! In case something fails and server doesn't boot you will most likely end up with OS reload and you will have to restore data from backups! So make sure you have fresh backups.

Here are steps I did:

- step 1: setup new soruces.list in /etc/apt/sources.list

Code:
# main repo
deb http://ftp.debian.org/debian/ squeeze main
deb-src http://ftp.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

# contrib & non-free repos
#deb http://ftp.debian.org/debian/ squeeze contrib non-free
#deb-src http://ftp.debian.org/debian/ squeeze contrib non-free
#deb http://security.debian.org/debian/ squeeze/updates contrib non-free
#deb-src http://security.debian.org/debian/ squeeze/updates contrib non-free

- step 2 (use screen in case you get disconnected): run commands

apt-get update;
apt-get install apt dpkg aptitude;
apt-get dist-upgrade

Interactive action is required during this process, default values should work without any issues (they worked for me)

- step 3: reboot

- step 4: rebuild all with /usr/local/directadmin/custombuild/build all d (in my case there was no need for this step, everything worked fine without rebuilding)

- step 5: make sure to change OS in DA licence from Debian 5 to Debian 6


Guide URL http://www.nmservers.com/directadmin-debian5-to-debian6-live-upgrade/
 
Last edited:
Back
Top