I need to find the last time that the
apt-get update
command was run on my server. How can I determine this information?
aptaptitudelinuxUbuntu
I need to find the last time that the
apt-get update
command was run on my server. How can I determine this information?
Best Answer
At least in Ubuntu systems there is a file /etc/apt/apt.conf.d/15update-stamp containing:
So see if you have /var/lib/apt/periodic/update-success-stamp and if you have it, you can use
command to get the the time of the last "apt-get update" invocation.
And if your system does not have that apt configuration file, you can always add it.