You are not logged in.

#1 2011-08-24 13:04:59

krnekhelesh
Member
From: Netherlands
Registered: 2011-05-11
Posts: 39

Pacman Shotwell upgrade error

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

#2 2011-08-24 13:12:28

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Pacman Shotwell upgrade error

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

#3 2011-08-24 14:02:29

arctic
Member
Registered: 2011-08-24
Posts: 1

Re: Pacman Shotwell upgrade error

For those who removed accidentially gschemas.compiled or installed shotwell with pacman -Sf:

Run before restart:

#glib-compile-schemas /usr/share/glib-2.0/schemas

Offline

#4 2011-08-24 15:28:14

silent
Member
Registered: 2008-08-05
Posts: 57

Re: Pacman Shotwell upgrade error

.

Last edited by silent (2013-08-21 08:54:31)

Offline

#5 2011-08-24 15:32:17

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Pacman Shotwell upgrade error

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

#6 2011-08-25 12:31:08

thameslink
Member
From: London
Registered: 2010-02-05
Posts: 4
Website

Re: Pacman Shotwell upgrade error

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.compiled

Which 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.old

and ran

Pacman -S shotwell

again 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.compiled

and renamed the .old version back to the original, hey presto it worked.

But was it a sensible thing to do?

Offline

#7 2011-08-25 12:39:31

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Pacman Shotwell upgrade error

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

#8 2011-08-25 13:11:39

thameslink
Member
From: London
Registered: 2010-02-05
Posts: 4
Website

Re: Pacman Shotwell upgrade error

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

#9 2011-08-25 13:14:43

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Pacman Shotwell upgrade error

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

Board footer

Powered by FluxBB