For example, an Nginx automatic upgrade for a user having ModSecurity compiled will fail you often won’t need to fill anything here this is only for dedicated servers running packages that require intervention. With updates, some packages can become unstable or break entirely if you are not supervising the process. “$-backports” – this option will enable backports that are mainly used to update packages, this is normally more stable than proposed but for a blanket rule, you should investigate before turning this on as it can cause instability.To break it down even further the options that you can enable besides default: To verify, use the following command: sudo systemctl status unattended-upgrades
Once the installation has been completed, Ubuntu should start the process by default.
To do this, use the following command below: sudo apt install apt-config-auto-updateįor laptop users, you will need to install the package powermgmt-base if you plan to utilize any unattended options that use battery options. You will also need to install the apt-config-auto-update package if you want your Ubuntu system to restart after applying upgrades requiring the system restarts automatically. sudo apt update & sudo apt upgrade Install Unattended-Upgrades Packageįirstly, if you have not installed unattended-upgrades or have removed the package, you must re-install this with the following command: sudo apt install unattended-upgrades -y