desktop-check-mime-types: 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/desktop-check-mime-types - from package: gnome-pkg-tools

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