How can I check the upgrade history and see what upgrades are available on Ubuntu?
I've inherited an Ubuntu 14.04 LTS system and am trying to determine the last time it was updated, as well as whether any further upgrades are available.
You can view your system's upgrade history in your
apt logs at the following location:
You could also review timestamp files to see your system's most recent periodic updates with the following command:
ls -l /var/lib/apt/periodic/
Checking Further Upgrades
The best way to see what upgrades are available would be to resynchronize package index files from their sources, then perform a dry run of the upgrade process to see what changes would be made with the following command:
sudo apt-get update && apt-get upgrade -s
You could then proceed with an upgrade by removing the
sudo apt-get upgrade
If you're worried about breaking your configuration, it's always a good idea to Backup your system with a Manual Snapshot prior to upgrading.