Hi!

On Sun, 2026-05-10 at 13:04:59 +0530, Nilesh Patra wrote:
> diff --git a/policy/ch-controlfields.rst b/policy/ch-controlfields.rst
> index 69467c4..f4d5fe9 100644
> --- a/policy/ch-controlfields.rst
> +++ b/policy/ch-controlfields.rst
> @@ -1381,8 +1381,10 @@ A Debian installation can combine packages from 
> multiple architectures.
>  The ``Multi-Arch`` field enables individual packages to declare their
>  support for this feature, and influences the way dependencies are
>  handled.  It can be declared in binary package sections of a source
> -package template control file and in binary package control files.  The
> -permitted field values are ``no`` (default), ``foreign``, ``same`` and
> +package template control file and in binary package control files.
> +``Multi-Arch`` must not be used for udebs, as these semantics are out

I think this should read "The ``Multi-Arch`` field must ...".

> +of scope for the Debian installer.
> +The permitted field values are ``no`` (default), ``foreign``, ``same`` and
>  ``allowed``. Their semantics are described in the following sections.
>  
>  .. _s-f-Multi-Arch-no:

Thanks, for filing this, regardless of the wording change there,
seconded.

I'm also attaching the change that you suggested on IRC for dpkg, but
I'm undecided whether to make it warn though, will ponder about it
before pushing.

Thanks,
Guillem
diff --git i/scripts/dpkg-gencontrol.pl w/scripts/dpkg-gencontrol.pl
index f07b9b9ea..7958e6ba4 100755
--- i/scripts/dpkg-gencontrol.pl
+++ w/scripts/dpkg-gencontrol.pl
@@ -346,6 +346,7 @@ my $pkg_type = $pkg->{'Package-Type'} ||
 if ($pkg_type eq 'udeb') {
     delete $fields->{'Package-Type'};
     delete $fields->{'Homepage'};
+    delete $fields->{'Multi-Arch'};
 } else {
     for my $f (qw(Subarchitecture Kernel-Version Installer-Menu-Item)) {
         warning(g_("%s package '%s' with udeb specific field %s"),

Reply via email to