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.
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.