Steps to be performed to upgrade from Lenny (amd64) to Squeeze. I don't explain why a certain step is done - read the manual found at step one. You should know what you're doing!
preperations
tar czf ~/lenny-bkup.tgz /etc /var/lib/dpkg /var/lib/apt/extended_states \ /var/lib/aptitude/pkgstates dpkg --get-selections "*" > ~/dpkg-selections.lenny
apt-get purge splashy
# read http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html # to see why we do the following and what results these commands should give! dpkg --audit dpkg -l | pager aptitude search "~ahold" dpkg --get-selections | grep hold
apt-get update
apt-get upgrade
apt-get install linux-image-2.6-flavor # if you get an error message saying "W: Possible missing firmware ..." # you will need the nonfree firmware packages: apt-get install firmware-linux-nonfree update-grub apt-get install udev
apt-get dist-upgrade
upgrade-from-grub-legacy
Done …
Resoving problems with insserv
if you encounter problems with insserv and have to resolv them manually you can initiate the change with dpkg-reconfigure sysv-rc