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

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