The following security updates require Ubuntu Pro with 'esm-apps' enable

When I run the apt command to upgrade my Ubuntu Linux 20.04 LTS desktop developer machine, I get an error or message:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
**4 packages can be upgraded. Run 'apt list --upgradable' to see them.**
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following security updates require Ubuntu Pro with 'esm-apps' enabled:
  libgraphicsmagick-q16-3 liburiparser1 libmagickcore-6.q16-6-extra
  imagemagick libgegl-0.4-0 lynx-common libzmq5 python2.7-minimal libhdf5-103
  libmagickwand-6.q16-6 fish-common libgegl-common libldns2 python2.7
  python3-rsa lynx imagemagick-6.q16 libopenexr24 libsdl2-2.0-0 libmysofa1
  libmagickcore-6.q16-6 inetutils-traceroute fish libpython2.7-minimal
  libgraphicsmagick++-q16-12 ldnsutils libpython2.7-stdlib
  imagemagick-6-common
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages will be upgraded:
  grub-efi-amd64-bin grub-efi-amd64-signed python3-future snapd
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 standard LTS security update
Need to get 40.8 MB/41.1 MB of archives.

How do I fix this? Do I need buy an Ubuntu pro subscription? I thought Ubuntu was free :frowning: If I upgrade to Ubuntu 22.04, LTS, will this error go away?

  1. You can get Ubuntu Pro for up to 5 machines free of cost for desktop/server/VM usage[1].
  2. Login https://ubuntu.com/pro/dashboard or Ubuntu Pro | Ubuntu at
  3. You will see your key or Token at https://ubuntu.com/pro/dashboard
  4. Copy the Token/key and run the following command:
sudo apt update && sudo apt upgrade
pro --version
sudo pro attach [YOUR_TOKEN]
  1. For Ubuntu Desktop, go to “Software & Updates” and open the “Ubuntu Pro” tab. You will see it as follows:
  2. Ubuntu pro not enable? Then you can click the “Enable Ubuntu Pro” button. You can copy and paste the token into “add token manually”.
  3. Finally, run:
sudo apt update && sudo apt upgrade

What are ESM Apps, and what is the relationship between Ubuntu Pro?

Ubuntu pro reduces your average CVE exposure time from 98 days to 1 day. In addition, it includes expanded CVE patching, ten years of security maintenance, optional support and operations for the full stack of open-source applications.

In other words, ESM Apps is the designation used by Canonical for the packages in the Universe repository that gets ten years of security updates with an Ubuntu Pro subscription.

Is Ubuntu Pro subscription free?

Individual users can get a token for up to 5 free machines, including physical (bare metal server) or virtual machines (VM). But it is a paid service for companies or commercial entities.

[1]More info: https://ubuntu.com/legal/ubuntu-pro-description

1 Like

If I upgrade to Ubuntu 22.04, LTS, will this error go away?

At the moment: yes. I updated several 20.04 computers today showing the message you reported. On the 22.04 computers, there were no such messages. Maybe one more reason to upgrade :slight_smile:

1 Like

I accepted your solution. But, me thinks switching to Debian 11 desktop is the way for me. What do you think?

That is a personal choice and right to use a Linux distro that helps or solves your problem. Debian? Ubuntu? RHEL? CentOS Stream? Arch Linux? The list is endless. Choose the one that gets work done. Linux is all about choices. Ha! :smiley:

Unfortunately, I must add that the change was also added to Ubuntu 22.04 :frowning: For the time being, I uninstall all packages mentioned as esm-apps. Let’s see how long this approach will work for me.