mm-common-prepare: 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/mm-common-prepare - from package: mm-common

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