aefinish: 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/aefinish - from package: aegis

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