osinfo-detect: 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/osinfo-detect - from package: libosinfo-bin

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