Your message dated Thu, 20 Aug 2009 09:57:44 +0100
with message-id <[email protected]>
and subject line Re: Bug#540668: man-db: manpath ordering has no effect, 
contrary to documentation
has caused the Debian Bug report #540668,
regarding man-db: manpath ordering has no effect, contrary to documentation
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.)


-- 
540668: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540668
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: man-db
Version: 2.5.2-4
Severity: normal


I am trying to get manpages form /opt get displayed by default.

The manpath indeed lists it first:

/opt/man:/usr/share/man:/usr/local/man:/opt/share/man

there are two manpages named "AE":

   /opt/man/man3/AE.3.gz
   /usr/local/man/cat3/AE.3pm.gz

MANSECT is 1:8:2:3:5:4:6:7:9:n:l, SECTION in manpath.conf is "3 3posix 3pm 
3perl 2 1 n l 8 5 4 9 6 7"

All this would indicate that man AE should display the first manpage
(section 3 comes before 3pm, /opt comes before /usr/local), yet "man AE"
display the /usr/local page first.

The documentation is confusing. "man man" says:

   By default, man will exit after displaying the most suitable manual
   page it finds.

but nowhere does it describe what suitability means.

man 5 manpath is equally unhelpful.

The /usr/share/doc/man-db/man-db-manual.ps.gz document is more helpful, it says

   [...] in normal operation, man will only display the first manual page
   it finds that meets the search criteria.

But this seems wrong, as the man -a AE output shows, the /opt manpage is
looked for and found first:

  # man -d 2>man.debug AE
  # grep matched: man.debug
  matched: /opt/man/man3/AE.3.gz
  matched: /usr/local/man/man3/AE.3pm

Yet still the second manpage is displayed.

In fact, even after reading the whole documentation, the manpath
manpages and the man manpage, playing around with the statements in
/etc/manpath.conf, I have not come up with a way to make man display the
manpage in /opt first.

I think a) the documenttaion is wrong _somewhere_ and b) man should adhere
to the configured manpath.

man -d output follows:

ruid=0, euid=0
++priv_drop_count = 1
>From the config file /etc/manpath.config:

Mandatory mandir `/opt/man'.
Mandatory mandir `/opt/share/man'.
Mandatory mandir `/usr/man'.
Mandatory mandir `/usr/share/man'.
Mandatory mandir `/usr/X11R6/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/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/X11R6/man', catdir `/var/cache/man/X11R6'.
Global mandir `/opt/man', catdir `/var/cache/man/opt'.
Added section `3'.
Added section `3posix'.
Added section `3pm'.
Added section `3perl'.
Added section `2'.
Added section `1'.
Added section `n'.
Added section `l'.
Added section `8'.
Added section `5'.
Added section `4'.
Added section `9'.
Added section `6'.
Added section `7'.
`/opt/man'      `'      `1'
`/opt/share/man'        `'      `1'
`/usr/man'      `'      `1'
`/usr/share/man'        `'      `1'
`/usr/X11R6/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/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/X11R6/man'        `/var/cache/man/X11R6'  `-1'
`/opt/man'      `/var/cache/man/opt'    `-1'
`3'     `'      `-5'
`3posix'        `'      `-5'
`3pm'   `'      `-5'
`3perl' `'      `-5'
`2'     `'      `-5'
`1'     `'      `-5'
`n'     `'      `-5'
`l'     `'      `-5'
`8'     `'      `-5'
`5'     `'      `-5'
`4'     `'      `-5'
`9'     `'      `-5'
`6'     `'      `-5'
`7'     `'      `-5'
real user = 0; effective user = 0

using less as pager

path directory /root/s2 is not in the config file
and doesn't have ../man, man, ../share/man, or share/man subdirectories

path directory /root/s is not in the config file
and doesn't have ../man, man, ../share/man, or share/man subdirectories

path directory /opt/bin is in the config file
adding /opt/man to manpath

path directory /opt/sbin is in the config file
/opt/man is already in the manpath

