aa-mergeprof: 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/aa-mergeprof - from package: apparmor-utils

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