If you want to disable and remove apparmor, run the following commands.

This has been tested on Ubuntu 14.04.

sudo /etc/init.d/apparmor stop
sudo /etc/init.d/apparmor teardown
sudo update-rc.d -f apparmor remove