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

Wolf Wiegand wolf at kondancemilch.de
Mon Jun 15 16:34:16 UTC 2009


Raphael Hertzog wrote:

> For users, the simple work-around is "rm 
> /var/lib/dpkg/alternatives/x-session-manager.1.gz" but please provide the
> infos requested above before-hand.

I just did this after lxsession.postinst failed with the same error.
However, /etc/alternatives/x-session-manager now points to lxsession,
and not to my old alternative (icewm-session) anymore. Output from

Setting up lxsession (0.3.8+svn20090521-1) ...
update-alternatives: using /usr/bin/lxsession to provide 
/usr/bin/x-session-manager (x-session-manager) in auto mode.

My alternatives:

$ ls -la /etc/alternatives/x-session-*
lrwxrwxrwx 1 root root 18 Jun 15 18:21 /e/a/x-session-manager -> /usr/bin/lxsession
lrwxrwxrwx 1 root root 34 Jun 15 18:21 /e/a/x-session-manager.1.gz -> /usr/share/man/man1/lxsession.1.gz

Changing an alternative without the sysadmin saying so should be 
avoided if possible, imho. Can this problem be worked around in any way,
or is this something that we'll have to live with because of mistakes
made in the past?


Wie klein und belanglos muß eine Aufgabe eigentlich sein, damit Rudolf 
Scharping nicht an ihr scheitert? (Die Welt)

More information about the pkg-gnome-maintainers mailing list