When a new package is installed (even from source), or existing ones are updated/deleted/purged, some system files seem to be updated. Which are these?
I want the files which contain the list of these packages and their status, not the packages themselves.
EDIT: A few of the files I came to know are /var/lib/dpkg/status
and /var/lib/dpkg/status-old
which get updated when you install a new package. I just want an exhaustive list of all these files.
dpkg
dpkg
keeps some information in/var/lib/dpkg/
:info/PACKAGENAME.*
(wherePACKAGENAME
is the name of the package): file list and control files from theDEBIAN/
folder inside the packagediversions
: diverted file locations, see dpkg-divertalternatives
: information for the Debian alternatives system, see update-alternativestriggers
: package triggers, see dpkg-triggerapt
/var/lib/apt/extended_states
: package information not used bydpkg
, like the auto-installed flags/var/log/apt/
: several log files