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

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