Bug#531611: gnome-session: postinst fails when calling update-alternatives
Wolf Wiegand
wolf at kondancemilch.de
Tue Jun 2 18:25:05 UTC 2009
Package: gnome-session
Version: 2.26.1-6
Severity: normal
Hi,
(maybe this should have a higher severity, but I'm not sure whether this
is caused by a wrong configuration on my side)
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.
Cheers,
Wolf
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (200, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.29-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gnome-session depends on:
ii gnome-panel 2.26.2-1 launcher and docking facility for
ii gnome-session-bin 2.26.1-5 The GNOME Session Manager - Minima
ii gnome-settings-daemon 2.26.1-2 daemon handling the GNOME session
ii metacity 1:2.24.0-2 A lightweight GTK2 based Window Ma
gnome-session recommends no packages.
Versions of packages gnome-session suggests:
ii desktop-base 5.0.5 common files for the Debian Deskto
ii gnome-keyring 2.26.1-1 GNOME keyring services (daemon and
ii gnome-user-guide [gnome2-user 2.24.2-2 GNOME user's guide
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list