Updating
Update and Upgrade π
Useful when running on servers
sudo apt update && sudo apt upgrade
Note on difference between apt
and apt-get
π
Based on this page on ITβS FOSS the apt versions of these are probably better.
Update package list π
sudo apt update
Update packages and kernel π
Source: https://www.cyberciti.biz/faq/upgrade-update-ubuntu-using-terminal/
Tested and this command did do the update for the pending kernel update.
sudo apt upgrade
Recommended command for kernel update π
Tested and just sudo apt upgrade
also updated the kernel
Sources:
sudo apt full-upgrade