Bug#688295: debsums: incorrectly reports diverted file as missing
Andreas Beckmann
anbe at debian.org
Fri Oct 16 09:57:04 UTC 2015
On 2015-10-16 11:28, Axel Beckert wrote:
>> $path = usr/sbin/update-icon-caches
>> $pack = libgtk-3-bin:i386
>> $diversions{$path} = [ usr/sbin/update-icon-caches.gtk2, libgtk-3-bin ]
>>
>> Note that $pack != $diversions{$path}[1]
libgtk-3-bin is not an M-A:same package, so it shouldn't be qualified,
this seems to be a dpkg problem:
$ dpkg-query --show -f='${binary:Package}\n' libgtk-3-bin
libgtk-3-bin
$ dpkg-query --admindir=/tmp/piupartss/tmpiAokhZ/var/lib/dpkg --show -f='${binary:Package}\n' libgtk-3-bin
libgtk-3-bin:i386
$ sudo chroot /tmp/piupartss/tmpiAokhZ dpkg-query --show -f='${binary:Package}\n' libgtk-3-bin
libgtk-3-bin
ok, adding amd64 as a foreign architecture and installing hello:amd64 in the chroot:
$ sudo chroot /tmp/piupartss/tmpiAokhZ dpkg-query --show -f='${binary:Package}\n' hello
hello:amd64
$ dpkg-query --admindir=/tmp/piupartss/tmpiAokhZ/var/lib/dpkg --show -f='${binary:Package}\n' hello
hello
I would expect the output from dpkg to be consistent from inside and
outside the chroot.
which is a regression from jessie :-( (since I recently updated my host to stretch)
(jessie is maybe not correct w.r.t. the foreign hello package):
$ /tmp/pbuilder/build/8258/usr/bin/dpkg-query --version
Debian dpkg-query package management program query tool version 1.17.25 (amd64).
$ /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
Andreas
More information about the pkg-perl-maintainers
mailing list