You are not logged in.

#1 2013-07-21 09:14:55

wangchong
Member
Registered: 2013-06-25
Posts: 76

[Solved]'whatis' is not working

Hi, all.
I'v been learning linux these days and encountered a problem this morning. It seems that my 'man' 'whatis' 'makewhatis' is broken. Here's a few examples:

[root@wangchong-pc wangchong]# man -k passwd
passwd: nothing appropriate.
[root@wangchong-pc wangchong]# whatis passwd
passwd: nothing appropriate.
[root@wangchong-pc wangchong]# makewhatis
bash: makewhatis: command not found

I found a relevant topic but it was not answered:
https://bbs.archlinux.org/viewtopic.php?id=102211

Last edited by wangchong (2013-07-22 03:05:49)

Offline

#2 2013-07-21 09:16:34

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [Solved]'whatis' is not working

Do you have a cron daemon running (which will update the mandb)?


This silver ladybug at line 28...

Offline

#3 2013-07-21 11:30:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved]'whatis' is not working

according to pkgfile, no package in the repos provides makewhatis.

Offline

#4 2013-07-21 12:38:14

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [Solved]'whatis' is not working

`makewhatis` seems to be a BSD command; in the world-dominating Arch we use `mandb`.


This silver ladybug at line 28...

Offline

#5 2013-07-21 23:07:26

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [Solved]'whatis' is not working

Apparently cron does this so well on Linux that I only just learnt from this thread that makewhatis does not apply. On OS X, I seemed to need to do it a lot.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2013-07-22 03:05:31

wangchong
Member
Registered: 2013-06-25
Posts: 76

Re: [Solved]'whatis' is not working

Well, 'mandb' solved this problem and I enabled cronie.service. I didn't know 'makewhatis' doesn't apply.

Offline

Board footer

Powered by FluxBB