Re: apropos returning same item twice

2010-09-27 Thread Steven Friedrich
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.5X.Org X Server 1.7.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apropos returning same item twice

2010-09-27 Thread Mike Clarke
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apropos returning same item twice

2010-09-26 Thread Steven Friedrich
On Sunday 19 September 2010 1:36:12 am Wayne Sierke wrote:
> On Fri, 2010-09-17 at 12:18 -0400, Steven Friedrich wrote:
> > 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 +, 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
> > > > > 
> > > > > > > ad...@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-unsubscr...@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
> 
> 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
> 
> with updating of the "whatis" db files. So to verify whether the weekly
> periodic "makewhatis" is being run:-
>  - check the timestamp on /usr/local/man/whatis - it shouldn't be more
> than a week old
>  - check that the "weekly run output" report lists "Rebuilding whatis
> database:" and that it doesn't list any errors, e.g.:
> 
> Rebuilding whatis database:
> 
> -- End of weekly output --
I also tried, as root in a text console (not in X), makewhatis `manpath` and 
it complained that it already visited /usr/X11R6/man, but the duplicates still 
appear.
-- 
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.5X.Org X Server 1.7.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



Re: apropos returning same item twice

2010-09-26 Thread Steven Friedrich
On Sunday 19 September 2010 1:36:12 am Wayne Sierke wrote:
> On Fri, 2010-09-17 at 12:18 -0400, Steven Friedrich wrote:
> > 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 +, 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
> > > > > 
> > > > > > > ad...@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-unsubscr...@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
> 
> 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

> with updating of the "whatis" db files. So to verify whether the weekly
> periodic "makewhatis" is being run:-
>  - check the timestamp on /usr/local/man/whatis - it shouldn't be more
> than a week old
>  - check that the "weekly run output" report lists "Rebuilding whatis
> database:" and that it doesn't list any errors, e.g.:
> 
> Rebuilding whatis database:
> 
> -- End of weekly output --
> 
ll /usr/local/man/whatis 
-rw-r--r--  1 root  wheel  369225 Sep 25 04:21 /usr/local/man/whatis
I thn manually ran sudo makewhatis /usr/local/man without error. Anomaly still 
occurs.  I'm not fully versed (yet) on makewhatis, but I think (from reading 
the description for the -a switch) that it is supposed to remove duplicate 
entries.
-- 
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.5X.Org X Server 1.7.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apropos returning same item twice

2010-09-18 Thread Wayne Sierke
On Fri, 2010-09-17 at 12:18 -0400, Steven Friedrich wrote:
> 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 +, 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
> > > > 
> > > > > > ad...@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-unsubscr...@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

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
with updating of the "whatis" db files. So to verify whether the weekly
periodic "makewhatis" is being run:-
 - check the timestamp on /usr/local/man/whatis - it shouldn't be more
than a week old
 - check that the "weekly run output" report lists "Rebuilding whatis
database:" and that it doesn't list any errors, e.g.:

Rebuilding whatis database:

-- End of weekly output --


Wayne


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apropos returning same item twice

2010-09-17 Thread Steven Friedrich
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 +, 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
> > > 
> > > > > ad...@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-unsubscr...@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.5X.Org X Server 1.7.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apropos returning same item twice

2010-09-16 Thread Wayne Sierke
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 +, 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
> > 
> > > > ad...@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-unsubscr...@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.

Did you check /etc/manpath.config and the timestamp
on /usr/local/man/whatis?

Another check is that the output of manpath(1) doesn't
include /usr/X11R6/man.


Wayne


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apropos returning same item twice

2010-09-15 Thread Steven Friedrich
On Wednesday 15 September 2010 12:39:15 pm Wayne Sierke wrote:
> On Tue, 2010-09-14 at 00:37 +, 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
> 
> > > ad...@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-unsubscr...@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?

-- 
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.5X.Org X Server 1.7.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apropos returning same item twice

2010-09-15 Thread Wayne Sierke
On Tue, 2010-09-14 at 00:37 +, 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


> > ad...@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql 
> >
> > mysql(1) - the MySQL command-line tool  
> >
> > mysql.server(1)  - MySQL server startup script
> > mysql_config(1)  - get compile options for compiling clients
> > mysql_install_db(1)  - initialize MySQL data directory
> > mysql_tzinfo_to_sql(1)   - load the time zone tables
> > mysql_upgrade(1) - check tables for MySQL upgrade
> > mysql_waitpid(1) - kill process and wait for its termination
> > mysqladmin(1)- client for administering a MySQL server
> > mysqlbinlog(1)   - utility for processing binary log files
> > mysqlbug(1)  - generate bug report
> > mysqlcheck(1)- a table maintenance program
> > mysqld_safe(1)   - MySQL server startup script safe_mysqld - MySQL 
> > server startup script
> > mysqldump(1) - a database backup program
> > mysqlimport(1)   - a data import program
> > mysqlshow(1) - display database, table, and column information
> > mysqltest(1) - program to run test cases mysqltest_embedded - 
> > program to run embedded test cases
> > slapd-ndb(5) - MySQL NDB backend to slapd
> > mysql(1) - the MySQL command-line tool
> > mysql.server(1)  - MySQL server startup script
> > mysql_config(1)  - get compile options for compiling clients
> > mysql_install_db(1)  - initialize MySQL data directory
> > mysql_tzinfo_to_sql(1)   - load the time zone tables
> > mysql_upgrade(1) - check tables for MySQL upgrade
> > mysql_waitpid(1) - kill process and wait for its termination
> > mysqladmin(1)- client for administering a MySQL server
> > mysqlbinlog(1)   - utility for processing binary log files
> > mysqlbug(1)  - generate bug report
> > mysqlcheck(1)- a table maintenance program
> > mysqld_safe(1)   - MySQL server startup script safe_mysqld - MySQL 
> > server startup script
> > mysqldump(1) - a database backup program
> > mysqlimport(1)   - a data import program
> > mysqlshow(1) - display database, table, and column information
> > mysqltest(1) - program to run test cases mysqltest_embedded - 
> > program to run embedded test cases
> > slapd-ndb(5) - MySQL NDB backend to slapd
> > 
> > -- 
> > 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.5X.Org X Server 1.7.5
> 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apropos returning same item twice

2010-09-14 Thread Alexander Best
On Tue Sep 14 10, Steven Friedrich wrote:
> On Monday 13 September 2010 8:37:26 pm 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
> > 
> 
> 
> 
> find /usr -name mysql.1\* only returned one hit.
> /usr/local/man/man1/mysql.1.gz

hmmm...dunno then. might be a bug?

maybe you could check out this thread [1]. man, apropos, manpath and whatis
will soon be replaced by a BSD variant. if you want to try it out be sure to
get the latest release (the .shar file). if you still experience the same
problem with it you might want to write gordon about it.

cheers.
alex

[1] http://www.mail-archive.com/freebsd-curr...@freebsd.org/msg124238.html

> -- 
> 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.5X.Org X Server 1.7.5

-- 
a13x
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apropos returning same item twice

2010-09-14 Thread Steven Friedrich
On Monday 13 September 2010 8:37:26 pm 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
> 



find /usr -name mysql.1\* only returned one hit.
/usr/local/man/man1/mysql.1.gz
-- 
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.5X.Org X Server 1.7.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apropos returning same item twice

2010-09-13 Thread Alexander Best
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

