[Popcon-developers] Bug#659782: Bug#659782: does not cope with multiarch packages being installed

Philipp Kern pkern at debian.org
Mon Feb 13 21:33:36 UTC 2012


On Mon, Feb 13, 2012 at 08:10:44PM +0100, Bill Allombert wrote:
> > However ${binary:Package} gives the correct result for the m-a:same package:
> > 
> > $ dpkg-query --show --showformat='${status} ${binary:Package}\n' | egrep '(mksh|libc6-i686)'
> > install ok installed libc6-i686:i386
> > install ok installed mksh
> 
> Unfortunately, that does not work with the version of dpkg in Sid
> (${binary:Package} expand to the empty string).

Oh sorry, didn't know that.  This is with the multiarch enabled dpkg
in experimental.

> > But not for the foreign one.
> > 
> > `dpkg -L libc6-i686:i386' gives me a filelist, without the arch qualifier it
> > fails with the same error as in the cron mail.
> 
> So are you suggesting that dpkg should use ${binary:Package} ?
> Could you patch /usr/sbin/popularity-contest line 161 to add binary: and check whether
> it works correctly ?
> 
> Or did I misunderstand something ?

This only helps for the libc6-i686:i386 m-a same case (but it does
help there).  It doesn't for the mksh:i386 m-a foreign case.

dpkg devs cc'ed in the hope that they can contribute why -L behaves
differently and how one should solve this…

Kind regards
Philipp Kern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/popcon-developers/attachments/20120213/03f5873b/attachment.pgp>


More information about the Popcon-developers mailing list