2018-11-15 21:39 EST, Guillem Jover <guil...@debian.org>: > The same principle I proposed for --listfiles can be used for --search, > you'd just batch as many filenames as can possibly fit within the > command-line length limit (ARG_MAX - environment length) to reduce as > many dpkg-query calls as possible. Doing a «dpkg-query --search» call > per filename will indeed end up being very expensive.
I had no idea this was possible -- the man page doesn't really hint at this (I guess that's what the "..." meant). I have gone ahead and implemented what you describe, it should be in the next minor release of ReproZip. It also turns out to be faster. Thanks for the help! Best -- Rémi