pkegcs: 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/pkegcs - from package: pktools

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