gvfs-mime: 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/gvfs-mime - from package: gvfs-bin

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