scan-perl-prereqs: 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/scan-perl-prereqs - from package: libperl-prereqscanner-perl

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