Gnome Logo

Downgrading to Debian Woody

Debian Logo

Assuming that only Official Woody and this backport are installed, downgrading to Official Debian Woody is not difficult, and is the surest way of being able to upgrade to Official Debian Sarge later. Be sure to read the follwoing carefully, and follow all of the steps below, unless otherwise noted.

1. Make a complete system backup, or at the very least backup your user accounts
How you perform this step is up to you, but is HIGHLY RECOMMENDED.

2. Logout of X and stop gdm if it is running
Run this command:

/etc/init.d/gdm stop

3. Remove the gnome2.2 backport
Run these commands:

apt-get remove --purge libglib2.0-0 ttf-bitstream-vera libxml2 libvorbis0 libstartup-notification0 libogg0 libical0 libgnomecanvas2-common gnome-mime-data automake1.7

COLUMNS=200 dpkg -l|grep jds|awk '{print $2}'| xargs apt-get remove --purge -y

4. Configure apt for the downgrade
Remove the gnome2.2 lines from /etc/apt/sources.list and add to /etc/apt/preferences:

Package: *
Pin: release a=oldstable
Pin-Priority: 1001

Now run:

apt-get update

apt-get -u dist-upgrade

Yes, you must do a 'dist-upgrade' to downgrade.

5. Clean up any orphaned packages
Some libraries may be left on the system that woody packages don't use and should be removed. Run:

apt-get install deborphan

deborphan | xargs dpkg --purge

You may want to run this command several times.

6. Reconfigure X
This may not be strictly required, so you may opt to skip this step. However, if you cannot start X after the downgrade, do:

dpkg-reconfigure -plow xserver-xfree86

If using a different Xserver, substitute it for 'xserver-xfree86'.

7. Reset your user accounts
Gnome 2.2 is very different from Gnome 1.2 (as included in woody) and you will have to remove all of your gnome settings. If you haven't done so already, BACKUP YOUR DATA. To remove all your gnome2.2 settings, do:

rm -rf /home/*/.gnome* /home/*/.gaim /home/*/.galeon /home/*/.gconf* /home/*/.metacity /home/*/.mozilla /home/*/.nautilus /home/*/.themes /home/*/.thumbnails /home/*/evolution

You should be able to import your evolution mail files and mozilla bookmarks from the backup you made in step 1.

8. Optionally remove your apt preferences file

mv /etc/apt/preferences /etc/apt/preferences.woody

9. Reboot
I recommend a reboot to make sure everything starts up properly.

Please issue downgrade problem bug reports for gnome2.2 packages that are the cause of the problem at the gnome22 bug report page.

Home Back to the FAQ