使用man文档时报错
Cannot open the message catalog "man" for locale "zh_CN.UTF-8"
(NLSPATH="/usr/share/locale/%l/LC_MESSAGES/%N")
No entry for scanf in section 3 of the manual
重启后 搞定!
欢迎各位兄弟 发布技术文章
这里的技术是共享的
使用man文档时报错
Cannot open the message catalog "man" for locale "zh_CN.UTF-8"
(NLSPATH="/usr/share/locale/%l/LC_MESSAGES/%N")
No entry for scanf in section 3 of the manual
重启后 搞定!
来自 http://blog.csdn.net/zhang197093/article/details/73368856
环境:fedora 12
使用man时出现错误
[root@xmsar src]$ man abc
Cannot open the message catalog "man" for locale "zh_CN.UTF-8"
(NLSPATH="/usr/share/locale/%l/LC_MESSAGES/%N")
No manual entry for abc
解决方法:将en下的man复制过来就可以了:
cp /usr/share/locale/en/LC_MESSAGES/man /usr/share/locale/zh/LC_MESSAGES/
==================================================================
在网上看到很多出现这个错误的
Cannot open the message catalog "man" for locale "zh_CN.UTF-8"
(NLSPATH="<none>")
网上的解决方法:
修改/etc/profile文件,在文件最后加上:unset MANPATH
成这个问题应该是系统更新时候没有更新/etc/profile.pacnew内容到新的/etc/profile内容里去,只能手动改。
这个请大家自己验证!