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
signature.asc
Description: Digital signature