I would like to know in advance which files would be deleted if I ran apt purge <pkg>
and that would not be deleted by running the apt remove <pkg>
command.
Is there some CLI voodoo better that running both command with -s and comparing the results?
If the only difference between remove and purge are the config files and only the config files (still not 100% sure about that), this should answer my question:
dpkg-query --showformat='${Conffiles}\n' --show <package>
Am I wrong?