affrecover: 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/affrecover - from package: afflib-tools

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