Unattended-Upgrade is a package that can be installed on Ubuntu and Debian systems to automatically install security updates without any user intervention. This is a great way to keep your system up-to-date and secure.
We may also notice following error if it's missing from your server.
-bash: unattended-upgrade: command not found
In this tutorial, we'll show you how to install Unattended-Upgrade on Ubuntu and Debian systems.
Step 1: Update the package list
Before installing any package, it's a good idea to update the package list:
sudo apt update
This command updates the package list on the system.
Step 2: Install Unattended-Upgrade
To install Unattended-Upgrade, use the following command:
sudo apt install unattended-upgrades
This command installs the Unattended-Upgrade package on the system.
Step 3: Verify the installation
To verify that Unattended-Upgrade has been installed correctly, you can use the following command:
dpkg -l unattended-upgrades
This command shows the version of the Unattended-Upgrade package that is installed on the system.
Step 4: Conclusion
In this tutorial, we have shown you how to install Unattended-Upgrade on Ubuntu and Debian systems. With Unattended-Upgrade, you can ensure that security updates are installed automatically without any user intervention. This is a great way to keep your system up-to-date and secure.,
Comments
Post a Comment