virt-index-validate: 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/virt-index-validate - from package: libguestfs-tools

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