Amaresh Rajaratnam

Official Website of Amaresh Rajaratnam | Entrepreneur

Articles

How to install security updates from command line

Posted by Amaresh on June 4, 2017 at 4:15 AM



The package unattended-upgrades provides functionality to install security updates automatically.


You could use this, but instead of configuring the automatic part you could call it manually. For this case, the following should do it quietly:


sudo unattended-upgrades


or more verbose version, for controlling how it goes


sudo unattended-upgrades -d


This assumes that the package is installed by default, which it probably is. If not, just do:

 

sudo apt-get install unattended-upgrades

See also /usr/share/doc/unattended-upgrades/README.md.

Categories: Information Technology

Post a Comment

Oops!

Oops, you forgot something.

Oops!

The words you entered did not match the given text. Please try again.

Already a member? Sign In

0 Comments