Browse guides
Keep the system up to date
Install security fixes and enable essential automatic updates.
Update packages
Refresh the package index, review available updates, then install them during a maintenance window.
sudo apt update
apt list --upgradable
sudo apt upgradeAutomate security fixes
unattended-upgrades automatically installs security updates according to your distribution settings.
sudo apt install unattended-upgrades
sudo dpkg-reconfigure -plow unattended-upgrades
systemctl status unattended-upgradesManage reboots
if [ -f /var/run/reboot-required ]; then cat /var/run/reboot-required; fi
sudo apt autoremoveBefore rebooting
Confirm that a recent backup exists and your services start automatically.