ui-auto-env: 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/ui-auto-env - from package: ui-auto

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