Date: Mon, 27 Sep 2010 13:05:13 -0400 From: Steven Friedrich <FreeBSD@insightbb.com> To: freebsd-questions@freebsd.org Subject: Re: apropos returning same item twice Message-ID: <201009271305.13740.FreeBSD@insightbb.com> In-Reply-To: <201009271135.19590.jmc-freebsd2@milibyte.co.uk> References: <201009111442.49114.FreeBSD@insightbb.com> <201009261252.14140.FreeBSD@insightbb.com> <201009271135.19590.jmc-freebsd2@milibyte.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 27 September 2010 6:35:19 am Mike Clarke wrote: > 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". Thanks, dude. That was my problem. -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009271305.13740.FreeBSD>