admin管理员组文章数量:1658762
执行man -k或man -f 出现nothing appropriate,同时还发现whatis 也是如此。
root@ubuntu01:~# whatis man
man: nothing appropriate.
root@ubuntu01:~# whatis ls
ls: nothing appropriate.
执行makewhatis无效,需执行mandb建立索引,问题解决。
root@ubuntu01:~# makewhatis
makewhatis: command not found
root@ubuntu01:~# mandb
Processing manual pages under /usr/share/man...
Updating index cache for path `/usr/share/man/man8'. Wait...mandb: can't open /usr/share/man/man8/smtp.8: No such file or directory
mandb: warning: /usr/share/man/man8/lmtp.8postfix.gz: bad symlink or ROFF `.so' request
Updating index cache for path `/usr/share/man/man7'. Wait...done.
Checking for stray cats under /usr/share/man...省略
3237 manual pages were added.
0 stray cats were added.
0 old database entries were purged.
root@ubuntu01:~# whatis ls
ls (1) - list directory contents
root@ubuntu01:~# m
本文标签: man
版权声明:本文标题:ubuntu16.04下,man: nothing appropriate.问题解决 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1726297401a1064773.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论