Suppose this situation:
There is a sudden problem on my Ubuntu system that was working properly. After trying various approach to solve the problem, I guess that a package update caused the problem.
I know the exact date and time of first occurrence of the problem and also know that the problem was not present just 1 hour before that time. Now, I need to know if there was any package updated in this 1 hour time space.
Is there any command that list any package updates in a specific time space?
Asked
Active
Viewed 140 times
0

PHP Learner
- 2,788
- 10
- 30
- 48
-
I don't think so, but there are useful log files in /var/log/apt that you can have a look at, with dates and times of operations. – dadexix86 Feb 22 '16 at 11:22
1 Answers
2
Yes, you can run the following commands which will print timestamps and changes:
cat /var/log/dpkg.log
and
cat /var/log/apt/history.log
I think you are looking for the first one as that should show all changes made through dpkg and not just the manual apt-get commands run like the second one does although they are both helpful.

mchid
- 43,546
- 8
- 97
- 150