Install dh-apparmor by entering the following commands in the terminal:
sudo apt update sudo apt install dh-apparmor
AppArmor debhelper routines
dh-apparmor provides the debhelper tools used to install and migrate AppArmor profiles. This is normally used from package maintainer scripts during install and removal.