Jean-Louis, thanks for preparing this patch. Unfortunately, before uploading it, I wanted to run the integration tests (test-multiarch- foreign) to make sure the bug is actually fixed; and it doesn't appear that it is:
Test for equality of apt-get install cool-bar:i386 -s … Reading package lists... Building dependency tree... The following extra packages will be installed: - bar + bar:i386 The following NEW packages will be installed: - bar cool-bar:i386 + bar:i386 cool-bar:i386 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. -Inst bar (1.0 Testcases:unstable [amd64]) +Inst bar:i386 (1.0 Testcases:unstable [i386]) Inst cool-bar:i386 (1.0 Testcases:unstable [i386]) -Conf bar (1.0 Testcases:unstable [amd64]) +Conf bar:i386 (1.0 Testcases:unstable [i386]) Conf cool-bar:i386 (1.0 Testcases:unstable [i386]) FAIL This clearly shows dependencies being followed as i386 packages on amd64; so something seems to be missing here. Attached is the test-multiarch-foreign that I've ported back to the oneiric version of apt, for reference. ** Attachment added: "test-multiarch-foreign" https://bugs.launchpad.net/ubuntu/+source/apt/+bug/850264/+attachment/3063475/+files/test-multiarch-foreign -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/850264 Title: given a foreign architecture of i386 on amd64 machine, and an outdated libc, apt tries to remove libc-bin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/850264/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs