Re: man -k doesn't work
On Tue, Jan 04, 2000 at 01:04:49PM -0500, Brian J. Stults wrote:
> Hi,
>
> When I type man -k [anything], I always get this result:
>
> [anything]: nothing appropriate
and when you try man [anything] what do you get?
If you get a manpage then it is the db to be rebuilt (mandb -c from
root), if you get No manual entry for [anything] then [anything] is
really not appropriate :-)
> It doesn't matter what I substitite for "anything". I have the
> environment variable MANPATH set like this in .bash_profile:
>
> MANPATH=/usr/bin/man:/usr/man:/usr/share/man:/usr/X11R6/man:/usr/local/man
It is always better to leave that env var unset, unless you have very
specific stuff to add there.
In any case, /usr/bin/man cannot go there!
Use the command manpath to see if this setting is harming you; it should
reply:
/usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/man
cheers,
fab
--
| fab@pukki.ntc.nokia.com fpolacco@prosa.it fpolacco@debian.org
| 6F7267F5 fingerprint 57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E
| fabrizio.polacco@nokia.com gsm: +358 (0)40 707 2468
Reply to: