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

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