pnminterp-gen: 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/pnminterp-gen - from package: netpbm

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