Date: Mon, 27 Sep 2010 11:35:19 +0100 From: Mike Clarke <jmc-freebsd2@milibyte.co.uk> To: freebsd-questions@freebsd.org Subject: Re: apropos returning same item twice Message-ID: <201009271135.19590.jmc-freebsd2@milibyte.co.uk> In-Reply-To: <201009261252.14140.FreeBSD@insightbb.com> References: <201009111442.49114.FreeBSD@insightbb.com> <1284874572.20540.1746.camel@predator-ii.buffyverse> <201009261252.14140.FreeBSD@insightbb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 26 September 2010, Steven Friedrich wrote: > > > > Another check is that the output of manpath(1) doesn't > > > > include /usr/X11R6/man. > > > > > > manpath > > > /usr/share/man:/usr/local/man:/usr/local/kde4/man:/usr/share/open > > >ssl/man: > > > /usr/local/lib/perl5/5.12.2/man:/usr/local/lib/perl5/5.12.2/perl/ > > >man > > > > Ok. There's also: > > > > %man -a -w mysql > > > > to see the origins of the multiple man pages, although it seems > > that you may have already confirmed the /usr/X11R6 path connection. > > > > >From what you've presented so far I'd say it's looking like a > > > problem > > man -a -w mysql > /usr/local/man/man1/mysql.1.gz > /usr/X11R6/man/man1/mysql.1.gz Same here - until I realised that I still had /usr/X11R6/bin in $PATH, left over from the days before /usr/X11R6 was a link to /usr/local. Removing /usr/X11R6/bin from $PATH fixed it for me. According to the man page for manpath it "tries to determine the user's manpath from a set of system defaults and the user's PATH". -- Mike Clarke
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009271135.19590.jmc-freebsd2>