In this tutorial, We will show you step by step method to disable “Ubuntu Pro” security updates in both apt
command output and Software Updater dialog in Ubuntu 24.04 LTS. Without any further explanations, let’s have a look into the method to disable Ubuntu Pro Updates.
How To Disable Ubuntu Pro Updates In Ubuntu 24.04 Software Updater
There are multiple ways to disable Ubuntu Pro Updates in Ubuntu 24.04 Software Updater.
Method 1:
Disable the source from command line
Run the following command in your Ubuntu terminal so that you can edit the config file:
sudo nano /var/lib/ubuntu-advantage/apt-esm/etc/apt/sources.list.d/ubuntu-esm-apps.sources
Note: For Ubuntu 22.04 and Ubuntu 20.04, you may need to replace .sources
with .list
in the command.
After opening the config file, you need to comment out all the lines by using arrow keys to navigate, and adding # for each line and press Ctrl+S to save the changes that you have made and Ctrl+X to exit.
Run the following command to update the changes that you have made.
sudo apt update
Method 2:
Disable “Ubuntu Pro” software source using Graphical Way method
Follow the following steps:
- Launch Files
- Then, navigate to “Other Locations” -> Ubuntu -> var -> lib -> ubuntu-advantage -> apt-esm -> etc -> apt -> sources.list.d.
- Open the key config file for the ESM updates using system default text editor.
- Add # at the beginning for all lines.
- press Ctrl+S to save the changes that you have made.