Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 111484

Summary: man-pages ebuild doesn't update whatis database
Product: Gentoo Linux Reporter: Linux Blues <linuxblues>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Linux Blues 2005-11-04 08:30:25 UTC
I've just upgraded man-pages from 2.09 to 2.11, but man is unable to find the
new pages. The ebuild should include the following command:
/usr/sbin/makewhatis -u

Reproducible: Didn't try
Steps to Reproduce:
1. Upgrade man-pages
2. man pthreads / There's no man page about pthreads
3. man pthreads.h / displays the man.
4. makewhatis -u
5. man pthreads / displays the man
Comment 1 SpanKY gentoo-dev 2005-11-04 08:35:28 UTC
makewhatis is a cron job which will pick up the updates eventually

running makewhatis can be pretty resource intensive so i'm not keen
on auto-running it for the user
Comment 2 Sandro Bonazzola (RETIRED) gentoo-dev 2005-11-04 11:09:59 UTC
A cron daemon is not required. I know it's a good thing have one, but in order
to allow the user to chose what to do with the cron daemon and have a working
man, I think that the user should be warned to run makewhatis himself if the
ebuild don't do this. Adding a line with the warning in the ebuild is trivial
and can save other bug submission like this.
Comment 3 SpanKY gentoo-dev 2005-11-04 11:21:38 UTC
sure, i'll toss in a warning that users should run makewhatis