ubinfo: 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/sbin/ubinfo - from package: mtd-utils

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