After countless Gentoo installs with varying configuration options, I have never been able to obtain a listing of manpages from man using "man -k." For example, I emerged vim, and if I perform "man -k vim," man responds "vim: nothing appropriate;" but upon a man vim, I receive a man page. I made certain to install using "doc" in my use flags, so I cannot understand why this happens. Reproducible: Always Steps to Reproduce: 1.man vim 2.man -k vim 3. Actual Results: 1.) Returns VIM manpage 2.) Responds "vim: nothing appropriate." Expected Results: 1.) Return VIM manpage 2.) Return a listing of manpages containing vim. cdimage / # emerge info Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21-gss) ================================================================= System uname: 2.4.21-gss i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.4.3.8p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/ http://gentoo.noved.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/src" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acpi alsa apm arts avi berkdb bonobo cdr crypt cups curl dga directfb doc dvd dvdr emacs encode esd evo fam fbcon flac flash foomaticdb gb gdbm ggi gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml imagemagick imap imlib ipv6 java jpeg kde kerberos lcms lesstif libg++ libwww mad maildir mcal mikmod mmx motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pda pdflib perl png pnp ppds python qt quicktime readline samba scanner sdl slang speex spell sse ssl svga tcpd tetex tiff truetype unicode usb wmf wxwindows x86 xml xml2 xmms xv zlib"
Try uncommenting in /etc/cron.daily/makewhatis.cron: #/usr/sbin/makewhatis and run makewhatis once.
That appeared to fix it. I installed vixie-cron and did not modify the configuration settings, so I am curious why Gentoo would not want to re-build the listing periodically by default.
ok, the man database is updated by default now but it's installed into cron.weekly instead of cron.daily any issues i miss ?
Great work.