Your message dated Sun, 24 May 2009 21:20:58 +0100
with message-id <[email protected]>
and subject line Re: Bug#530371: man-db: man -l does not work anymore
has caused the Debian Bug report #530371,
regarding man-db: man -l does not work anymore
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
530371: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530371
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: man-db
Version: 2.5.5-1
Severity: normal
I used to preview the manpages I write using the following command:
$ man -l manpage.1
This does not work anymore and displays nothing.
It is easy to reproduce :
$ cp /usr/share/man/man1/man.1.gz .
$ gunzip man.1.gz
$ man -l man.1
$
Am I missing something? Isn't this the standard way to preview manpages?
Thanks,
Alex
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.28.9-vgn-b1vp (PREEMPT)
Locale: LANG=fr_FR.UTF.8, LC_CTYPE=fr_FR.UTF.8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages man-db depends on:
ii bsdmainutils 6.1.10 collection of more utilities from
ii debconf [debconf-2.0] 1.5.26 Debian configuration management sy
ii dpkg 1.15.1 Debian package management system
ii groff-base 1.18.1.1-22 GNU troff text-formatting system (
ii libc6 2.9-12 GNU C Library: Shared libraries
ii libgdbm3 1.8.3-4 GNU dbm database routines (runtime
ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime
man-db recommends no packages.
Versions of packages man-db suggests:
pn groff <none> (no description available)
ii iceweasel [www-browser] 3.0.9-1 lightweight web browser based on M
ii less 429-2 pager program similar to more
-- debconf information:
man-db/build-database: true
man-db/rebuild-database: true
man-db/install-setuid: false
ruid=1000, euid=1000
++priv_drop_count = 1
>From the config file /etc/manpath.config:
Mandatory mandir `/usr/man'.
Mandatory mandir `/usr/share/man'.
Mandatory mandir `/usr/local/share/man'.
Path `/bin' mapped to mandir `/usr/share/man'.
Path `/usr/bin' mapped to mandir `/usr/share/man'.
Path `/sbin' mapped to mandir `/usr/share/man'.
Path `/usr/sbin' mapped to mandir `/usr/share/man'.
Path `/usr/local/bin' mapped to mandir `/usr/local/man'.
Path `/usr/local/bin' mapped to mandir `/usr/local/share/man'.
Path `/usr/local/sbin' mapped to mandir `/usr/local/man'.
Path `/usr/local/sbin' mapped to mandir `/usr/local/share/man'.
Path `/usr/X11R6/bin' mapped to mandir `/usr/X11R6/man'.
Path `/usr/bin/X11' mapped to mandir `/usr/X11R6/man'.
Path `/usr/games' mapped to mandir `/usr/share/man'.
Path `/opt/bin' mapped to mandir `/opt/man'.
Path `/opt/sbin' mapped to mandir `/opt/man'.
Global mandir `/usr/man', catdir `/var/cache/man/fsstnd'.
Global mandir `/usr/share/man', catdir `/var/cache/man'.
Global mandir `/usr/local/man', catdir `/var/cache/man/oldlocal'.
Global mandir `/usr/local/share/man', catdir `/var/cache/man/local'.
Global mandir `/usr/X11R6/man', catdir `/var/cache/man/X11R6'.
Global mandir `/opt/man', catdir `/var/cache/man/opt'.
Added section `1'.
Added section `n'.
Added section `l'.
Added section `8'.
Added section `3'.
Added section `2'.
Added section `3posix'.
Added section `3pm'.
Added section `3perl'.
Added section `5'.
Added section `4'.
Added section `9'.
Added section `6'.
Added section `7'.
`/usr/man' `' `1'
`/usr/share/man' `' `1'
`/usr/local/share/man' `' `1'
`/bin' `/usr/share/man' `0'
`/usr/bin' `/usr/share/man' `0'
`/sbin' `/usr/share/man' `0'
`/usr/sbin' `/usr/share/man' `0'
`/usr/local/bin' `/usr/local/man' `0'
`/usr/local/bin' `/usr/local/share/man' `0'
`/usr/local/sbin' `/usr/local/man' `0'
`/usr/local/sbin' `/usr/local/share/man' `0'
`/usr/X11R6/bin' `/usr/X11R6/man' `0'
`/usr/bin/X11' `/usr/X11R6/man' `0'
`/usr/games' `/usr/share/man' `0'
`/opt/bin' `/opt/man' `0'
`/opt/sbin' `/opt/man' `0'
`/usr/man' `/var/cache/man/fsstnd' `-1'
`/usr/share/man' `/var/cache/man' `-1'
`/usr/local/man' `/var/cache/man/oldlocal' `-1'
`/usr/local/share/man' `/var/cache/man/local' `-1'
`/usr/X11R6/man' `/var/cache/man/X11R6' `-1'
`/opt/man' `/var/cache/man/opt' `-1'
`1' `' `-5'
`n' `' `-5'
`l' `' `-5'
`8' `' `-5'
`3' `' `-5'
`2' `' `-5'
`3posix' `' `-5'
`3pm' `' `-5'
`3perl' `' `-5'
`5' `' `-5'
`4' `' `-5'
`9' `' `-5'
`6' `' `-5'
`7' `' `-5'
is a tty
real user = 1000; effective user = 1000
using pager -s as pager
++priv_drop_count = 2
chdir /tmp
Starting pipeline: [input: {0, man.1}, output: {-1, NULL}]
pre-processors `t' from file
page_encoding = UTF.8
source_encoding = UTF.8
cat_charset = UTF.8
locale_charset = UTF-8
roff_device (locale) = ascii8
roff_encoding = UTF.8
output_encoding = UTF.8
less_charset = utf-8
Terminal width 80
Terminal width 80 within cat page range [80, 80]
format: 1, save_cat: 0, found: 1
Setting LESS to -ix8RmPm Manual page man\.1 ?ltline %lt?L/%L.:byte %bB?s/%s..?e
(END):?pB %pB\%..$PM Manual page man\.1 ?ltline %lt?L/%L.:byte %bB?s/%s..?e
(END):?pB %pB\%..$
Setting MAN_PN to man\.1
++priv_drop_count = 3
Starting pipeline: /usr/bin/zsoelim | /usr/lib/man-db/manconv -f UTF-8:UTF.8 -t
UTF.8//IGNORE | tbl | nroff -mandoc -Tascii8 | iconv -c -f UTF.8 -t
UTF-8//TRANSLIT [input: {-1, NULL}, output: {-1, NULL}]
Started "/usr/bin/zsoelim", pid 27544
Started "/usr/lib/man-db/manconv -f UTF-8:UTF.8 -t UTF.8//IGNORE", pid 27546
Started "tbl", pid 27548
Started "nroff", pid 27549
Started "iconv", pid 27552
Starting pipeline: pager -s [input: {-1, NULL}, output: {0, NULL}]
Started "pager", pid 27553
source pipeline 1 returned error or EOF
source pipeline 0 returned error or EOF
Waiting for pipeline: [input: {0, man.1}, output: {-1, NULL}]
Waiting for pipeline: /usr/bin/zsoelim | /usr/lib/man-db/manconv -f UTF-8:UTF.8
-t UTF.8//IGNORE | tbl | nroff -mandoc -Tascii8 | iconv -c -f UTF.8 -t
UTF-8//TRANSLIT [input: {-1, NULL}, output: {-1, NULL}]
Active processes (5):
"/usr/bin/zsoelim" (27544) -> 0
"/usr/lib/man-db/manconv -f UTF-8:UTF.8 -t UTF.8//IGNORE" (27546) -> 0
"tbl" (27548) -> 0
"nroff" (27549) -> -1
"iconv" (27552) -> 256
Active processes (1):
"nroff" (27549) -> 0
Waiting for pipeline: pager -s [input: {-1, NULL}, output: {0, NULL}]
Active processes (1):
"pager" (27553) -> -1
Active processes (1):
"pager" (27553) -> 0
--priv_drop_count = 2
--priv_drop_count = 1
--- End Message ---
--- Begin Message ---
On Sun, May 24, 2009 at 03:20:47PM +0200, Alexandre Rossi wrote:
> Package: man-db
> Version: 2.5.5-1
> Severity: normal
>
> I used to preview the manpages I write using the following command:
> $ man -l manpage.1
>
> This does not work anymore and displays nothing.
>
> It is easy to reproduce :
> $ cp /usr/share/man/man1/man.1.gz .
> $ gunzip man.1.gz
> $ man -l man.1
> $
>
> Am I missing something? Isn't this the standard way to preview manpages?
[...]
> Locale: LANG=fr_FR.UTF.8, LC_CTYPE=fr_FR.UTF.8 (charmap=UTF-8)
Your locale is invalid; it should be "fr_FR.UTF-8", not "fr_FR.UTF.8".
man needs the locale encoding name to figure out how to handle the page
and it gets confused when it's utterly invalid like this. Fix your
locale and it should work fine.
Cheers,
--
Colin Watson [[email protected]]
--- End Message ---