depgen.pl: 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/lib/ace/bin/depgen.pl - from package: libace-dev

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