English Spanish
Automatic Updates
A general rule that applies in most cases is as follows:
_If the machine is a critical server, for which unplanned downtime of a service on the machine can not be tolerated, then you should not use automatic updates. Otherwise, you *may* choose to use them._
How are automatic updates done?
You can use a service to automatically download and install any new updates (for example security updates).
The https://dnf.readthedocs.org/en/latest/automatic.html[dnf-automatic] RPM package as a link:dnf[DNF] component provides a service which is started automatically.
Install and settings of dnf-automatic
sudo dnf install dnf-automatic
env EDITOR='gedit -w' sudoedit /etc/dnf/automatic.conf
Run dnf-automatic
to enable and start the `systemd` timer.
Check status of `dnf-automatic`:
systemctl list-timers dnf-*
Changes as of Fedora 26
As of Fedora 26 there are now three timers that control dnf-automatic.
`dnf-automatic-download.timer` - Only download
`dnf-automatic-install.timer` - Download and install
`dnf-automatic-notifyonly.timer` - Only notify via configured emitters in `/etc/dnf/automatic.conf`
You can still use `download_updates` and `apply_updates` settings from inside `/etc/dnf/automatic.conf`.
Can we trust DNF updates?