Bug#706110: libgnome{, vfs}2-common: fails to upgrade from squeeze: prerm failure: gconf-schemas: not found

Josselin Mouette joss at debian.org
Sat Apr 27 19:23:58 UTC 2013


Le samedi 27 avril 2013 à 01:35 +0200, Andreas Beckmann a écrit : 
> I haven't looked at the packages at all, I don't know what dh_gconf
> does, I don't know anything about gnomish packaging.
> What I understood from the discussion is the following:
> 
> * in squeeze, dh_gconf generated maintainer script snippets
> * in wheezy this no longer happens, perhaps the gconf things were
> reorganized completely

Actually the GConf change predates squeeze. The packages that still had
them in squeeze had just not been updated since the change.

> * OK, now I looked at squeeze's libgnome2-common.prerm and see
> # Automatically added by dh_gconf
> if [ "$1" = remove ] || [ "$1" = upgrade ]; then
>         gconf-schemas --unregister $LONG_LIST_OF_SCHEMA_FILES
> fi
> # End automatically added section
> 
> * What happens if that is *not* done during upgrades? Is there perhaps
> something that would magically fix this up in wheezy? At least
> /var/lib/dpkg/info/gconf2.triggers has "interest /usr/share/gconf/schemas"

Since squeeze, this snippet does absolutely nothing. The first thing
gconf-schemas does is checking whether it is called from such a script,
and if it is, it just does sys.exit(0). Everything is done by the
trigger.

-- 
 .''`.      Josselin Mouette
: :' :
`. `'
  `-




More information about the pkg-gnome-maintainers mailing list