On Sat, 7 Jul 2018 11:40:54 +0300 "Yuriy M. Kaminskiy" <yumkam+deb...@gmail.com> wrote: > Package: debhelper > Version: 10.2.5 > Severity: minor > Tags: patch > > Dear Maintainer, > > On Multi-Arch i386+amd64 system, when I have foo:amd64 (Multi-Arch: > foreign), I can install useless foo-dbgsym:i386 (and reverse). > > I think (at least, 'Multi-arch: foreign' *and* 'Architecture' != all) > packages should have explicit parent package arch dependency > Depend: foo:${Arch} (=${binary:Version}) > instead of > Depend: foo (=${binary:Version}) > Untested patch against debhelper 11.3.5 attached (please review > carefully, I'm neither M-A nor debhelper expert). > > References: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678896 > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676653 > > [...] Hi,
Thanks for filing the bug. I believe you are correct that the dependency is too weak. But my understanding is that "pkg:<arch>" dependencies are poorly supported. Accordingly, I am not sure it is possible to fix this bug at the moment. (CC'ing Helmut, whom I hope could remind me if "pkg:<arch>" support is good enough to rely on it or if he has a different take on the problem). Thanks, ~Niels