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

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