Difference between revisions of "Unattended upgrades"

From Freephile Wiki
Jump to navigation Jump to search
(add conf file)
m
 
Line 4: Line 4:
 
*[https://help.ubuntu.com/14.04/serverguide/automatic-updates.html Server Guide]
 
*[https://help.ubuntu.com/14.04/serverguide/automatic-updates.html Server Guide]
  
Configuration is in <code>/etc/apt/apt.conf.d/10periodic</code>  
+
 
 +
Configuration is in <code>/etc/apt/apt.conf.d/50unattended-upgrades</code>
 +
 
 +
Enable unattended upgrades in <code>/etc/apt/apt.conf.d/10periodic</code>  
  
 
The Server Guide suggests installing apticron to get notification emails
 
The Server Guide suggests installing apticron to get notification emails

Latest revision as of 11:15, 2 July 2017

'unattended upgrades' is the name of the package on Ubuntu that will give you automatic security updates


Configuration is in /etc/apt/apt.conf.d/50unattended-upgrades

Enable unattended upgrades in /etc/apt/apt.conf.d/10periodic

The Server Guide suggests installing apticron to get notification emails

If you're running at least 16.04, you can also sign up for the LivePatch service (free for 3 machines) which can patch the kernel without reboots. Similar services from RedHat etc. cost ~2K per year.