Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
'man -k' broken
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
cartpullerjack
Apprentice
Apprentice


Joined: 16 Nov 2003
Posts: 185

PostPosted: Sun Jan 18, 2004 1:10 am    Post subject: 'man -k' broken Reply with quote

This is actually something that has never worked for me in gentoo. No matter what keyword I use, man -k returns "nothing appropriate". How can I fix it?
Back to top
View user's profile Send private message
ender wiggin
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2003
Posts: 119
Location: CO

PostPosted: Sun Jan 18, 2004 1:34 am    Post subject: Reply with quote

man -k, apropos, and whatis all use the whatis database. This can be created by the command:

Code:
#/usr/sbin/makewhatis


There should probably be a cron entry to keep it up to date as man pages are added or changed.
_________________
"There is no teacher but the enemy."
Back to top
View user's profile Send private message
ender wiggin
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2003
Posts: 119
Location: CO

PostPosted: Sun Jan 18, 2004 1:36 am    Post subject: Reply with quote

Hate to reply to my own post, but makewhatis is in /etc/cron.daily,
but the command is commented out. Edit the file, and remove the # sign.
_________________
"There is no teacher but the enemy."
Back to top
View user's profile Send private message
MikePikeFL
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 78

PostPosted: Thu Nov 11, 2004 6:29 pm    Post subject: Reply with quote

AWESOME! This is one of those things that has annoyed me for a long time on Gentoo, but just enough so I didn't actually search for it. It took a long time to find it today too, but now that I know, I just emailed my friend the solution, because we've been puzzled by it for almost 2 years. It was a pain to ssh into the slackware box and run apropos!

:D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum