4

Ubuntu 18.04. Every time I run an apt-get upgrade cycle, a "Software Updater" GUI will pop up when it's done. It doesn't seem to add anything to the process and is annoying, so I want it to stop existing.

How do I make it go away? I can't find any settings for it.

2
  • Does gsettings get com.ubuntu.update-notifier no-show-notifications return false? Jul 9, 2020 at 0:03
  • 1
    @PabloBianchi Returns true and I still get those popups... Apr 16, 2021 at 15:58

4 Answers 4

6

Try two possible options:

  1. Disable from Settings -> Notifications -> Software Updater. Note there is also Settings -> Notifications -> Ubuntu Software with the same settings, I am not certain if it produces the same behavior.

    screenshot

  2. At the command line, gsettings set com.ubuntu.update-notifier no-show-notifications true. You can also set it via GUI with the very useful dconf-editor (you can install it if you don't have it).

2

How to turn off Software updater? (Xubuntu)

the answer given that unchecks the Update Notifier under "Startup Applications" is the one that I would use. I had to check "show hidden" to see it...

2

Remove update-notifier

sudo apt-get remove update-notifier

Please note that, this will remove only the graphic way to do system updates.. You can still do your upgrades using commands or Synaptic.

Want To Disable/Remove Update Manager :

Open the terminal (Ctrl+Alt+T) and run the following command to disable the Update Manager auto notification on Ubuntu systems:

gconftool -s --type bool /apps/update-notifier/auto_launch false

To re-enable the Update Manager auto notification, run this command:

gconftool -s --type bool /apps/update-notifier/auto_launch true

If you wish to remove the Update Manager package completely, run the following command:

sudo apt-get remove update-manager

And to restore it again, run:

sudo apt-get install update-manager

Uninstall update-manager To remove just update-manager package itself from Ubuntu execute on terminal:

sudo apt-get remove update-manager

Uninstall update-manager and it's dependent packages

To remove the update-manager package and any other dependant package which are no longer needed from Ubuntu.

sudo apt-get autoremove update-manager

Purging update-manager

If you also want to delete configuration and/or data files of update-manager from Ubuntu then this will work:

sudo apt-get purge update-manager

To delete configuration and/or data files of update-manager and it's dependencies from Ubuntu then execute:

sudo apt-get autoremove --purge update-manager

Please note that disabling Ubuntu Update Manager is not recommended. It is very important to update the Ubuntu systems at regular interval.

1
  • 3
    Warning! "sudo apt-get remove update-notifier" will remove the Ubuntu Desktop.
    – LarsJoo
    Jan 18, 2021 at 9:57
0

I did not actually test this with 18.04 but as long as the UpdateManager python package present in the installation I suppose it will work.

In text editor with root privileges open UpdateManager.py

sudo gedit /usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py

In function UpdateManager.start_available (string # 236) insert return statement, so as the result looks like:

def start_available(self, cancelled_update=False, error_occurred=False):
    self._look_busy()
    self.refresh_cache()

    return   # <<<--- added statement

    pane = self._make_available_pane(self.cache.install_count,
                                     os.path.exists(REBOOT_REQUIRED_FILE),
                                     cancelled_update, error_occurred)
    self._start_pane(pane) 

Save the file and that will do the job.

Of course, you can easily revert it back by just removing or commenting out the return statement

I tested this with 21.10 and 22.04 although UpdateManager.start_available function body is slightly different there.

Hope it will help :-)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.