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

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