mugshot: 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/mugshot - from package: mugshot

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