"locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory" - How to solve it openSUSE Linux? [with screenshots]

Written by Administrator on Monday April 6, 2020

While installing some program or package or library on your system, you can meet an error:

locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory

Very often, problem is in out-of-date db. You can easily fix it running a command:

$ sudo updatedb

Problem is solved!

Category: linux Tags: opensuse locate