How to disable the update manager popup?

Disabling the popups in the configuration seems not to be possible, as told by coteyr in the comments on this page (https://askubuntu.com/a/218780/19753: "It's important to note that other then removing update-manager-core you can't really stop the popup. You can just delay it till something else runs apt-get update" – coteyr Nov 18 '12 at 9:14).

I also wanted to get rid of the popups and of the underlying program that would consume the resources of my Ubuntu 12.04 system on a weak Toshiba AC100 (ARM) -- https://answers.launchpad.net/ac100/+question/214505/.

So the simplest working solution must be removing the "update-manager" (as I've mentioned in the comments at https://unix.stackexchange.com/a/46315/4319 ).

I have had no problems after that because I could still use apt-get or synaptic to do package updates.


Open up the config file that runs the update-manager part after apt

nano /etc/apt/apt.conf.d/99update-notifier

Add '#' infront of the line making it something similar to:

#DPkg::Post-Invoke {"if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e /var/lib/update-notifier/updates-available ]; then echo > /var/lib/update-notifier/updates-available; fi "; };

Done.

This worked for me in stopping the update manager popping up after every apt update while still allowing me to run update-manager manually if i wanted to.


Just turning off notification of updates will not be enough. There are several background jobs that run apt-get update (including a nightly cron job if I remember right).

To stop the pop-up run update-manager

Then in settings, set Update automaticly to 'Never' and Notify of new version to 'Never'

Sample settings

I suggest leave security at immediately and, setting "others" to every two weeks.

You also need to make sure your not running apt-get update anywhere else. This can happen when you install software, run update-manager, or in a cron job.

If that doesn't work for you:

You can do this by

editing /etc/apt/apt.conf.d/10periodic and changeing

APT::Periodic::Update-Package-Lists "1";

to

APT::Periodic::Update-Package-Lists "0";

Last Resort

You can also do apt-get remove update-manager to remove the feature all together.