[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: