can not open ‘/var/lib/mlocate/mlocate.db’ : No such file or directory.

You might have encountered the above error at least once in your lifetime. There is a simple solution for the error. I assume that you are running Debian GNU/linux Lenny.

Step 1 : Open your terminal.

Step 2 : Login to your root account by typing su as shown in the figure below and provide password :

$ su

Step 3 : After logging into the root account, type the following command as shown in the image below and press the enter button :

# updatedb.mlocate

Step 4 : Logout of the root account and start searching your system.

The End.
 
 
Creative Commons License
This work by maniac.vardhan is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
 
 

0 comments :: can not open ‘/var/lib/mlocate/mlocate.db’ : No such file or directory.

Post a Comment