Translation(s): none


Unattended Upgrades

Running unattended-upgrades:

Its purpose is to keep the computer current with the latest security (and other) updates automatically. If you plan to use it, you should have some means to monitor your systems, such as installing the apt-listchanges package and configuring it to send you emails about updates. And there is always /var/log/dpkg.log, or the files in /var/log/unattended-upgrades/.

unattended-upgrades

To install these packages, run the following command as root:

The default configuration file for the unattended-upgrades package is at /etc/apt/apt.conf.d/50unattended-upgrades. The defaults will work fine, but you should read it and make changes as needed.

This section controls which packages are upgraded:

You should at least uncomment the following line:

20auto-upgrades

To activate unattended-upgrades, you need to ensure that the apt configuration stub /etc/apt/apt.conf.d/20auto-upgrades contains at least the following lines:

The file /etc/apt/apt.conf.d/20auto-upgrades can be created manually or by running the following command as root:

See Also

OR using /etc/apt/apt.conf.d/02periodic:

02periodic

To activate unattended-upgrades, you need to create the apt configuration file /etc/apt/apt.conf.d/02periodic:

Below is an example /etc/apt/apt.conf.d/02periodic:

See Also

apt-listchanges

Below is an example configuration file for apt-listchanges, /etc/apt/listchanges.conf: