===== Update Debian from 6.x To Infinity and Beyond ===== ==== Install Debian 1.3 ==== I got the image from: https://cdimage.debian.org/mirror/cdimage/archive/older-contrib/1.3/ Install perl: I can't get works network interfaces with Virt Manager. ==== Update 1.3 to 2.2 ==== Obtain potato from: https://cdimage.debian.org/mirror/cdimage/archive/older-contrib/2.2/ Mount cd and: mount /dev/hdb /mnt cd /mnt dpkg -i upgrade/apt_0.3.19_i386.deb upgrade/dpkg_1.6.13_i386.deb mkdir /etc/rcS.d I can't get works network interfaces with Virt Manager. So I will need configure /etc/apt/sources.list with only this lines: deb file:///mnt/debian/ potato main Update and upgrade: apt-get update apt-get dist-upgrade -f ==== Update 2.2 to 3.0 ==== Update kernel to 2.2: apt-get install kernel-image-2.2 Obtain woody from: https://cdimage.debian.org/mirror/cdimage/archive/3.0_r6/i386/iso-cd/ Mount cd: mount /dev/hdb /mnt I can't get works network interfaces with Virt Manager. So I will need configure /etc/apt/sources.list with only this lines: deb file:///mnt/debian/ woody main Update and upgrade: apt-get update apt-get dist-upgrade update-modules-force apt-get dist-upgrade apt-get install apache ==== Update 3.0 to 3.1 ==== Obtain sarge from: https://cdimage.debian.org/mirror/cdimage/archive/3.0_r6/i386/iso-cd/ Mount cd: mount /dev/hdb /mnt I can't get works network interfaces with Virt Manager. So I will need configure /etc/apt/sources.list with only this lines: deb file:///mnt/debian/ sarge main Update and upgrade: apt-get update apt-get dist-upgrade ==== Install Debian 3 ==== apt-get install libapache2-mod-php4 php4 mysql ssh ==== Update 3 to 4 ==== Configure /etc/apt/sources.list with only this lines: deb http://archive.debian.org/debian/ etch main Now update: apt-get update apt-get dist-upgrade You must reboot ==== Update 4 to 5 ==== Update Kernel: apt-get install linux-image-2.6.18-6-686 You must reboot Configure /etc/apt/sources.list with only this lines: deb http://archive.debian.org/debian/ lenny main Now update: apt-get update apt-get dist-upgrade You must reboot ==== Update 5 to 6 ==== Configure /etc/apt/sources.list with only this lines: deb http://archive.debian.org/debian/ squeeze main Now update: apt-get update apt-get dist-upgrade You must reboot ==== Update 6.x to 6.10 ==== Configure /etc/apt/sources.list with only this lines: deb http://archive.debian.org/debian/ squeeze contrib main non-free deb http://archive.debian.org/debian/ squeeze-lts contrib main non-free Now update: apt-get -o Acquire::Check-Valid-Until=false update If you have any weird packages, you must resolve manually the problem, fix it, and now: apt-get -o Acquire::Check-Valid-Until=false upgrade If you can reboot. ==== 6.10 to 7.x ==== Configure /etc/apt/sources.list with only this lines: deb http://archive.debian.org/debian/ wheezy contrib main non-free Now update: apt-get update apt-get dist-upgrade You must reboot ==== Resources ==== * https://cdimage.debian.org/mirror/cdimage/archive/ * https://cdimage.debian.org/mirror/cdimage/archive/older-contrib