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

Bug#419145: marked as done (selecting xterm as x-terminal-emulator alternative breaks man page link)



Your message dated Sat, 14 Apr 2007 02:06:59 +0200
with message-id <20070414000658.GL26909@patate.is-a-geek.org>
and subject line Bug#419145: selecting xterm as x-terminal-emulator alternative breaks man page link
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xterm
Version: 1:222-1
Severity: normal

If I have x-terminal-emulator set to gnome-terminal, the
x-terminal-emulator man page works. If I then use update-alternatives
--config to set it to xterm, the link is broken:

joey@kodama:/usr/share/man/man1>man x-terminal-emulator
man: warning: /usr/share/man/man1/x-terminal-emulator.1.gz is a dangling symlink
No manual entry for x-terminal-emulator
joey@kodama:/usr/share/man/man1>ls -l x-terminal-emulator.1.gz
lrwxrwxrwx 1 root root 42 Jun  2  2006 x-terminal-emulator.1.gz -> /etc/alternatives/x-terminal-emulator.1.gz
joey@kodama:/etc>ls -l /etc/alternatives/x-terminal-emulator.1x.gz 
lrwxrwxrwx 1 root root 31 Apr 13 18:45 /etc/alternatives/x-terminal-emulator.1x.gz -> /usr/share/man/man1/xterm.1x.gz

So the problem is that xterm registers an alternative with 1x in the name,
while the man page symlink links to one with 1 in the name.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xterm depends on:
ii  libc6                         2.5-1      GNU C Library: Shared libraries
ii  libfontconfig1                2.4.2-1.2  generic font configuration library
ii  libice6                       1:1.0.3-2  X11 Inter-Client Exchange library
ii  libncurses5                   5.5-5      Shared libraries for terminal hand
ii  libsm6                        1:1.0.2-2  X11 Session Management library
ii  libx11-6                      2:1.0.3-7  X11 client-side library
ii  libxaw7                       1:1.0.3-3  X11 Athena Widget library
ii  libxext6                      1:1.0.3-2  X11 miscellaneous extension librar
ii  libxft2                       2.1.12-2   FreeType-based font drawing librar
ii  libxmu6                       1:1.0.3-1  X11 miscellaneous utility library
ii  libxt6                        1:1.0.5-2  X11 toolkit intrinsics library
ii  xbitmaps                      1.0.1-2    Base X bitmaps

Versions of packages xterm recommends:
ii  xutils                      1:7.1.ds.3-1 X Window System utility programs

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On Fri, Apr 13, 2007 at 18:55:43 -0400, Joey Hess wrote:

> If I have x-terminal-emulator set to gnome-terminal, the
> x-terminal-emulator man page works. If I then use update-alternatives
> --config to set it to xterm, the link is broken:
> 
> 
> So the problem is that xterm registers an alternative with 1x in the name,
> while the man page symlink links to one with 1 in the name.
> 
It doesn't do that anymore:

update-alternatives --install /usr/bin/x-terminal-emulator \
  x-terminal-emulator /usr/bin/xterm 20 --slave \
  /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \
  /usr/share/man/man1/xterm.1.gz

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: