1

I'm having problems getting last update time(like I see sometimes in Update Manager).

Do you think it's possible to get from SSH a file/command that will show last update check for the current system ?

Thank you

1 Answer 1

1

Look at the /var/log/apt/history.log. This file contains information of when, what was updated and how long it took. The field 'Commandline' can also tell whether the update was run automatically or by hand.

To find out the time of last update check have a look at these files:

  • /var/lib/apt/periodic/update-stamp #the time of a daily update check
  • /var/lib/apt/periodic/update-success-stamp #the time of last update-check. For example if you have run apt-get update manually some time later
3
  • @lonut, please provide some feedback - have you tryied this? what did you get? was that helpful?
    – Pavel A
    Dec 12, 2012 at 18:49
  • hello, sorry for the late answer... what i want is to see same result as it is in the right side (last update 6 hour ago) tiikoni.com/tis/view/?id=0de5fb8 ...
    – Ionut
    Dec 17, 2012 at 14:09
  • @Ionut, updated my answer. I have also found a similar discussion here, but not all answers are correct.
    – Pavel A
    Dec 17, 2012 at 14:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .