buildxpi: 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/buildxpi - from package: translate-toolkit

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