pkgtools: 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/pkgtools - from package: pkg-php-tools

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