Guillaume TESSIER wrote:
what is this : dpkg/apt var package directories
should tell the story.
What is the absolut path of it?
There are many individual files that get updated, in directories
or in subdirectories of, /var/lib/dpkg and /var/lib/apt,
/var/cache/apt, /var/backups and perhaps others as well.
For example in /var/lib/apt/lists/ there are *Packages files which
should have the time and date stamp of the last time you updated
your package list, i.e. when you ran apt-get update or the package
update option of dselect.
To find all the files which get updated I would use something
like the following:
find /var |egrep 'dpkg|apt' |xargs ls -altd |more
If I really wanted to get fancy, and I already know e.g. that I did the
update/upgrade/install three days ago, I might try something like:
find -mtime 3 /var |egrep 'dpkg|apt' |xargs ls -altd |more
While testing out that command, I just starting with -mtime 1 and
when I got to 7 I found most of the files that changed, which means
my last major package upgrade was 7 days ago. Other files had later
timestamps, indicating that I did something like install some packages
at a later time.