Unattended Upgrades
Unattended Upgrades is a feature in Linux systems (especially Debian-based distributions like Ubuntu) that automatically installs security updates without user intervention. It ensures the system stays up-to-date with critical patches, reducing the risk of vulnerabilities, while minimizing the need for manual updates. The updates typically focus on security patches and essential package upgrades.
Installing Unattended upgrades feature in debin server
Now we can edit the configure file using :
Configuring Security Upgrades
In the config file look for the below section unattended-upgrade
Here the security upgrades are un commented means the following updates will be done automatically when recommended by the distribution.
To prevent MySQL and Apache2 security upgrades from being applied immediately via unattended-upgrades, you can modify the configuration to avoid upgrading these specific packages automatically. Here's how you can do that:
Unattended system reboot :
Syslog unattented-upgrades:
Download updates only on AC Power:
Removing unused dependencies :
Removing unwanted packages & dependencies is a risky options to opt for so be carefull while configuring it.
Last updated