path directory /bin is in the config file
adding /usr/share/man to manpath

path directory /sbin is in the config file
/usr/share/man is already in the manpath

path directory /usr/bin is in the config file
/usr/share/man is already in the manpath

path directory /usr/sbin is in the config file
/usr/share/man is already in the manpath

path directory /usr/X11/bin is not in the config file
and doesn't have ../man, man, ../share/man, or share/man subdirectories

path directory /usr/games is in the config file
/usr/share/man is already in the manpath

path directory /usr/local/bin is not in the config file
but does have a ../man, man, ../share/man, or share/man subdirectory
adding /usr/local/man to manpath

path directory /usr/local/sbin is not in the config file
but does have a ../man, man, ../share/man, or share/man subdirectory
/usr/local/man is already in the manpath

adding mandatory man directories

/opt/man is already in the manpath
adding /opt/share/man to manpath
warning: /usr/man: No such file or directory
/usr/share/man is already in the manpath
warning: /usr/X11R6/man: No such file or directory
add_nls_manpath(): processing 
/opt/man:/usr/share/man:/usr/local/man:/opt/share/man
adding /opt/man to manpathlist
adding /usr/share/man to manpathlist
adding /usr/local/man to manpathlist
adding /opt/share/man to manpathlist
*manpath search path* = /opt/man:/usr/share/man:/usr/local/man:/opt/share/man
--priv_drop_count = 0
searching in /opt/man, section 1
trying section 1 with globbing
Layout is GNU (1)
update_directory_cache /opt/man/man1: miss
globbing pattern in /opt/man/man1: AE.1*
update_directory_cache /opt/man/cat1: miss
can't open directory /opt/man/cat1: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/opt/index.db O_RDONLY
searching in /usr/share/man, section 1
trying section 1 with globbing
update_directory_cache /usr/share/man/man1: miss
globbing pattern in /usr/share/man/man1: AE.1*
update_directory_cache /usr/share/man/cat1: miss
can't open directory /usr/share/man/cat1: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/index.db O_RDONLY
++priv_drop_count = 1
searching in /usr/local/man, section 1
trying section 1 with globbing
update_directory_cache /usr/local/man/man1: miss
globbing pattern in /usr/local/man/man1: AE.1*
update_directory_cache /usr/local/man/cat1: miss
can't open directory /usr/local/man/cat1: No such file or directory
directory cache update failed
Failed to open /usr/local/man/index.db O_RDONLY
--priv_drop_count = 0
++priv_drop_count = 1
searching in /opt/share/man, section 1
trying section 1 with globbing
update_directory_cache /opt/share/man/man1: miss
globbing pattern in /opt/share/man/man1: AE.1*
update_directory_cache /opt/share/man/cat1: miss
can't open directory /opt/share/man/cat1: No such file or directory
directory cache update failed
Failed to open /opt/share/man/index.db O_RDONLY
--priv_drop_count = 0
searching in /opt/man, section 8
trying section 8 with globbing
update_directory_cache /opt/man/man8: miss
globbing pattern in /opt/man/man8: AE.8*
update_directory_cache /opt/man/cat8: miss
can't open directory /opt/man/cat8: No such file or directory
directory cache update failed
searching in /usr/share/man, section 8
trying section 8 with globbing
update_directory_cache /usr/share/man/man8: miss
globbing pattern in /usr/share/man/man8: AE.8*
update_directory_cache /usr/share/man/cat8: miss
can't open directory /usr/share/man/cat8: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/index.db O_RDONLY
++priv_drop_count = 1
searching in /usr/local/man, section 8
trying section 8 with globbing
update_directory_cache /usr/local/man/man8: miss
can't open directory /usr/local/man/man8: No such file or directory
directory cache update failed
update_directory_cache /usr/local/man/cat8: miss
can't open directory /usr/local/man/cat8: No such file or directory
directory cache update failed
--priv_drop_count = 0
++priv_drop_count = 1
searching in /opt/share/man, section 8
trying section 8 with globbing
update_directory_cache /opt/share/man/man8: miss
globbing pattern in /opt/share/man/man8: AE.8*
update_directory_cache /opt/share/man/cat8: miss
can't open directory /opt/share/man/cat8: No such file or directory
directory cache update failed
--priv_drop_count = 0
searching in /opt/man, section 2
trying section 2 with globbing
update_directory_cache /opt/man/man2: miss
can't open directory /opt/man/man2: No such file or directory
directory cache update failed
update_directory_cache /opt/man/cat2: miss
can't open directory /opt/man/cat2: No such file or directory
directory cache update failed
searching in /usr/share/man, section 2
trying section 2 with globbing
update_directory_cache /usr/share/man/man2: miss
globbing pattern in /usr/share/man/man2: AE.2*
update_directory_cache /usr/share/man/cat2: miss
can't open directory /usr/share/man/cat2: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/index.db O_RDONLY
++priv_drop_count = 1
searching in /usr/local/man, section 2
trying section 2 with globbing
update_directory_cache /usr/local/man/man2: miss
can't open directory /usr/local/man/man2: No such file or directory
directory cache update failed
update_directory_cache /usr/local/man/cat2: miss
can't open directory /usr/local/man/cat2: No such file or directory
directory cache update failed
--priv_drop_count = 0
++priv_drop_count = 1
searching in /opt/share/man, section 2
trying section 2 with globbing
update_directory_cache /opt/share/man/man2: miss
can't open directory /opt/share/man/man2: No such file or directory
directory cache update failed
update_directory_cache /opt/share/man/cat2: miss
can't open directory /opt/share/man/cat2: No such file or directory
directory cache update failed
--priv_drop_count = 0
searching in /opt/man, section 3
trying section 3 with globbing
update_directory_cache /opt/man/man3: miss
globbing pattern in /opt/man/man3: AE.3*
matched: /opt/man/man3/AE.3.gz

