dh_apparmor: 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

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/dh_apparmor - from package: dh-apparmor

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