On Thu, 30 Jun 2011, Raphaël Hertzog wrote: > It's not dpkg-query --control-path that is slow.
No, it actually is quite slow, when you have to do it separately for every installed package: $ time for p in $(dpkg-query -W -f='${PackageSpec} '); do \ dpkg-query --control-path "$p" md5sums; done >/dev/null real 2m34.050s user 2m8.480s sys 0m19.140s That accounts for basically all of the time the debsums hook is now using. Besides, it’s the only thing that Stéphane’s patch changed. > It's dpkg-query --listfiles (aka dpkg -L). But debsums doesn’t have to do that for every installed package. Anders -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org