ult_src: File /opt/man/man3/AE.3.gz in mantree /opt/man
ult_softlink: (/opt/perl/man/man3/AE.3.gz)
Starting pipeline: zcat < /opt/perl/man/man3/AE.3.gz [input: {0, 
/opt/perl/man/man3/AE.3.gz}, output: {-1, NULL}]
Started "zcat < /opt/perl/man/man3/AE.3.gz", pid 19336
Waiting for pipeline: zcat < /opt/perl/man/man3/AE.3.gz [input: {0, 
/opt/perl/man/man3/AE.3.gz}, output: {-1, NULL}]
Active processes (1):
  "zcat < /opt/perl/man/man3/AE.3.gz" (19336) -> 0
candidate: 0 0 AE /opt/man B - 3 3
searching in /usr/share/man, section 3
trying section 3 with globbing
update_directory_cache /usr/share/man/man3: miss
globbing pattern in /usr/share/man/man3: AE.3*
update_directory_cache /usr/share/man/cat3: miss
can't open directory /usr/share/man/cat3: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/index.db O_RDONLY
++priv_drop_count = 1
searching in /usr/local/man, section 3
trying section 3 with globbing
update_directory_cache /usr/local/man/man3: miss
globbing pattern in /usr/local/man/man3: AE.3*
matched: /usr/local/man/man3/AE.3pm

