[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apropos does nothing



On Tue, Jan 22, 2002 at 10:20:12AM +0000, Karl E. Jorgensen wrote:
> On Mon, Jan 21, 2002 at 07:29:11PM -0800, Jeffrey W. Baker wrote:
> > Somehow I have an unstable installation where apropos doesn't do a damn
> > thing:
> > 
> > jwb@noodles:/var$ apropos ls
> > ls: nothing appropriate.
> > jwb@noodles:/var$ apropos apropos
> > apropos: nothing appropriate.
> > [snip]
> 
> I've had that problem from time to time (especially after upgrades).

What kind of upgrades?

> Running
>     # mandb
> sorts it out.

I advise running it as the 'man' user rather than root. If you have the
man-db utilities installed setuid, you can do it as an ordinary user.

> There *should* be a weekly cron job (/etc/cron.weekly/man-db) that does
> that (at least there is here, and I didn't create it...)

Yes, there is, and in cron.daily. The manual database doesn't get
updated as insanely often as it used to, because that annoyed the hell
out of people who were just trying to view individual pages. This may
mean you need to run mandb yourself if you want things to show up in the
database in a hurry.

If it isn't up to date after a cron.daily run, please investigate and
see if mandb is segfaulting, in which case I'd like to know about it.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: