apropos returning same item twice

Steven Friedrich FreeBSD at insightbb.com
Mon Sep 27 17:05:18 UTC 2010


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


More information about the freebsd-questions mailing list