From owner-freebsd-questions@FreeBSD.ORG Mon Sep 27 10:35:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B701106566C for ; Mon, 27 Sep 2010 10:35:24 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.ptn-ipout02.plus.net (relay.ptn-ipout02.plus.net [212.159.7.36]) by mx1.freebsd.org (Postfix) with ESMTP id 133628FC1B for ; Mon, 27 Sep 2010 10:35:23 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah0FAPYPoExUXeb0/2dsb2JhbACUMY4AccUihUQE Received: from outmx03.plus.net ([84.93.230.244]) by relay.ptn-ipout02.plus.net with ESMTP; 27 Sep 2010 11:35:22 +0100 Received: from helix.plus.com ([84.92.153.232] helo=curlew.milibyte.co.uk) by outmx03.plus.net with esmtp (Exim) id 1P0B3J-0005C4-VS for freebsd-questions@freebsd.org; Mon, 27 Sep 2010 11:35:22 +0100 Received: by curlew.milibyte.co.uk with local (Exim 4.72) (envelope-from ) id 1P0B3H-0000kC-LC for freebsd-questions@freebsd.org; Mon, 27 Sep 2010 11:35:19 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Mon, 27 Sep 2010 11:35:19 +0100 User-Agent: KMail/1.9.10 References: <201009111442.49114.FreeBSD@insightbb.com> <1284874572.20540.1746.camel@predator-ii.buffyverse> <201009261252.14140.FreeBSD@insightbb.com> In-Reply-To: <201009261252.14140.FreeBSD@insightbb.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201009271135.19590.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false Subject: Re: apropos returning same item twice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 10:35:24 -0000 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