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

Philipp Kern pkern at debian.org
Mon Feb 13 18:46:25 UTC 2012


On Mon, Feb 13, 2012 at 07:27:18PM +0100, Bill Allombert wrote:
> popcon actually uses:
> dpkg-query --show --showformat='${status} ${package}\n'
> and
> dpkg -L $pkg
> 
> What does that give on your system?

dpkg-query with those options does not output any arch qualifiers, just the
basenames (libc6-i686 and mksh).

$ dpkg-query --show --showformat='${status} ${package}\n' | egrep '(libc6-i686|mksh)'
install ok installed libc6-i686
install ok installed mksh

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

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.

Kind regards,
Philipp Kern
-- 
 .''`.  Philipp Kern                        Debian Developer
: :' :  http://philkern.de                         Stable Release Manager
`. `'   xmpp:phil at 0x539.de                         Wanna-Build Admin
  `-    finger pkern/key at db.debian.org
-------------- 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/47e94c8e/attachment.pgp>


More information about the Popcon-developers mailing list