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

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