Re: Bug#622322: popularity-contest: popcon tries to access dpkg internal files and fails with multiarch: same packageso
On Wed, Apr 20, 2011 at 10:51:57PM +0200, Raphael Hertzog wrote:
> On Wed, 20 Apr 2011, Bill Allombert wrote:
> > On Wed, Apr 20, 2011 at 09:11:59PM +0200, Raphael Hertzog wrote:
> > > On Wed, 20 Apr 2011, Bill Allombert wrote:
> > > > On my system with 1200 packages (far below the average popcon submitter),
> > > > traditional popcon take 2s. Once patched with the attached patch to use dpkg -L,
> > > > it take 30s. Slowing down 15 times popcon is not acceptable.
> > >
> > > You can invoke "dpkg -L" less often by giving multiple packages as
> > > parameters. Each set of files will be separated by an empty line.
> >
> > Good, is that behaviour documented somewhere ?
>
> man dpkg-query shows that multiple parameters are allowed, it does not
> explain that an empty line is the separator though.
Well, surely we cannot rely on such undocumented behaviour.
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
Reply to: