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

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