On Mon, 2013-12-09 at 16:29:44 +0100, Julian Andres Klode wrote: > The command failing is: > update-alternatives --install /usr/bin/gnome-www-browser gnome-www-browser > /usr/bin/epiphany-browser 85 --slave > /usr/share/man/man1/gnome-www-browser.1.gz gnome-www-browser.1.gz > /usr/share/man/man1/epiphany-browser.1.gz > > $ ls -l /usr/share/man/man1/gnome-www-browser* /usr/bin/gnome-www-browser > ls: cannot access /usr/share/man/man1/gnome-www-browser*: No such file or > directory > lrwxrwxrwx 1 root root 35 Sep 7 10:53 /usr/bin/gnome-www-browser -> > /etc/alternatives/gnome-www-browser > > I believe the missing man page link is the problem.
Didn't crash for me here, but the backtrace was helpful to spot the problem. Could you try the attached patch? Thanks, Guillem
diff --git a/utils/update-alternatives.c b/utils/update-alternatives.c index ed06680..cb61db5 100644 --- a/utils/update-alternatives.c +++ b/utils/update-alternatives.c @@ -980,7 +980,7 @@ alternative_add_slave(struct alternative *a, char *slave_name, else a->slaves = new; - return sl; + return new; } static void