Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On Ubuntu 12.04 LTS, with server of 512MB RAM, the apt-check is using up to 250 memory and cause my system to un-usable every night, e.g.

ps ax | grep apt
14895 ?        DN     0:02 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
14896 ?        DN     0:02 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
14899 ?        DN     0:02 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
14902 ?        DN     0:02 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
14906 ?        DN     0:02 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
14912 ?        DN     0:02 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
14913 ?        DN     0:02 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
14914 ?        DN     0:01 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
14915 ?        DN     0:01 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
14916 ?        DN     0:02 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
14917 ?        DN     0:01 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
14920 ?        DN     0:02 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
15299 ?        DN     0:01 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
15302 ?        DN     0:02 /usr/bin/python /usr/lib/update-notifier/apt-check --human-readable
16368 pts/0    D+     0:00 grep apt

What the heck this script is running multiple time and eating my system resource? There is a bug here [1] which is confirmed but without any resolution. I am a little surprised that this bug is critical and exists in the LTS, sigh...

Anyway, Not sure when the ubuntu team is able to fix, Any idea how to do it by us?


share|improve this question
up vote 3 down vote accepted

Disable update-notifier

If you want to disable update-notifier, you can follow instruction in this link.

Modified Quote from link

  1. Method 1 - Disable for one user

    Create a local(user) copy of update-notifier.desktop

    mkdir -p ~/.config/autostart
    cp /etc/xdg/autostart/update-notifier.desktop ~/.config/autostart/
    vim ~/.config/autostart/update-notifier.desktop

    Find this line in the local file


    Replace with:


    Now log out and in again, or kill the running update-notifier:

    killall update-notifier
  2. Method 2 - Disable for all users

    Do the same as method 1, but instead of modifying a local/user copy, modify /etc/xdg/autostart/update-notifier.desktop

Manually Check for update

After disabling update-notifier, use Update Manager(GUI), or following command line to check for package update

sudo apt-get update
sudo apt-get dist-upgrade

The first line download the latest package list from repository. The second line will show all installed packages with update available.

share|improve this answer
Does this help? – John Siu Feb 4 '13 at 5:30

If you're running a server install of Ubuntu with a very limited RAM configuration, I'd suggest you disable completely the automatic actions from update-notifier. You could even remove this package.

However you might still want some automatic updates to run to ensure your system gets the security fixes. One very lightweight and handy tool to do that on a server is cron-apt, it can notify you of updates through email.

Here are some instructions to install and configure it to your needs. This article on Debian Administration is also worth reading.

share|improve this answer

On my Debian machines I prefer to install unattended-upgrades and anacron, then add the following lines to /etc/apt/apt.conf

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

This will run an "apt-get update", "apt-get upgrade" every day, in a fully automated way (and without any major overhead)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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