[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: apt-diff: a tool to diff filesystem content against APT



> 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.conf
/etc/default/acpid
/etc/acpi/events/ac
/etc/acpi/events/asus-brightness-down

No md5sums there.

> See also dpkg-query -f '${Conffiles}' -W <package>.

Aha! It gets them from /var/lib/dpkg/status. Should be easy to tap into.


Reply to: