You are not logged in.

#1 2013-01-01 08:36:25

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

[Solved] apropos not working?

It's been a long time since I last used apropos, but I seem to remember getting an awful lot of output.  Now I'm not getting anything:

# apropos disk
disk: nothing appropriate.
# apropos archive
archive: nothing appropriate.
# apropos font
font: nothing appropriate.
# apropos file
file: nothing appropriate.
# apropos -d file
From the config file /etc/man_db.conf:

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 `0'.
Added section `2'.
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'
`0'	`'	`-5'
`2'	`'	`-5'
`5'	`'	`-5'
`4'	`'	`-5'
`9'	`'	`-5'
`6'	`'	`-5'
`7'	`'	`-5'

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
/usr/share/man is already in the manpath

path directory /usr/local/sbin is in the config file
/usr/local/man is already in the manpath
/usr/local/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 /sbin is in the config file
/usr/share/man is already in the manpath

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

adding mandatory man directories

warning: /usr/man: No such file or directory
/usr/share/man is already in the manpath
/usr/local/share/man is already in the manpath
add_nls_manpaths(): processing /usr/local/man:/usr/local/share/man:/usr/share/man
checking for locale en_US.UTF-8
adding /usr/local/man to manpathlist
adding /usr/local/share/man to manpathlist
adding /usr/share/man to manpathlist
adding /usr/local/man to manpathlist
adding /usr/local/share/man to manpathlist
adding /usr/share/man to manpathlist
Removing duplicate manpath entry /usr/local/share/man (1) -> /usr/local/man (0)
Removing duplicate manpath entry /usr/local/man (2) -> /usr/local/man (0)
Removing duplicate manpath entry /usr/local/share/man (2) -> /usr/local/man (0)
Removing duplicate manpath entry /usr/share/man (2) -> /usr/share/man (1)
final search path = /usr/local/man:/usr/share/man
path=/usr/local/man
warning: can't read the fallback whatis text database /usr/local/man/whatis
path=/usr/share/man
warning: can't read the fallback whatis text database /usr/share/man/whatis
file: nothing appropriate.
hashtable_free: 0 entries, 0 (0%) unique
hashtable_free: 0 entries, 0 (0%) unique

Last edited by alphaniner (2013-01-01 08:58:48)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#2 2013-01-01 08:43:04

digirium
Member
Registered: 2012-11-15
Posts: 51

Re: [Solved] apropos not working?

Have you run mandb yet? If not, that may do the trick.

Offline

#3 2013-01-01 08:58:22

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [Solved] apropos not working?

That did the trick, thanks.

Weird thing is, I don't remember ever running mandb before, and I thought I'd used apropos in arch at some point.  Mabye I hadn't used it since I was running ubuntu.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#4 2013-01-01 12:46:27

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [Solved] apropos not working?

cron is not enabled in systemd out of the box, therefor the mandb daily cron job does not get run.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB