Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2010 02:09:15 +0930
From:      Wayne Sierke <ws@au.dyndns.ws>
To:        Steven Friedrich <FreeBSD@insightbb.com>
Cc:        Alexander Best <arundel@freebsd.org>, freebsd-questions@freebsd.org
Subject:   Re: apropos returning same item twice
Message-ID:  <1284568755.20540.634.camel@predator-ii.buffyverse>
In-Reply-To: <20100914003726.GA5762@freebsd.org>
References:  <201009111442.49114.FreeBSD@insightbb.com> <20100914003726.GA5762@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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                                        
> > 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.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?1284568755.20540.634.camel>