How can I check the upgrade history and see what upgrades are available on Ubuntu?

Linode Staff

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.

1 Reply

Upgrade History

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 -s:

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.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct