apropos returning same item twice

Wayne Sierke ws at au.dyndns.ws
Thu Sep 16 08:12:49 UTC 2010


On Wed, 2010-09-15 at 18:27 -0400, Steven Friedrich wrote:
> On Wednesday 15 September 2010 12:39:15 pm Wayne Sierke wrote:
> > On Tue, 2010-09-14 at 00:37 +0000, Alexander Best wrote:
> > > On Sat Sep 11 10, Steven Friedrich wrote:
> > > > Why does apropos list mysql(1) twice?
> > > > 
> > > > It doesn't return duplicates with apropos kde...
> > > 
> > > maybe you have a gzip'ed and plain version in /usr ?
> > > 
> > > see PR #4419.
> > > 
> > > cheers.
> > > alex
> > 
> > Are you certain that /etc/manpath.config doesn't just still
> > have /usr/X11R6/man configured (as well as /usr/local/man)? Admittedly
> > the kde issue is a mystery, assuming its manpages are installed
> > in /usr/local/man. This system has the following:
> > 
> > OPTIONAL_MANPATH	/usr/local/man
> > # (disabled by xorg-libraries port) OPTIONAL_MANPATH	/usr/X11R6/man
> > 
> > MANPATH_MAP	/usr/local/bin		/usr/local/man
> > # (disabled by xorg-libraries port)
> > MANPATH_MAP	/usr/X11R6/bin	/usr/X11R6/man
> > 
> > 
> > Is the whatis file being updated? Check the timestamp:
> > 
> > # ls -l /usr/local/man/whatis
> > -rw-r--r--  1 root  wheel  273178 Sep 11 04:22 /usr/local/man/whatis
> > 
> > 
> > Wayne
> > 
> > > > admin at laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql
> <snip> 
> > _______________________________________________
> > 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"
> 
> I still have X11R6 in usr symlinked to /usr/local. This was done per entry 
> 20070519 in /usr/ports/UPDATING.
> 
> Do we still need this symlink?

Yes, anything that references /usr/X11R6 gets directed to /usr/local.

Did you check /etc/manpath.config and the timestamp
on /usr/local/man/whatis?

Another check is that the output of manpath(1) doesn't
include /usr/X11R6/man.


Wayne




More information about the freebsd-questions mailing list