updatedb.mlocate: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/updatedb.mlocate - from package: mlocate

You may install the required package with command apt-get install {package}
Error in other languages:
updatedb.mlocate: bevel nie gevind nie
updatedb.mlocate: comandă negăsită
updatedb.mlocate: comando não encontrado
updatedb.mlocate: commande introuvable
updatedb.mlocate: command not found
updatedb.mlocate: käsku ei ole
updatedb.mlocate: không tìm thấy lệnh
updatedb.mlocate: komanda nerasta
updatedb.mlocate: Kommando nicht gefunden.
updatedb.mlocate: kommandot finns inte
updatedb.mlocate: komut yok
updatedb.mlocate: nie znaleziono polecenia
updatedb.mlocate: níor aimsíodh an t-ordú
updatedb.mlocate: no se encontró la orden
updatedb.mlocate: no s'ha trobat l'ordre
updatedb.mlocate: opdracht niet gevonden
updatedb.mlocate: parancs nem található
updatedb.mlocate: perintah tidak ditemukan
updatedb.mlocate: príkaz nenájdený
updatedb.mlocate: příkaz nenalezen
updatedb.mlocate: команда не найдена
updatedb.mlocate: командата не е открита
updatedb.mlocate: 命令找不到
updatedb.mlocate: コマンドが見つかりません