How to Disable apt Ubuntu Pro Advertisement
On running apt upgrade on Ubuntu 20.04 and newer, Ubuntu shows advertisement abour Ubuntu Pro subscription.
To disable the Ubuntu Pro advertisement that appears when updating apt, run
1 2 |
sudo mv /etc/apt/apt.conf.d/20apt-esm-hook.conf /etc/apt/apt.conf.d/20apt-esm-hook.conf.bak sudo touch /etc/apt/apt.conf.d/20apt-esm-hook.conf |
After running these commands, running “apt upgrade”, you won’t get the Ubuntu Pro advertisement.
Back to Ubuntu