-->
Adventures & experiences in contemporary technology
Not so long ago, I got the above message while running sudo apt upgrade
on an Ubuntu Server system. This was not the first time that this kind of thing happened to me, so I started searching the web for a solution. You do get to see complaints about advertising, but these are never useful.
Accordingly, here are some possible ways of remediating the situation:
sudo systemctl mask apt-news.service
sudo systemctl mask esm-cache.service
sudo mv /etc/apt/apt.conf.d/20apt-esm-hook.conf
/etc/apt/apt.conf.d/20apt-esm-hook.conf.disabled
ubuntu-advantage-tools
package, which contains the /etc/apt/apt.conf.d/20apt-esm-hook.conf
file.ubuntu-pro-client
package.In my case, it may have been the penultimate option on the list that I chose. In any case, I was rid of the unwanted message.