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

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