The command locate according to its manual finds files by name from a database prepared by updatedb.
If I enter that as a command, I get: updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'
According to Notes in man locate, that is the path to the database searched by default. There are other notes about compatibility which I don't understand. How do I get locate to work, please?
With thanks in advance,