4

It has been several months since I upgraded my Ubuntu version. How can I find the date that I upgraded?

It has been suggested to look in the directory /var/log/dist-upgrade but this directory is empty on my system.

72saab
  • 125
  • 6

1 Answers1

1

Logs for the upgrade are found in

/var/log/dist-upgrade

Mine looks like this

-rw------- 1 root root 511516 Jul 19 19:05 apt-clone_system_state.tar.gz
-rw-r--r-- 1 root root 428135 Jul 19 19:28 apt.log
-rw-r----- 1 root adm  636471 Jul 19 19:28 apt-term.log
-rw-r--r-- 1 root root 116390 Jul 19 19:28 history.log
-rw-r--r-- 1 root root   1125 Jul 19 19:05 lspci.txt
-rw-r--r-- 1 root root  64976 Jul 19 19:29 main.log
-rw-r--r-- 1 root root     78 Jul 19 19:29 xorg_fixup.log

Presumably I upgraded this VM on July 19th.

Organic Marble
  • 23,641
  • 15
  • 70
  • 122
  • If future users want to use this, they will have to check a different file, yes? I assume if they upgrade to a stable version, it would just be /var/log/upgrade? – David Sep 24 '16 at 21:27
  • I don't think you are correct. Every upgrade I have done (including to 16.04.1 LTS) uses this folder. – Organic Marble Sep 24 '16 at 21:45
  • Sadly, when looking for references on this, I discovered that this question is a duplicate of https://askubuntu.com/questions/130969/can-i-look-at-the-upgrade-log-after-a-distribution-upgrade – Organic Marble Sep 24 '16 at 21:49
  • That reference does not provide an answer for this case, as the directory being mentioned is empty. – Thomas Nov 18 '16 at 12:27