pegasus-keg: 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/pegasus-keg - from package: pegasus-wms

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