On Sat, 2012-02-11 at 17:07:39 +0000, Ben Hutchings wrote: > Package: dpkg > Version: 1.16.2~wipmultiarch > Severity: normal > > I usually build linux-2.6 on amd64, but also test the binaries on an > i386 installation. I've been installing with --force-architecture up > until now. APT would basically ignore the foreign package; dpkg was > also happy to do this 'upgrade' to the same version with architecture > i386. > > However, with multi-arch, this happens: > > $ sudo apt-get install linux-image-3.2.0-1-amd64:i386 > linux-image-3.2.0-1-amd64:amd64- [...]
> Despite what the final message says, the files for > linux-image-3.2.0-1-amd64:i386 are installed at this point. This should be fixed now as a side effect of the proper cross-grading support I implemented some weeks ago, the bogus disappearing was due to the previous broken in-core db layout. I just tested this locally now to make sure that's the case though, here's the session (on amd64 though, but it should be equivalent): $ dpkg --print-architecture amd64 $ dpkg --print-foreign-architectures i386 $ dpkg-query -f '${db:Status-Abbrev} ${Package} ${Architecture} ${Version}\n' -W linux-image-3.2.0-2-amd64 No packages found matching linux-image-3.2.0-2-amd64. $ dpkg -i linux-image-3.2.0-2-amd64_3.2.9-1_amd64.deb Selecting previously unselected package linux-image-3.2.0-2-amd64. (Reading database ... 15193 files and directories currently installed.) Unpacking linux-image-3.2.0-2-amd64 (from linux-image-3.2.0-2-amd64_3.2.9-1_amd64.deb) ... Setting up linux-image-3.2.0-2-amd64 (3.2.9-1) ... Running depmod. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-2-amd64 /boot/vmlinuz-3.2.0-2-amd64 [...run-parts output...] $ dpkg-query -f '${db:Status-Abbrev} ${Package} ${Architecture} ${Version}\n' -W linux-image-3.2.0-2-amd64 ii linux-image-3.2.0-2-amd64 amd64 3.2.9-1 $ dpkg -i linux-image-3.2.0-2-amd64_3.2.9-1_i386.deb (Reading database ... 18646 files and directories currently installed.) Preparing to replace linux-image-3.2.0-2-amd64 3.2.9-1 (using linux-image-3.2.0-2-amd64_3.2.9-1_i386.deb) ... Unpacking replacement linux-image-3.2.0-2-amd64 ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-2-amd64 /boot/vmlinuz-3.2.0-2-amd64 Setting up linux-image-3.2.0-2-amd64 (3.2.9-1) ... Running depmod. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-2-amd64 /boot/vmlinuz-3.2.0-2-amd64 [...run-parts output...] $ dpkg-query -f '${db:Status-Abbrev} ${Package} ${Architecture} ${Version}\n' -W linux-image-3.2.0-2-amd64 ii linux-image-3.2.0-2-amd64 i386 3.2.9-1 regards, guillem -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org