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

Re: [Popcon-developers] Bug#660712: popularity-contest broken with Multi-Arsch



On Tue, Apr 03, 2012 at 10:13:53PM +0200, Raphael Hertzog wrote:
> Hi,
> 
> On Tue, 03 Apr 2012, Bill Allombert wrote:
> > > /etc/cron.daily/popularity-contest:
> > > dpkg-query: error: --listfiles needs a valid package name but
> > > 'gcc-4.7-base' is not: ambiguous package name 'gcc-4.7-base' with more
> > > than one installed instance
> > 
> > I think dpkg should just report the list of files in both packages to
> > preserve the API.
> 
> It's not going to happen. This interface choice has been discussed at
> length. I don't want to rehash the discussion.

Why not ? This provides backward compatibility without affecting the new interfaces.

You required popcon to use dpkg -L because you said this is the stable interface,
but now some month later, this interface is broken even though it can be easily
kept compatible.

If it does not provide a stable interface, then I should revert to direct file
access since this is significantly faster.

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 


Reply to: