On Wed, Apr 20, 2011 at 04:10:58PM -0500, Jonathan Nieder wrote: > Hi, > > Bill Allombert wrote: > > > This is not possible: forking dpkg for all installed packages would be way > > to slow and > > resource intensive. We need a better option. > > Bonus points if this interface has an option to point to the file on > disk rather than asking the caller to take care of tracking down > diversions. > > Of course alternative methods might be possible; I ask the above > because I am worried about the memory usage from > "dpkg-query -L $(list-all-packages)".
Another issue with 'dpkg-query -L $(list-all-packages)' is that it is not portable to system with a command-line length limit. I suppose popcon will have to process packages by chunk of 100, say. Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org