My Life Is A House

My daily life with all things Libre and Open

Sunday, October 14, 2007

How to fix broken gconf or how to deal with desktop which shows up borked

It is easy to screw up your Debian/Ubuntu install with self made debs. Well, I did myself and paid a price. Everything started with GnuCash, which, with 2.2 version, has also Windows port, which I suggest all Windows users as personal finansial manager - yes, they lack some features, but if you are in Europe, it fits perfectly.
However, when I wanted to use file in Ubuntu Feisty version of GnuCash, it gave error. I found out that 2.0 and 2.2 has problems with format compatibilities. So I went and built deb package for 2.2.1 version. Unfortunately, it included lot of non-GnuCash files in package, so when I installed it, it overwrote bunch of libraries, including gconf ones.
As long this GnuCash version was on my computer, there where no problems. However, uninstalling it (I got 2.2.1 "official" version of GnuCash trough Feisty Backports) caused my desktop to be b0rked, because gconf has problems with it's libraries and it can't read xml configuration files.
So I rebooted computer, went to console with ALT+CTRL+F1, loged in and issued such command:
sudo apt-get --reinstall install gconf2 libgcon2-4 gconf2-common
And then rebooted computer with command:
reboot
After restart of computer everything should be all right. If you still have problems, that it's not caused by lack of libgconf libraries.

Labels: , , , , ,