Package: dpkg
Version: 1.18.3
Severity: important
Control: block 688295 with -1

Host: stretch, amd64 (foreign: i386)
chroot: sid, i386 (foreign: amd64)
the chroot has the native libgtk-3-bin and the foreign hello:amd64 packages 
installed

# inside the chroot
$ sudo chroot /tmp/piupartss/tmpiAokhZ dpkg-query  --show 
-f='${binary:Package}\n' libgtk-3-bin hello libc6
hello:amd64
libc6:amd64
libc6:i386
libgtk-3-bin

# with dpkg 1.18.3
$ dpkg-query --admindir=/tmp/piupartss/tmpiAokhZ/var/lib/dpkg --show 
-f='${binary:Package}\n' libgtk-3-bin hello libc6
hello
libc6:amd64
libc6:i386
libgtk-3-bin:i386

# with dpkg 1.17.25
$ /tmp/pbuilder/build/8258/usr/bin/dpkg-query 
--admindir=/tmp/piupartss/tmpiAokhZ/var/lib/dpkg --show 
-f='${binary:Package}\n' libgtk-3-bin hello libc6
hello
libc6:amd64
libc6:i386
libgtk-3-bin

I would expect the output to be consistent inside and outside the chroot
but now with 1.18.3 the output is relative to the host architecture,
not the admindir architecture which is a regression from jessie and breaks
debsums. (jessie was not correct w.r.t. to the foreign arch package hello
either but at least the native libgtk-3-bin was OK).


Andreas

Reply via email to