10

When upgrading system with sudo apt upgrade I'm getting the following message:

(..)
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
(..)

I know it's a paid service that can be used by up to 5 hosts/systems for free if it's for personal use, but I don't want to use it. I don't want to get more security updates and in addition, I don't want to see the above message each time I run an upgrade.

sobi3ch
  • 1,017

1 Answers1

5

There are hacky way to do it

But if you want to remove all 'pro' services then just uninstall ubuntu advantages package:

sudo apt remove ubuntu-advantage-tools

In result pro command with its esm hook will disappear from you system:

$ whereis pro
pro:

$ type /etc/apt/apt.conf.d/20apt-esm-hook.conf -bash: type: /etc/apt/apt.conf.d/20apt-esm-hook.conf: not found

sobi3ch
  • 1,017
  • 3
    Does that remove any other packages? – Organic Marble Apr 17 '23 at 12:14
  • Give it a try? You can cancel by pressing n – Gilles Quénot Apr 17 '23 at 13:03
  • pop-default-settings : Depends: ubuntu-minimal but it is not going to be installed``` – sds Apr 19 '23 at 21:48
  • This will break quite a few packages. At least, as of now. (They may have changed the dependencies since you created the answer.) For me, trying to remove ubuntu-advantage-tools says that ubuntu-minimal and updte-manager-core as well as software-properties-gtk depend on it. – atleta Jan 04 '24 at 14:04
  • But actually it's free for personal use on up to 5 machines (and it includes machines own by your own businesses). – atleta Jan 04 '24 at 14:17