mtp-format: 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 CentOS possible default full paths are:

/usr/bin/mtp-format - from package: libmtp-examples

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/mtp-format - from package: mtp-tools

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