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

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