Upgrade and Monitor Packages on Ubuntu

It is a New Year. As I was moving my rigs around, I felt brave enough to potentially cause chaos and upgrade the packages. Mainly doing so to keep up to date on security issues.

SSHing in showed me the state of affairs:

211 packages can be updated.
4 updates are security updates.

To update the packages, type the following into terminal:

sudo apt-get update
sudo apt-get dist-upgrade

Lots of logging information should start scrolling by. If for some reason you need to track it via an actual log file, you can do the following:

tail -f /var/log/dpkg.log

Then, reboot for good measure:

sudo shutdown -r now

Next time you login, you will see all updates have been applied.

0 packages can be updated.
0 updates are security updates.