>> See also dpkg-query -f '${Conffiles}' -W <package>.
>
> Aha! It gets them from /var/lib/dpkg/status. Should be easy to tap into.
>
>
I've changed apt-diff to make use of this, and it has improved speed
by 25% when diff'ing my entire filesystem! Takes only 6 minutes now.
:)