Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
不能正常使用updatedb命令的解决办法
Experiences and Insight
610
views ·
1
replies ·
To
floor
Go
攻城狮
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
Like 0
Favorite
View the author
All Replies
jingle
deepin
2017-05-20 00:20
#1
good
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Four agent skills for laptop power, sleep, and honest bug reports
Installing qemu-user breaks deepin
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
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