> 
> 
> 
> 
> ad...@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql   
>  
> mysql(1) - the MySQL command-line tool
>  
> mysql.server(1)  - MySQL server startup script
> mysql_config(1)  - get compile options for compiling clients
> mysql_install_db(1)  - initialize MySQL data directory
> mysql_tzinfo_to_sql(1)   - load the time zone tables
> mysql_upgrade(1) - check tables for MySQL upgrade
> mysql_waitpid(1) - kill process and wait for its termination
> mysqladmin(1)- client for administering a MySQL server
> mysqlbinlog(1)   - utility for processing binary log files
> mysqlbug(1)  - generate bug report
> mysqlcheck(1)- a table maintenance program
> mysqld_safe(1)   - MySQL server startup script safe_mysqld - MySQL 
> server startup script
> mysqldump(1) - a database backup program
> mysqlimport(1)   - a data import program
> mysqlshow(1) - display database, table, and column information
> mysqltest(1) - program to run test cases mysqltest_embedded - 
> program to run embedded test cases
> slapd-ndb(5) - MySQL NDB backend to slapd
> mysql(1) - the MySQL command-line tool
> mysql.server(1)  - MySQL server startup script
> mysql_config(1)  - get compile options for compiling clients
> mysql_install_db(1)  - initialize MySQL data directory
> mysql_tzinfo_to_sql(1)   - load the time zone tables
> mysql_upgrade(1) - check tables for MySQL upgrade
> mysql_waitpid(1) - kill process and wait for its termination
> mysqladmin(1)- client for administering a MySQL server
> mysqlbinlog(1)   - utility for processing binary log files
> mysqlbug(1)  - generate bug report
> mysqlcheck(1)- a table maintenance program
> mysqld_safe(1)   - MySQL server startup script safe_mysqld - MySQL 
> server startup script
> mysqldump(1) - a database backup program
> mysqlimport(1)   - a data import program
> mysqlshow(1) - display database, table, and column information
> mysqltest(1) - program to run test cases mysqltest_embedded - 
> program to run embedded test cases
> slapd-ndb(5) - MySQL NDB backend to slapd
> 
> -- 
> 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.5X.Org X Server 1.7.5

-- 
a13x
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


apropos returning same item twice

2010-09-11 Thread Steven Friedrich
Why does apropos list mysql(1) twice?

It doesn't return duplicates with apropos kde...




ad...@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql 
   
mysql(1) - the MySQL command-line tool  
   
mysql.server(1)  - MySQL server startup script
mysql_config(1)  - get compile options for compiling clients
mysql_install_db(1)  - initialize MySQL data directory
mysql_tzinfo_to_sql(1)   - load the time zone tables
mysql_upgrade(1) - check tables for MySQL upgrade
mysql_waitpid(1) - kill process and wait for its termination
mysqladmin(1)- client for administering a MySQL server
mysqlbinlog(1)   - utility for processing binary log files
mysqlbug(1)  - generate bug report
mysqlcheck(1)- a table maintenance program
mysqld_safe(1)   - MySQL server startup script safe_mysqld - MySQL 
server startup script
mysqldump(1) - a database backup program
mysqlimport(1)   - a data import program
mysqlshow(1) - display database, table, and column information
mysqltest(1) - program to run test cases mysqltest_embedded - 
program to run embedded test cases
slapd-ndb(5) - MySQL NDB backend to slapd
mysql(1) - the MySQL command-line tool
mysql.server(1)  - MySQL server startup script
mysql_config(1)  - get compile options for compiling clients
mysql_install_db(1)  - initialize MySQL data directory
mysql_tzinfo_to_sql(1)   - load the time zone tables
mysql_upgrade(1) - check tables for MySQL upgrade
mysql_waitpid(1) - kill process and wait for its termination
mysqladmin(1)- client for administering a MySQL server
mysqlbinlog(1)   - utility for processing binary log files
mysqlbug(1)  - generate bug report
mysqlcheck(1)- a table maintenance program
mysqld_safe(1)   - MySQL server startup script safe_mysqld - MySQL 
server startup script
mysqldump(1) - a database backup program
mysqlimport(1)   - a data import program
mysqlshow(1) - display database, table, and column information
mysqltest(1) - program to run test cases mysqltest_embedded - 
program to run embedded test cases
slapd-ndb(5) - MySQL NDB backend to slapd

-- 
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.5X.Org X Server 1.7.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"