Bug#531611: gnome-session: postinst fails when calling update-alternatives

Josselin Mouette joss at debian.org
Wed Jun 3 15:02:56 UTC 2009


Le mardi 02 juin 2009 à 20:25 +0200, Wolf Wiegand a écrit :
> after the upgrade from 2.22.3-3 to 2.26.1-6, the postinst fails with the
> following error:
> 
> Setting up gnome-session (2.26.1-6) ...
> Installing new version of config file /etc/gnome/defaults.list ...
> update-alternatives: error: alternative x-session-manager.1.gz can't be slave of
>  x-session-manager: it is a master alternative.
> dpkg: error processing gnome-session (--configure):
>  subprocess installed post-installation script returned error exit status 2
> 
> 
> My x-session-alternative:
> 
> $ ls -al /etc/alternatives/x-session-*
> lrwxrwxrwx 1 root root 22 Jun  2 20:08 /etc/alternatives/x-session-manager -> /usr/bin/icewm-session
> 
> 
> Running the postinst with -x results in the following:
> 
> :~ $ sudo /var/lib/dpkg/info/gnome-session.postinst configure
> + set -e
> + [ configure = configure ]
> + update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/gnome-session 50 --slave /usr/share/man/man1/x-session-manager.1.gz x-session-manager.1.gz /usr/share/man/man1/gnome-session.1.gz
> update-alternatives: error: alternative x-session-manager.1.gz can't be slave of x-session-manager: it is a master alternative.

I guess this is an issue with another provider of this alternative
(maybe icewm-session). I’ve seen recent changes on the
update-alternatives side, so could a dpkg maintainer give an explanation
about what changed and how it could trigger this issue?

Thanks,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090603/05ea1660/attachment-0001.pgp>


More information about the pkg-gnome-maintainers mailing list