kpagsh: 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/kpagsh - from package: heimdal-clients

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