Package: iputils-ping
Version: 3:20161105-1
Severity: wishlist
Tags: patch
I have an i386 system which I would like to update a subset of to amd64 (a
partial cross-grade). One of the packages which I need to install is
libmyth-29:amd64 (from dmo) which has a dependency on iputils-ping which cannot
be satisfied.
Marking the package as Multi-Arch: foreign would allow the i386 version to
satisfy the dependency.
>From https://wiki.ubuntu.com/MultiarchSpec, Multi-Arch: foreign means:
The package is not co-installable and should be allowed to satisfy the
dependencies of a package of another architecture than its own.
Since iputils-ping provides /bin/ping which behaves the same whether it is i386
or amd64 I think foreign is appropriate.
The patch is so trivial I almost hesitate to attach it, but here it is. I've
tested that with this iputils-ping:i386 installed libmyth-29:amd64's dependency
is satisfied.
I've not considered it, but I suspect that most of the other binary packages
produced by this source could be similarly annotated.
Thanks,
Ian.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel, arm64
Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages iputils-ping depends on:
ii libc6 2.24-17
ii libcap2 1:2.25-1
ii libidn11 1.33-2
ii libnettle6 3.3-2
Versions of packages iputils-ping recommends:
ii libcap2-bin 1:2.25-1
iputils-ping suggests no packages.
-- no debconf information
diff --git a/debian/control b/debian/control
index 275bf93..11752e2 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Architecture: any
Provides: ping
Priority: important
Depends: ${shlibs:Depends}, ${misc:Depends}
+Multi-Arch: foreign
Recommends: libcap2-bin
Description: Tools to test the reachability of network hosts
The ping command sends ICMP ECHO_REQUEST packets to a host in order to