Executing the below commands installs all updates ( includes security updates also)
sudo apt-get update
sudo apt-get upgrade
sudo apt-get update
sudo apt-get upgrade
There is a package unattended-upgrades, which provides functionality to install security updates automatically.
You could use this, but not configure the automatic part and call it manually instead, so the following should do it:
sudo unattended-upgrade
sudo unattended-upgrade
(assuming the package is installed by default, which probably is)
See also
/usr/share/doc/unattended-upgrades/README
.
No comments:
Post a Comment