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

Bug#349462: xterm: wrong update-alternatives man page x-terminal-emulator.1.gz



On Wed, Nov  8, 2006 at 02:50:47 +0100, Vincent Lefevre wrote:

> The machine no longer exists, but on another one, I've just changed the
> x-terminal-emulator alternative from /usr/bin/xfce4-terminal.wrapper to
> /usr/bin/uxterm, and I also get a dangling symlink.
> 
> ay:~> ll /usr/share/man/man1/x-terminal-emulator.1.gz
> lrwxrwxrwx 1 root root 42 2003-07-18 22:14:13 /usr/share/man/man1/x-terminal-emulator.1.gz -> /etc/alternatives/x-terminal-emulator.1.gz
> ay:~> ll /etc/alternatives/x-terminal-emulator.1.gz
> ls: /etc/alternatives/x-terminal-emulator.1.gz: No such file or directory
> 
ok, so when different alternatives for the same command have different
slaves, update-alternatives seems to badly handle the situation. In this
case, it doesn't change the link from
/usr/share/man/man1/x-terminal-emulator.1.gz to /etc/alternatives, only
the link in /etc/alternatives to /usr/share/man/man1/whatever-term.1.gz.

The solution for this is probably to have the same slave as other
terminal emulators (revert to x-terminal-emulator.1.gz), and somehow
handle the upgrade from previous versions of xterm, if necessary.
I'll try to implement and test this for the next xterm upload.

Thanks,
Julien



Reply to: