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

Re: apropos: warning: can't read the fallback whatis text database.

Heiko R. Selber wrote:
> On Fri, 6 Dec 1996, Fabrizio Polacco wrote:
> > On debian-user-digest "Heiko R. Selber" wrote:
> > > 
> > > How do I create the fallback whatis database? Do I need it?
> >
> > It should be created automatically.
> > Go superuser and try  mandb -c
> I did it. It said:
> [...]

it worked.
it builds an index in /var that is used by whatis and apropos commands.

You got the right direction with your original question:

> > > How do I create the fallback whatis database? Do I need it?

No, you don't need it.
the fallback database is a text database that can be created using

       whatis -M manpath -w '*' | sort > manpath/whatis

as stated in the whatis manpage.
You can do that to quiet the warning, but at the moment you don't need
that database! (you need it if you are using tkman, for example)
So the problem is in the message.
I've decided to downgrade this message to a debug warning so it will not
appear unless you use the -d option.
It will be included in the next version on man (2.3.10-16) which I hope
will go in Debian 1.2. 
When I will upload it I will CC you the changes message.

| e-mail: fpolacco@megabaud.fi    fpolacco@icenet.fi          |
| fingerprint 70 1A 72 2D 2B C8 A5 63 7A C2 CC E0 2A 54 AE DA |
| finger for PGP key: fpolacco@master.debian.org              |

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: