So I've been doing lots of stuff with Ubuntu recently, including containers, Virtual Servers AND Virtual Machines ...
And I remember to run: -
sudo apt-get update
but then wonder why my packages don't get ... updated !
It's simple ... I've run the update which effectively refreshes the list of packages available .... but NOT remembered to run the corollary upgrade process: -
sudo apt-get upgrade -y
which actually performs the update ( or, if you will, upgrade to the updated packages )
I can concatenate this: -
sudo apt-get update && sudo apt-get upgrade -y
which does the job nicely.
If it helps, the auto-complete behaviour of most shells does help ....
Type sudo apt-get and then press the [TAB] key ...
sudo apt-get
autoclean build-dep check dist-upgrade dselect-upgrade purge source upgrade
autoremove changelog clean download install remove update
If I'm feeling really brave, I'll do this: -
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade -y
which upgrades the underlying Ubuntu distribution ....
But that's for the brave ! YMMV