man gives an error on any man page. For example:
$ man -P cat wget
man: command exited with status 1: (cd /usr/share/man && /usr/libexec/man-db/zsoelim) | (cd /usr/share/man && /usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -rLL=102n -rLT=102n -Tutf8)
$ man -d -P cat wget
ruid=1000, euid=1000
rgid=1000, egid=1000
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'.
Global mandir `/snap/man', catdir `/var/cache/man/snap'.
Added sections: `1', `n', `l', `8', `3', `0', `2', `3type', `3posix', `3pm', `3perl', `3am', `5', `4', `9', `6', `7'.
is a tty
using cat as pager
path directory /home/pot/bin is not in the config file
path directory /home/pot/.local/bin is not in the config file
path directory /home/pot/bin is not in the config file
path directory /home/pot/.local/bin is not in the config file
path directory /usr/local/bin is in the config file
adding /usr/local/man to manpath
adding /usr/local/share/man to manpath
path directory /usr/bin is in the config file
adding /usr/share/man to manpath
path directory /bin is in the config file
path directory /usr/bin/X11 is in the config file
warning: /usr/X11R6/man: No such file or directory
path directory /snap/bin is not in the config file
path directory /usr/games is in the config file
adding mandatory man directories
adding /usr/man to manpath
add_nls_manpaths(): processing /usr/local/man:/usr/local/share/man:/usr/share/man:/usr/man
checking for locale C.UTF-8
adding /usr/local/man to manpathlist
adding /usr/share/man to manpathlist
adding /usr/man to manpathlist
final search path = /usr/local/man:/usr/share/man:/usr/man
searching in /usr/local/man, section 1
trying section 1 with globbing
Layout is GNU (1)
update_directory_cache /usr/local/man: miss
matching wildcard in /usr/local/man: man1*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat1*
Failed to open /var/cache/man/oldlocal/index.db O_RDONLY
searching in /usr/share/man, section 1
trying section 1 with globbing
update_directory_cache /usr/share/man: miss
matching wildcard in /usr/share/man: man1*
matched: /usr/share/man/man1
update_directory_cache /usr/share/man/man1: miss
matching wildcard in /usr/share/man/man1: wget.1*
matched: /usr/share/man/man1/wget.1.gz
ult_src: File /usr/share/man/man1/wget.1.gz in mantree /usr/share/man
candidate: 0 0 wget /usr/share/man /usr/share/man/man1/wget.1.gz A wget 1 1
searching in /usr/man, section 1
trying section 1 with globbing
update_directory_cache /usr/man: miss
matching wildcard in /usr/man: man1*
matched: /usr/man/man1
update_directory_cache /usr/man/man1: miss
matching wildcard in /usr/man/man1: wget.1*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat1*
Succeeded in opening /var/cache/man/fsstnd/index.db O_RDONLY
searching in /usr/local/man, section n
trying section n with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: mann*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: catn*
searching in /usr/share/man, section n
trying section n with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: mann*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: catn*
Succeeded in opening /var/cache/man/index.db O_RDONLY
found 2 names/extensions
multi key lookup (Wget 1)
multi key lookup (wget 1)
searching in /usr/man, section n
trying section n with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: mann*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: catn*
searching in /usr/local/man, section l
trying section l with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: manl*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: catl*
searching in /usr/share/man, section l
trying section l with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: manl*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: catl*
searching in /usr/man, section l
trying section l with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: manl*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: catl*
searching in /usr/local/man, section 8
trying section 8 with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man8*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat8*
searching in /usr/share/man, section 8
trying section 8 with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man8*
matched: /usr/share/man/man8
update_directory_cache /usr/share/man/man8: miss
matching wildcard in /usr/share/man/man8: wget.8*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat8*
searching in /usr/man, section 8
trying section 8 with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man8*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat8*
searching in /usr/local/man, section 3
trying section 3 with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man3*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat3*
searching in /usr/share/man, section 3
trying section 3 with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man3*
matched: /usr/share/man/man3
update_directory_cache /usr/share/man/man3: miss
matching wildcard in /usr/share/man/man3: wget.3*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat3*
searching in /usr/man, section 3
trying section 3 with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man3*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat3*
searching in /usr/local/man, section 0
trying section 0 with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man0*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat0*
searching in /usr/share/man, section 0
trying section 0 with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man0*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat0*
searching in /usr/man, section 0
trying section 0 with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man0*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat0*
searching in /usr/local/man, section 2
trying section 2 with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man2*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat2*
searching in /usr/share/man, section 2
trying section 2 with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man2*
matched: /usr/share/man/man2
update_directory_cache /usr/share/man/man2: miss
matching wildcard in /usr/share/man/man2: wget.2*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat2*
searching in /usr/man, section 2
trying section 2 with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man2*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat2*
searching in /usr/local/man, section 3type
trying section 3type with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man3*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat3*
searching in /usr/share/man, section 3type
trying section 3type with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man3*
matched: /usr/share/man/man3
update_directory_cache /usr/share/man/man3: hit
matching wildcard in /usr/share/man/man3: wget.3type*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat3*
searching in /usr/man, section 3type
trying section 3type with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man3*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat3*
searching in /usr/local/man, section 3posix
trying section 3posix with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man3*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat3*
searching in /usr/share/man, section 3posix
trying section 3posix with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man3*
matched: /usr/share/man/man3
update_directory_cache /usr/share/man/man3: hit
matching wildcard in /usr/share/man/man3: wget.3posix*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat3*
searching in /usr/man, section 3posix
trying section 3posix with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man3*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat3*
searching in /usr/local/man, section 3pm
trying section 3pm with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man3*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat3*
searching in /usr/share/man, section 3pm
trying section 3pm with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man3*
matched: /usr/share/man/man3
update_directory_cache /usr/share/man/man3: hit
matching wildcard in /usr/share/man/man3: wget.3pm*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat3*
searching in /usr/man, section 3pm
trying section 3pm with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man3*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat3*
searching in /usr/local/man, section 3perl
trying section 3perl with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man3*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat3*
searching in /usr/share/man, section 3perl
trying section 3perl with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man3*
matched: /usr/share/man/man3
update_directory_cache /usr/share/man/man3: hit
matching wildcard in /usr/share/man/man3: wget.3perl*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat3*
searching in /usr/man, section 3perl
trying section 3perl with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man3*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat3*
searching in /usr/local/man, section 3am
trying section 3am with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man3*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat3*
searching in /usr/share/man, section 3am
trying section 3am with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man3*
matched: /usr/share/man/man3
update_directory_cache /usr/share/man/man3: hit
matching wildcard in /usr/share/man/man3: wget.3am*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat3*
searching in /usr/man, section 3am
trying section 3am with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man3*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat3*
searching in /usr/local/man, section 5
trying section 5 with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man5*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat5*
searching in /usr/share/man, section 5
trying section 5 with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man5*
matched: /usr/share/man/man5
update_directory_cache /usr/share/man/man5: miss
matching wildcard in /usr/share/man/man5: wget.5*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat5*
searching in /usr/man, section 5
trying section 5 with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man5*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat5*
searching in /usr/local/man, section 4
trying section 4 with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man4*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat4*
searching in /usr/share/man, section 4
trying section 4 with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man4*
matched: /usr/share/man/man4
update_directory_cache /usr/share/man/man4: miss
matching wildcard in /usr/share/man/man4: wget.4*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat4*
searching in /usr/man, section 4
trying section 4 with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man4*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat4*
searching in /usr/local/man, section 9
trying section 9 with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man9*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat9*
searching in /usr/share/man, section 9
trying section 9 with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man9*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat9*
searching in /usr/man, section 9
trying section 9 with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man9*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat9*
searching in /usr/local/man, section 6
trying section 6 with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man6*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat6*
searching in /usr/share/man, section 6
trying section 6 with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man6*
matched: /usr/share/man/man6
update_directory_cache /usr/share/man/man6: miss
matching wildcard in /usr/share/man/man6: wget.6*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat6*
searching in /usr/man, section 6
trying section 6 with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man6*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat6*
searching in /usr/local/man, section 7
trying section 7 with globbing
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: man7*
update_directory_cache /usr/local/man: hit
matching wildcard in /usr/local/man: cat7*
searching in /usr/share/man, section 7
trying section 7 with globbing
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: man7*
matched: /usr/share/man/man7
update_directory_cache /usr/share/man/man7: miss
matching wildcard in /usr/share/man/man7: wget.7*
update_directory_cache /usr/share/man: hit
matching wildcard in /usr/share/man: cat7*
searching in /usr/man, section 7
trying section 7 with globbing
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: man7*
update_directory_cache /usr/man: hit
matching wildcard in /usr/man: cat7*
Checking physical location: /usr/share/man/man1/wget.1.gz
found ultimate source file /usr/share/man/man1/wget.1.gz
converted /usr/share/man/man1/wget.1.gz to /usr/share/man/cat1/wget.1.gz
is_changed: a=/usr/share/man/man1/wget.1.gz, b=/usr/share/man/cat1/wget.1.gz (-2)
converted /var/cache/man/cat1/wget.1.gz to /var/cache/man/cat1/wget.1.gz
will try cat file /var/cache/man/cat1/wget.1.gz
loading seccomp filter (permissive: 0)
pre-processors `t' from default
page_encoding = ISO-8859-1
source_encoding = ISO-8859-1
locale_charset = UTF-8
roff_device (locale) = utf8
roff_encoding = ISO-8859-1
output_encoding = UTF-8
Terminal width 105
Terminal width 105 not within cat page range [80, 80]
Using 102-character lines
formatted_encoding = UTF-8
format: 1, save_cat: 0, found: 1
add_output_iconv: source UTF-8, target UTF-8
Setting LESS to -ix8RmPm Manual page wget(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page wget(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$
Setting MAN_PN to wget(1)
man: command exited with status 1: (cd /usr/share/man && /usr/libexec/man-db/zsoelim) | (cd /usr/share/man && /usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -rLL=102n -rLT=102n -Tutf8)