ossdetect: 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/sbin/ossdetect - from package: oss4-base

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