pto_template: 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/pto_template - from package: hugin-tools

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