ult_src: File /usr/local/man/man3/AE.3pm in mantree /usr/local/man
Starting pipeline:  [input: {0, /usr/local/man/man3/AE.3pm}, output: {-1, NULL}]
Waiting for pipeline:  [input: {0, /usr/local/man/man3/AE.3pm}, output: {-1, 
NULL}]
candidate: 0 0 AE /usr/local/man A - 3 3pm
--priv_drop_count = 0
++priv_drop_count = 1
searching in /opt/share/man, section 3
trying section 3 with globbing
update_directory_cache /opt/share/man/man3: miss
globbing pattern in /opt/share/man/man3: AE.3*
update_directory_cache /opt/share/man/cat3: miss
can't open directory /opt/share/man/cat3: No such file or directory
directory cache update failed
--priv_drop_count = 0
searching in /opt/man, section 5
trying section 5 with globbing
update_directory_cache /opt/man/man5: miss
globbing pattern in /opt/man/man5: AE.5*
update_directory_cache /opt/man/cat5: miss
can't open directory /opt/man/cat5: No such file or directory
directory cache update failed
searching in /usr/share/man, section 5
trying section 5 with globbing
update_directory_cache /usr/share/man/man5: miss
globbing pattern in /usr/share/man/man5: AE.5*
update_directory_cache /usr/share/man/cat5: miss
can't open directory /usr/share/man/cat5: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/index.db O_RDONLY
++priv_drop_count = 1
searching in /usr/local/man, section 5
trying section 5 with globbing
update_directory_cache /usr/local/man/man5: miss
can't open directory /usr/local/man/man5: No such file or directory
directory cache update failed
update_directory_cache /usr/local/man/cat5: miss
can't open directory /usr/local/man/cat5: No such file or directory
directory cache update failed
--priv_drop_count = 0
++priv_drop_count = 1
searching in /opt/share/man, section 5
trying section 5 with globbing
update_directory_cache /opt/share/man/man5: miss
globbing pattern in /opt/share/man/man5: AE.5*
update_directory_cache /opt/share/man/cat5: miss
can't open directory /opt/share/man/cat5: No such file or directory
directory cache update failed
--priv_drop_count = 0
searching in /opt/man, section 4
trying section 4 with globbing
update_directory_cache /opt/man/man4: miss
globbing pattern in /opt/man/man4: AE.4*
update_directory_cache /opt/man/cat4: miss
can't open directory /opt/man/cat4: No such file or directory
directory cache update failed
searching in /usr/share/man, section 4
trying section 4 with globbing
update_directory_cache /usr/share/man/man4: miss
globbing pattern in /usr/share/man/man4: AE.4*
update_directory_cache /usr/share/man/cat4: miss
can't open directory /usr/share/man/cat4: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/index.db O_RDONLY
++priv_drop_count = 1
searching in /usr/local/man, section 4
trying section 4 with globbing
update_directory_cache /usr/local/man/man4: miss
can't open directory /usr/local/man/man4: No such file or directory
directory cache update failed
update_directory_cache /usr/local/man/cat4: miss
can't open directory /usr/local/man/cat4: No such file or directory
directory cache update failed
--priv_drop_count = 0
++priv_drop_count = 1
searching in /opt/share/man, section 4
trying section 4 with globbing
update_directory_cache /opt/share/man/man4: miss
can't open directory /opt/share/man/man4: No such file or directory
directory cache update failed
update_directory_cache /opt/share/man/cat4: miss
can't open directory /opt/share/man/cat4: No such file or directory
directory cache update failed
--priv_drop_count = 0
searching in /opt/man, section 6
trying section 6 with globbing
update_directory_cache /opt/man/man6: miss
globbing pattern in /opt/man/man6: AE.6*
update_directory_cache /opt/man/cat6: miss
can't open directory /opt/man/cat6: No such file or directory
directory cache update failed
searching in /usr/share/man, section 6
trying section 6 with globbing
update_directory_cache /usr/share/man/man6: miss
globbing pattern in /usr/share/man/man6: AE.6*
update_directory_cache /usr/share/man/cat6: miss
can't open directory /usr/share/man/cat6: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/index.db O_RDONLY
++priv_drop_count = 1
searching in /usr/local/man, section 6
trying section 6 with globbing
update_directory_cache /usr/local/man/man6: miss
can't open directory /usr/local/man/man6: No such file or directory
directory cache update failed
update_directory_cache /usr/local/man/cat6: miss
can't open directory /usr/local/man/cat6: No such file or directory
directory cache update failed
--priv_drop_count = 0
++priv_drop_count = 1
searching in /opt/share/man, section 6
trying section 6 with globbing
update_directory_cache /opt/share/man/man6: miss
globbing pattern in /opt/share/man/man6: AE.6*
update_directory_cache /opt/share/man/cat6: miss
can't open directory /opt/share/man/cat6: No such file or directory
directory cache update failed
--priv_drop_count = 0
searching in /opt/man, section 7
trying section 7 with globbing
update_directory_cache /opt/man/man7: miss
globbing pattern in /opt/man/man7: AE.7*
update_directory_cache /opt/man/cat7: miss
can't open directory /opt/man/cat7: No such file or directory
directory cache update failed
searching in /usr/share/man, section 7
trying section 7 with globbing
update_directory_cache /usr/share/man/man7: miss
globbing pattern in /usr/share/man/man7: AE.7*
update_directory_cache /usr/share/man/cat7: miss
can't open directory /usr/share/man/cat7: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/index.db O_RDONLY
++priv_drop_count = 1
searching in /usr/local/man, section 7
trying section 7 with globbing
update_directory_cache /usr/local/man/man7: miss
globbing pattern in /usr/local/man/man7: AE.7*
update_directory_cache /usr/local/man/cat7: miss
can't open directory /usr/local/man/cat7: No such file or directory
directory cache update failed
--priv_drop_count = 0
++priv_drop_count = 1
searching in /opt/share/man, section 7
trying section 7 with globbing
update_directory_cache /opt/share/man/man7: miss
globbing pattern in /opt/share/man/man7: AE.7*
update_directory_cache /opt/share/man/cat7: miss
can't open directory /opt/share/man/cat7: No such file or directory
directory cache update failed
--priv_drop_count = 0
searching in /opt/man, section 9
trying section 9 with globbing
update_directory_cache /opt/man/man9: miss
can't open directory /opt/man/man9: No such file or directory
directory cache update failed
update_directory_cache /opt/man/cat9: miss
can't open directory /opt/man/cat9: No such file or directory
directory cache update failed
searching in /usr/share/man, section 9
trying section 9 with globbing
update_directory_cache /usr/share/man/man9: miss
globbing pattern in /usr/share/man/man9: AE.9*
update_directory_cache /usr/share/man/cat9: miss
can't open directory /usr/share/man/cat9: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/index.db O_RDONLY
++priv_drop_count = 1
searching in /usr/local/man, section 9
trying section 9 with globbing
update_directory_cache /usr/local/man/man9: miss
can't open directory /usr/local/man/man9: No such file or directory
directory cache update failed
update_directory_cache /usr/local/man/cat9: miss
can't open directory /usr/local/man/cat9: No such file or directory
directory cache update failed
--priv_drop_count = 0
++priv_drop_count = 1
searching in /opt/share/man, section 9
trying section 9 with globbing
update_directory_cache /opt/share/man/man9: miss
can't open directory /opt/share/man/man9: No such file or directory
directory cache update failed
update_directory_cache /opt/share/man/cat9: miss
can't open directory /opt/share/man/cat9: No such file or directory
directory cache update failed
--priv_drop_count = 0
searching in /opt/man, section n
trying section n with globbing
update_directory_cache /opt/man/mann: miss
can't open directory /opt/man/mann: No such file or directory
directory cache update failed
update_directory_cache /opt/man/catn: miss
can't open directory /opt/man/catn: No such file or directory
directory cache update failed
searching in /usr/share/man, section n
trying section n with globbing
update_directory_cache /usr/share/man/mann: miss
can't open directory /usr/share/man/mann: No such file or directory
directory cache update failed
update_directory_cache /usr/share/man/catn: miss
can't open directory /usr/share/man/catn: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/index.db O_RDONLY
++priv_drop_count = 1
searching in /usr/local/man, section n
trying section n with globbing
update_directory_cache /usr/local/man/mann: miss
can't open directory /usr/local/man/mann: No such file or directory
directory cache update failed
update_directory_cache /usr/local/man/catn: miss
can't open directory /usr/local/man/catn: No such file or directory
directory cache update failed
--priv_drop_count = 0
++priv_drop_count = 1
searching in /opt/share/man, section n
trying section n with globbing
update_directory_cache /opt/share/man/mann: miss
can't open directory /opt/share/man/mann: No such file or directory
directory cache update failed
update_directory_cache /opt/share/man/catn: miss
can't open directory /opt/share/man/catn: No such file or directory
directory cache update failed
--priv_drop_count = 0
searching in /opt/man, section l
trying section l with globbing
update_directory_cache /opt/man/manl: miss
can't open directory /opt/man/manl: No such file or directory
directory cache update failed
update_directory_cache /opt/man/catl: miss
can't open directory /opt/man/catl: No such file or directory
directory cache update failed
searching in /usr/share/man, section l
trying section l with globbing
update_directory_cache /usr/share/man/manl: miss
can't open directory /usr/share/man/manl: No such file or directory
directory cache update failed
update_directory_cache /usr/share/man/catl: miss
can't open directory /usr/share/man/catl: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/index.db O_RDONLY
++priv_drop_count = 1
searching in /usr/local/man, section l
trying section l with globbing
update_directory_cache /usr/local/man/manl: miss
can't open directory /usr/local/man/manl: No such file or directory
directory cache update failed
update_directory_cache /usr/local/man/catl: miss
can't open directory /usr/local/man/catl: No such file or directory
directory cache update failed
--priv_drop_count = 0
++priv_drop_count = 1
searching in /opt/share/man, section l
trying section l with globbing
update_directory_cache /opt/share/man/manl: miss
can't open directory /opt/share/man/manl: No such file or directory
directory cache update failed
update_directory_cache /opt/share/man/catl: miss
can't open directory /opt/share/man/catl: No such file or directory
directory cache update failed
--priv_drop_count = 0
++priv_drop_count = 1

