Uninstalling Ximian Desktop 2 (XD2)

I recently tried Ximian Desktop 2 (XD2) on my Red Hat Linux 9 system. Although I liked the changes to OpenOffice, I still prefer KDE.

XD2 could coexist with Red Hat Linux 9 and KDE, but I wanted to remove the Ximian RPMs so that I could once again use apt-get and avoid any problems upgrading Red Hat Linux in the future.

Here are the steps I used to uninstall Ximian Desktop 2 (XD2) on my Red Hat Linux 9 system. I am not sure if a recommended method of uninstallation exists, so be warned that this could leave your system in an unusable state.

After removal of the Ximian RPMs, I recommend using apt-rpm to return your system to a usuable state.

1. In one window, execute (note the backticks):

for i in `rpm -qa | grep ximian`
echo $i
rpm -e $i --nodeps

2. rpm may hang with one or more Ximian RPMs. If this happens, execute the following in a second window:

pkill -9 rpm; rm -f /var/lib/rpm/__db.00[123]

3. Once window 1 is finished, check to see if all Ximian RPMs have been removed.

rpm -qa | grep ximian

4. Remove each remaining Ximian RPM with rpm -e Ximian_RPM

5. Run apt-get to install missing dependencies that were removed with the commands above.

apt-get -f upgrade

6. You may have to manually reinstall applications that were removed with the commands above, such as OpenOffice and gaim.

Back to brandonhutchinson.com.
Last modified: 01/22/2004