Forum archive
locate and mlocate missing
I'm using trac-11.0-lucid-x86 as an Amazon EC2 AMI.
I noticed that I could not use "locate" or "mlocate" commands.
$ locate test -bash: locate: command not found
I looked and could not find the files in /usr/bin/ nor updatedb.sh
I tried installing findutils and it says that it is already installed.
root@servername /# apt-get install findutils Reading package lists... Done Building dependency tree Reading state information... Done findutils is already the newest version.
I was under the impression that these were part of Ubuntu 10.04 LTS core.
But TKL is build from scratch using an Ubuntu 10.04 based JeOS with Ubuntu 10.04 packages rather than a reduced/improved Ubuntu 10.04 Server install.
locate and mlocate appear to be separate packages, try: