AppArmor can be disabled, and the kernel module unloaded by entering the following:
sudo /etc/init.d/apparmor stop sudo update-rc.d -f apparmor remove
To re-enable AppArmor enter:
sudo /etc/init.d/apparmor start sudo update-rc.d apparmor defaults