aptitude update; aptitude dist-upgrade
Back up the contents of /home, /etc, /var/lib/dpkg, /var/lib/aptitude/pkgstates and the output of dpkg –get-selections “*” (the quotes are important).
Edit /etc/apt/sources.list:
deb http://ftp.uk.debian.org/debian/ lenny main deb-src http://ftp.uk.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main contrib deb-src http://security.debian.org/ lenny/updates main contrib
# kopt=root=/dev/hda6 ro
to
# kopt=root=LABEL=rootfilesys ro
/dev/hda6 / ext3 defaults,errors=remount-ro 0 1
to
LABEL=rootfilesys / ext3 defaults,errors=remount-ro 0 1
The change that matters here is the first column, you don't need to modify the other columns of this line.
Everything that follows should be from a local terminal as root:
Record the session:
script -t 2>~/upgrade-lenny.time -a ~/upgrade-lenny.script
Issue the following in sequence:
aptitude update aptitude install aptitude aptitude search "?false" aptitude upgrade aptitude install libfam0 aptitude dist-upgrade