Package: cron
Version: 3.0pl1-128.1
Severity: wishlist
Tags: patch

Hello,

I have an i386 system which I would like to update a subset of to amd64 (a
partial cross-grade). Two of the packages which I need to install are
mythtv-{database,backend}:amd64 (from dmo) which each have a dependency on cron
which cannot be satisfied by non-multiarch cron:i386 (native for the system).

Marking the package as Multi-Arch: foreign would allow the i386 version to
satisfy those dependencies.

>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 cron 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 cron:i386 installed the mythtv-{database,backend}:amd64
dependencies are satisfied.

Thanks,
Ian.

-- Package-specific info:
--- EDITOR:
not set

--- /usr/bin/editor:
/bin/nano

--- /usr/bin/crontab:
-rwxr-sr-x 1 root crontab 40264 May  3  2015 /usr/bin/crontab

--- /var/spool/cron:
drwxr-xr-x 5 root root 4096 Oct  8 10:38 /var/spool/cron

--- /var/spool/cron/crontabs:
drwx-wx--T 2 root crontab 4096 Sep 27 09:38 /var/spool/cron/crontabs

--- /etc/cron.d:
drwxr-xr-x 2 root root 4096 Sep 23 18:14 /etc/cron.d

--- /etc/cron.daily:
drwxr-xr-x 2 root root 4096 Sep 23 18:20 /etc/cron.daily

--- /etc/cron.hourly:
drwxr-xr-x 2 root root 4096 Mar 25  2017 /etc/cron.hourly

--- /etc/cron.monthly:
drwxr-xr-x 2 root root 4096 Sep 23 18:13 /etc/cron.monthly

--- /etc/cron.weekly:
drwxr-xr-x 2 root root 4096 Jun 10 13:48 /etc/cron.weekly


-- 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 cron depends on:
ii  adduser              3.116
ii  debianutils          4.8.2
ii  dpkg                 1.18.24
ii  init-system-helpers  1.49
ii  libc6                2.24-17
ii  libpam-runtime       1.1.8-3.6
ii  libpam0g             1.1.8-3.6
ii  libselinux1          2.7-2
ii  lsb-base             9.20170808

Versions of packages cron recommends:
ii  ssmtp [mail-transport-agent]  2.64-8+b2

Versions of packages cron suggests:
ii  anacron        2.3-24
ii  checksecurity  2.0.16+nmu1
ii  logrotate      3.11.0-0.1

Versions of packages cron is related to:
pn  libnss-ldap   <none>
pn  libnss-ldapd  <none>
pn  libpam-ldap   <none>
pn  libpam-mount  <none>
pn  nis           <none>
pn  nscd          <none>

-- no debconf information
diff --git a/debian/control b/debian/control
index c55ab62..6ab8444 100644
--- a/debian/control
+++ b/debian/control
@@ -25,6 +25,7 @@ Depends:
     adduser,
     lsb-base (>= 3.0-10),
     libpam-runtime (>= 1.0.1-11)
+Multi-Arch: foreign
 Recommends:
     exim4 | postfix | mail-transport-agent
 Suggests:

Reply via email to