Debian Sarge > Sarge to Etch Upgrade
Upgrading Debian GNU/Linux from Sarge (3.1) to Etch (4.0)
This page is not intended to repeat the release notes, but provides additional notes about goodies that are new in etch but not automatically installed on an upgrade. Nathanael Nerode started a discussion about stuff done by the Etch installer which might be of interest to users upgrading from sarge.
- Aptitude pain: Sometimes aptitude gets into a state where it wants to do a lot of things you don't want. If this happens when doing the checking status steps before upgrading then a quick soloution is to purge and reinstall aptitude. (keep-all would achive a similar thing but its not supported by sarge's apritude)
Filesystem tuning: The etch installer turns on dir_index and filetype on ext2/ext3 filesystems. This needs to be done manually with tune2fs to set the desired flags. Erich Schubert described how to turn on dir_index on his blog; but note that according to Ted Tso (ext2/ext3 developer), it is perfectly safe to do that on a mounted filesystem as well.
inetd: default for etch is openbsd-inetd.
- udev: If you have gnome installed in Sarge with kernel 2.6.8 you have most probably udev running.
/proc and /sys are not needed in /etc/fstab anymore (but keeping them is not really harmful.) (madduck: I just installed etch and it still had proc in there; no sys though)
- (Note: initramfs-tools init mounts them before handing over to real root, needs to be doublechecked in yaird produced init, also this is not really an upgrade issue, so should be removed. -maks)
Remove obsolete packages: package that were removed from Etch aren't automatically removed from your system. see http://www.debian.org/releases/etch/i386/release-notes/ch-upgrading.en.html.
- Etch uses xorg as the default X server, which means that kernels that were built with the i810 graphics driver must now be built with the i915 driver.
- The defaults in /etc/default/rcS have changed, but are never updated automatically.
- The default setup of etc/network/interfaces has changed; this is also not updated automatically. Changing to the new setup is better than the old for some hardware and worse for others, but will have no effect on most. See bug #403706.
- The nature of /etc/network/run (directory, symlink to /etc/network, symlink to /dev/shm/network) varies depending on the age of the original installation. All of these implementations should become obsolete with the next release of Debian, and hopefully all will be converted properly at that time to the new standard.
(Note: the NewInEtch page might also be interesting)
For an update list of recommended upgrade steps please see Sarge2EtchUpgradeBlackboard
For a tutorial using the upgrade steps previously documented in the Release Notes see Debian Sarge to Etch Upgrade Tutorial
Xorg69To7 Switching from XFree86 to X.Org.