Unattended-Upgrades Automatically Rebooting The System

From TheBeard Science Project Wiki
Revision as of 15:30, 10 January 2017 by Beard (talk | contribs) (Created page with " When you enable automatic installation of security upgrades, it uses the <i>unattended-upgrades</i> service to managed the upgrades. If you want to make sure that this servic...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

When you enable automatic installation of security upgrades, it uses the unattended-upgrades service to managed the upgrades. If you want to make sure that this service does not automatically reboot the system, follow this procedure:

  1. Edit the file /etc/apt/apt.conf.d/50unattended-upgrades and add or edit the line: Unattended-Upgrade::Automatic-Reboot "false";
  2. Restart the service:
    sudo service unattended-upgrades restart