You are not logged in.
Recently shotwell V0.11.0-1 was released and I just did a normal systems upgrade with sudo pacmatic -Syu, however I get the following error message.
(21/21) checking package integrity
(21/21) checking for file conflicts
error: failed to commit transaction (conflicting files)
shotwell: /usr/share/glib-2.0/schemas/gschemas.compiled exists in filesystem
Errors occurred, no packages were upgraded.How do I solve this? Do I remove the gschemas.compiled file and try upgrading the system again?
EDIT: I am currently running shotwell 0.10.1-2 if that helps.
Last edited by krnekhelesh (2011-08-24 13:05:46)
Offline
do NOT remove gschemas.compiled
it has to be removed from the package NOT from your system
https://bugs.archlinux.org/task/25744
Last edited by wonder (2011-08-24 13:12:43)
Give what you have. To someone, it may be better than you dare to think.
Offline
For those who removed accidentially gschemas.compiled or installed shotwell with pacman -Sf:
Run before restart:
#glib-compile-schemas /usr/share/glib-2.0/schemasOffline
.
Last edited by silent (2013-08-21 08:54:31)
Offline
never ever use -f unless is advertised by a developer in news or forums announcements
Give what you have. To someone, it may be better than you dare to think.
Offline
Hmm I see the bug is now fixed yesterday when I tried to install shotwell I encountered the same error.
https://bbs.archlinux.org/viewtopic.php?id=56373
suggested the command;
Pacman -Qo /usr/share/glib-2.0/schemas/gschemas.compiledWhich revealed the library wasn't owned by any application.
I know Glib is some important part of Gtk but I don't really know what its for.
So I renamed it to
/usr/share/glib-2.0/schemas/gschemas.compiled.oldand ran
Pacman -S shotwellagain which installed without any errors but on reboot, X or prehaps GDM failed to start.
So I renamed the new
/usr/share/glib-2.0/schemas/gschemas.compiledand renamed the .old version back to the original, hey presto it worked.
But was it a sensible thing to do?
Offline
gschemas.compiled is very important. by doing that you lost all references for gsettings schemas available in your system and applications that relies on it fail to start, like you obvious noticed.
now by renaming the old cache, you lost references for schemas that are in shotwell.
Give what you have. To someone, it may be better than you dare to think.
Offline
All my applications still launch, including shotwell.
The only difference I've noticed is it now takes a very long time to shut down via the Gnome menu.
So is it just a matter of running
#glib-compile-schemas /usr/share/glib-2.0/schemas as suggested by Artic to rebuild the GSettings files?
Or would it be better to reinstall shotwell now the package has been altered?
Offline
it's done automatically if you updated to shotwell 0.11-3
Give what you have. To someone, it may be better than you dare to think.
Offline