by jeroenhd · 4y ago · 0 comments
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Try Ubuntu Pro beta with a free personal subscription on up to 5 machines.
Learn more at https://ubuntu.com/pro
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
$
This removes the spam and hopefully prevents this issue from showing up again: sudo ln -s /dev/null /etc/apt/apt.conf.d/20apt-esm-hook.conf
Can't wait for these ads to show up in the cron emails from my automated upgrade scripts. I know apt doesn't have a stable console output but I shouldn't need to defend against ads in the output.Nit: The motd has had ad's for a long time. This is about ad's in apt's output.
I did not really care back then, even happy as a teenager that I was able to use a root exploit to get root on our high school's computers. It's something that you become curious about in your 20s
>Amazon ads It was literally just an Unity bar icon and search results.
>Unity
Was awesome. Definitely not as good as GNOME 2 with the Human murrine theme but the keyboard shortcuts and the search made it a pleasure to work with
>But an ad for a pro service in the motd does it?
It's not just that. These things creep up slowly, companies start testing waters and then things progress. Look at Windows, soon you will have to pay a subscription to use it, you will own nothing.
When in the end only commercial Linux distributions get the goodies, don't be sad.
sudo rm /var/lib/ubuntu-advantage/messages/*.tmpl