whereis fails

peter lageotakes plageotakes at yahoo.com
Fri Sep 12 07:10:05 PDT 2003


I am not 100 percent sure but if memory serves; the
man pages are a port by themselves (for xfree), at
which point they get installed separately.  Those
ports should be on disc 1.  You can use
/stand/sysintall to get back into those ports.

My second thought is building/rebuilding the locate
database.  

The files are located here:

/var/db/locate.database	      locate database
/usr/libexec/locate.updatedb     Script to update the
locate database
/etc/periodic/weekly/310.locate  Script that starts
the database rebuild

More info can be found by checking the man page.

I hope this helps
Pete

--- Paul Cocker <paul.cocker at fph-tr.nhs.uk> wrote:
> Trying to use the "whereis" command, e.g. whereis
> XFree86-4 only to get the error:
> 
> Warning: Couldn't stat file /usr/local/man!
> Warning: Couldn't stat file /usr/X11R6/man!
> XFree86-4:
> 
> Neither of these directories exist (local, X11R6). 
> When I installed FreeBSD 4.7-RELEASE I installed
> bin, crypto, man and ports.
> 
> Paul
> PLEASE NOTE:
> ~~~~~~~~~~~
> This e-mail message is confidential and privileged.
> It is intended solely for the use of the individual
> or entity to whom it is addressed. If you are not
> the intended recipient, please accept our apologies;
> do not disclose, copy or distribute information in
> this e-mail or take any action on reliance of its
> content. To do so is strictly prohibited and may be
> unlawful. Please inform us that the message has been
> sent to you in error before deleting it. Thank you
> for your co-operation.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


More information about the freebsd-questions mailing list