Get more security updates through Ubuntu Pro with ‘esm-apps’ enabled

To disable this annoying advertisement in your shell simply run

sudo dpkg-divert --divert /etc/apt/apt.conf.d/20apt-esm-hook.conf.bak --rename --local /etc/apt/apt.conf.d/20apt-esm-hook.conf

This will add .bak to the end of the file and should survive updates.