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

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