Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I have set up 'unattended upgrades' on a 12.04 LTS machine. It's working quite fine with the exception of that it doesn't reboot even though all config files have been set to enable this.

Config files under /etc/apt/apt.conf.d:


/var/run/reboot-required exists and has the contents "\*\*\* System restart required \*\*\*"

Actually now that I'm thinking of it unattended upgrades is having some problems sending email to the recipient due to network/mail issues. This is the only (albeit remote) source of trouble I can think of.

share|improve this question
up vote 1 down vote accepted

Well I be damned, it proved to be the mailing issue all along. Once we sorted out the email problems 'unattended upgrades' rebooted the system just as intended.

share|improve this answer

Normally the /var/run/reboot-required is only set whenever the kernel (I think libc too) is updated, the services are restarted when upgrading, and since GNU/Linux is a modular OS, you won't need to restart for almost anything, but kernel.

If your system don't reboot, it may be due no new kernels available. If you are not sure, you can check /var/log/unattended-upgrades/unattended-upgrades.log and unattended-upgrades-shutdown.log. apt also have some hooks that trigger this, just didn't found the documentation.

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.