On Thu, Dec 16, 2010 at 3:00 PM, Tristan Schmelcher
wrote:
>>> See also dpkg-query -f '${Conffiles}' -W .
>>
>> 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 f
>> See also dpkg-query -f '${Conffiles}' -W .
>
> 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.
:)
--
To UNSUBSCRIBE, email to
> The *.conffiles files in /var/lib/dpkg/info have the checksums of all
Don't seem to ...
$ cat /var/lib/dpkg/info/*.conffiles | head
/etc/a2ps.cfg
/etc/a2ps-site.cfg
/etc/emacs/site-start.d/50a2ps.el
/etc/bash_completion.d/ack-grep
/etc/acpi/events/powerbtn
/etc/acpi/powerbtn.sh
/etc/init/acpid.
> how does it deal with configurations generated in postinstall?
Only files shipped by a package (i.e., appear in its .list file) can be
diff'ed, so if a configuration file was generated from scratch in a
postinst then apt-diff can't show a diff for it. But it does keep track
of how many files it
4 matches
Mail list logo