不能正常使用updatedb命令的解决办法
Tofloor
poster avatar
攻城狮
deepin
2017-05-19 23:30
Author
本帖最后由 bingeneral 于 2017-6-10 11:08 编辑

1、提示bash: updatedb: 未找到命令
  • 解决办法:# apt install mlocate
2、updatedb运行时间过长(首次运行一般不超过20分钟,几个小时都执行不完的肯定有问题了!)
  • 解决办法:①# apt update
                           ②# apt upgrade
                           ③根据提示输入Y或I
                           ④# updatedb
  • 解决办法(0.26-2之前的版本):①# gedit /etc/updatedb.conf
                                                                        ②在PRUNEPATHS属性中添加/root/.avfs /home/`users`/.avfs
                                                                        
③# source
/etc/updatedb.conf
                                                                        ④# updatedb

Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-05-20 00:20
#1
good
Reply View the author