mpexpand: 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/mpexpand - from package: tcllib

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