1

To compile a package I went on installing systemd package from Utopic 14.10 with all its dependencies on my [Modified] Ubuntu 12.04. As it's not existing in Systems prior to Trusty 14.04.

Everything went fine until I rebooted my computer the next day. Then I discovered that I am stuck at the login screen. i.e. my password is accepted but something fails later (before any desktop is shown) and I am returned to the login screen.

From an Ubuntu USB stick I performed a $ sudo chroot /mnt after mounting my root partition [+ /boot /home and /boot/efi partition] on /mnt.

I discovered after launching gconf-editor that all schemas are un-readable by Ubuntu 12.04 as they surely have been upgrated to the GNOME Utopic 14.10 version.

$ xhost +
$ for i in /dev /dev/pts /proc /run /sys; do sudo mount -B $i /mnt$i; done
$ sudo cp /etc/resolv.conf /mnt/etc/
$ modprobe efivars
$ sudo chroot /mnt
# export DISPLAY=:0.0
# gconf-editor

All schemas for apps / desktop / system are unreadable and a key icon is displayed.

When double clicking any schema I get a pop-up window saying Currently pairs and schemas can't be edited. This will be changed in a later version.

So my question is : As these schemas were modified by triggering scripts when installing the systemd package, is there anyway I can re-generate valid Precise 12.04 schemas ? Or should I throw away my entire Precise 12.04 system because of these GNOME quirks ?

I did re-install the packages gsettings-desktop-schemas and gnome-settings-daemon however to no avail.

Antonio
  • 1,656

1 Answers1

0

I'm not sure what you're asking, but most everything in GNOME doesn't use gconf any more. They use dconf. Also, yes, you can't edit pairs or schemas in gconf-editor. It will likely never be fixed though, as GNOME has moved away from gconf and over to dconf.

I'm not sure what you mena bout the schemas being unreadable. If you can see the schema in gconf-editor, then it's clearly readable.

If you simply directly force installed packages from 14.10 onto 12.04 though, you likely have a deeper problem than schemas. A whole lot has changed in the last 2.5 years, in both GNOME and Ubuntu.

You broke the system, so really you get to keep both pieces. I have no idea from your question, what is actually broken though, so I can't tell you how to fix it. Upgrading to 14.04 might help.

Looking at ~/.xsession-errors should tell you why the session fails to load after you log in, though.

dobey
  • 41,650