I recently ran
dpkg-query -L $package on the same package a couple of times and got different results. The difference is that one file, the one we'll refer to as
$file, is missing.
In between the two commands I did some mucking around with that package, running both
dpkg-reconfigure $package and
aptitude reinstall $package, and also deleting the
The package version (as shown by
aptitude show $package) is still the same as it was when I did the first
I'm a bit confused as to how
dpkg-query -L generates its list; I thought that it was showing the actual contents of the package itself, but this data seems to imply that its results are related to the actual system state.
Restoring the file does not change the output of
dpkg-query -L $package.
dpkg-query -L generate its list of files?