ult_src: File /usr/local/man/man3/AE.3pm in mantree /usr/local/man
Starting pipeline:  [input: {0, /usr/local/man/man3/AE.3pm}, output: {-1, NULL}]
Waiting for pipeline:  [input: {0, /usr/local/man/man3/AE.3pm}, output: {-1, 
NULL}]
found ultimate source file /usr/local/man/man3/AE.3pm
converted /usr/local/man/man3/AE.3pm to /usr/local/man/cat3/AE.3pm.gz
is_changed: a=/usr/local/man/man3/AE.3pm, b=/usr/local/man/cat3/AE.3pm.gz (-2)
converted /usr/local/man/man3/AE.3pm to /usr/local/man/cat3/AE.3pm.gz
will try cat file /usr/local/man/cat3/AE.3pm.gz
chdir /usr/local/man
Starting pipeline:  [input: {0, /usr/local/man/man3/AE.3pm}, output: {-1, NULL}]
pre-processors `tpe' from environment
page_encoding = ISO-8859-1
source_encoding = ISO-8859-1
cat_charset = ANSI_X3.4-1968
locale_charset = UTF-8
roff_device (locale) = utf8
roff_encoding = ISO-8859-1
output_encoding = UTF-8
less_charset = utf-8
format: 1, save_cat: 0, found: 1
Setting LESS to -ix8RmPm Manual page AE(3pm) ?ltline %lt?L/%L.:byte 
%bB?s/%s..?e (END):?pB %pB\%..$PM Manual page AE(3pm) ?ltline %lt?L/%L.:byte 
%bB?s/%s..?e (END):?pB %pB\%..$-sRP '?n?f%f .?m(file %i of %m) ..?e(END) ?x- 
Next: %x..%t'
Setting MAN_PN to AE(3pm)
++priv_drop_count = 2
Starting pipeline: /usr/bin/zsoelim | /usr/lib/man-db/manconv -f 
UTF-8:ISO-8859-1 -t ISO-8859-1//IGNORE | tbl | pic -S | neqn -Tutf8 | nroff 
-mandoc -Tutf8 | col -b -p -x [input: {-1, NULL}, output: {-1, NULL}]
Started "/usr/bin/zsoelim", pid 19337
Started "/usr/lib/man-db/manconv", pid 19338
Started "tbl", pid 19339
Started "pic", pid 19342
Started "neqn", pid 19343
Started "nroff", pid 19344
Started "col", pid 19346
Starting pipeline: less [input: {-1, NULL}, output: {0, NULL}]
Started "less", pid 19348
source pipeline 0 returned error or EOF
source pipeline 1 returned error or EOF
Waiting for pipeline:  [input: {0, /usr/local/man/man3/AE.3pm}, output: {-1, 
NULL}]
Waiting for pipeline: /usr/bin/zsoelim | /usr/lib/man-db/manconv -f 
UTF-8:ISO-8859-1 -t ISO-8859-1//IGNORE | tbl | pic -S | neqn -Tutf8 | nroff 
-mandoc -Tutf8 | col -b -p -x [input: {-1, NULL}, output: {-1, NULL}]
Active processes (7):
  "/usr/bin/zsoelim" (19337) -> 0
  "/usr/lib/man-db/manconv" (19338) -> 0
  "tbl" (19339) -> 0
  "pic" (19342) -> 0
  "neqn" (19343) -> 0
  "nroff" (19344) -> 0
  "col" (19346) -> 0
Waiting for pipeline: less [input: {-1, NULL}, output: {0, NULL}]
Active processes (1):
  "less" (19348) -> -1
Active processes (1):
  "less" (19348) -> 0
--priv_drop_count = 1
--priv_drop_count = 0
hash_free: 4 entries, 4 (100%) unique

Found 1 man pages
++priv_drop_count = 1
hash_free: 25 entries, 25 (100%) unique

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.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.24            Debian configuration management sy
ii  dpkg                   1.14.25           Debian package management system
ii  groff-base             1.18.1.1-21       GNU troff text-formatting system (
hi  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libgdbm3               1.8.3-3           GNU dbm database routines (runtime
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

man-db recommends no packages.

Versions of packages man-db suggests:
ii  elinks [www-browser]    0.11.4-3         advanced text-mode WWW browser
ii  groff                   1.18.1.1-21      GNU troff text-formatting system
ii  iceweasel [www-browser] 3.0.6-1          lightweight web browser based on M
ii  konqueror [www-browser] 4:3.5.9.dfsg.1-6 KDE's advanced file manager, web b
ii  less                    418-1            Pager program similar to more
ii  links2 [www-browser]    2.1pre37-1.1     Web browser running in both graphi
ii  lynx-cur [www-browser]  2.8.7dev9-2.1    Text-mode WWW Browser with NLS sup
ii  netsurf [www-browser]   1.2-1            Small portable web browser with CS
ii  w3m [www-browser]       0.5.2-2+b1       WWW browsable pager with excellent

-- debconf information excluded



--- End Message ---
--- Begin Message ---
Source: man-db
Source-Version: 2.5.4-1

On Thu, Aug 20, 2009 at 09:49:00AM +0200, Marc Lehmann wrote:
> On Thu, Aug 20, 2009 at 08:00:29AM +0100, Colin Watson <[email protected]> 
> wrote:
> > > All this would indicate that man AE should display the first manpage
> > > (section 3 comes before 3pm, /opt comes before /usr/local), yet "man AE"
> > > display the /usr/local page first.
> > 
> > Your debug output shows that /opt/man/man3/AE.3.gz is a symlink to
> > /opt/perl/man/man3/AE.3.gz, which suggests that this bug is a duplicate
> > of #384301, fixed in 2.5.4.
> 
> Wouldn't have guessed that from the description there, but:
> 
> > I don't suppose you could try man-db 2.5.5-3
> > in testing and see if that fixes it for you?
> 
> sure, man-db doesn't pull in any dependencies from testing (nice :), and...

For the time being, at least - fixing #448400 may require a newer dpkg.
:-/

> displays the expected (for me) manpage first (/opt/perl/man/man3/AE.3.gz).
> 
> so this seems indeed to be fixed.

Great. Closing this bug, then.

Thanks,

-- 
Colin Watson                                       [[email protected]]


--- End Message ---

Reply via email to