From owner-freebsd-questions@FreeBSD.ORG Fri Sep 17 16:18:44 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 E61231065696; Fri, 17 Sep 2010 16:18:44 +0000 (UTC) (envelope-from FreeBSD@insightbb.com) Received: from mxsf11.insightbb.com (mxsf11.insightbb.com [74.128.0.93]) by mx1.freebsd.org (Postfix) with ESMTP id 9FF7F8FC35; Fri, 17 Sep 2010 16:18:44 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.56,383,1280721600"; d="scan'208";a="205593388" Received: from unknown (HELO asav01.insightbb.com) ([172.31.249.123]) by mxsf11.insightbb.com with ESMTP; 17 Sep 2010 12:18:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aj4uANIxk0xKgCiCPGdsb2JhbACiJAwBAQEBNS3DYYVABIlJ X-IronPort-AV: E=Sophos;i="4.56,383,1280721600"; d="scan'208";a="282291966" Received: from 74-128-40-130.dhcp.insightbb.com (HELO laptop2.stevenfriedrich.org) ([74.128.40.130]) by asavout01.insightbb.com with ESMTP; 17 Sep 2010 12:18:43 -0400 From: Steven Friedrich To: Wayne Sierke Date: Fri, 17 Sep 2010 12:18:36 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.1-RELEASE; KDE/4.5.1; i386; ; ) References: <201009111442.49114.FreeBSD@insightbb.com> <201009151827.04122.FreeBSD@insightbb.com> <1284624764.20540.650.camel@predator-ii.buffyverse> In-Reply-To: <1284624764.20540.650.camel@predator-ii.buffyverse> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009171218.38065.FreeBSD@insightbb.com> Cc: Alexander Best , freebsd-questions@freebsd.org 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: Fri, 17 Sep 2010 16:18:45 -0000 On Thursday 16 September 2010 4:12:44 am Wayne Sierke wrote: > 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@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql > > > > > > > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > > "freebsd-questions-unsubscribe@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. Well I temporarily removed it and this anomaly disappeared. Perhaps we just have to suffer until we know the symlink can be removed. I thought it was going to eventually be removed... > > Did you check /etc/manpath.config and the timestamp > on /usr/local/man/whatis? > grep -v '^#' manpath.config MANDATORY_MANPATH /usr/share/man MANDATORY_MANPATH /usr/share/openssl/man OPTIONAL_MANPATH /usr/local/man MANPATH_MAP /bin /usr/share/man MANPATH_MAP /usr/bin /usr/share/man MANPATH_MAP /usr/local/bin /usr/local/man OPTIONAL_MANPATH /usr/local/lib/perl5/5.12.2/man OPTIONAL_MANPATH /usr/local/lib/perl5/5.12.2/perl/man > 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/openssl/man:/usr/local/lib/perl5/5.12.2/man:/usr/local/lib/perl5/5.12.2/perl/man > > Wayne -- 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