#1136160 debian-policy: Clarify that Multi-Arch is not applicable for udebs

#1136160#5
Date:
2026-05-10 07:34:59 UTC
From:
To:
Hi,

Patch for the same is attached. Please take a look.

Best,
Nilesh

#1136160#10
Date:
2026-05-10 14:39:38 UTC
From:
To:
Nilesh Patra [10/May  1:04pm +0530] wrote:

Thanks.  Helmut, do you agree with using a "must not" here?

#1136160#15
Date:
2026-05-10 15:05:08 UTC
From:
To:
Hi!

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

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

#1136160#20
Date:
2026-05-10 17:52:05 UTC
From:
To:
Hi!

Right, actually after having pondered a bit about this for whether to
emit a warning, error or nothing in dpkg-gencontrol, my conclusion
is that while I still agree this is not in scope, it should have no ill
effect except for increasing the .udeb size, so I think a warning is
enough (and that's what I've updated the patch to do now), and as such
for Debian Policy a must seems indeed too strong. So I rescind my
second for now. :)

Also having briefly checked the debian-installer Packages file for
amd64, I see only a handful of packages for which the field has been
explicitly set by the maintainer. This is the list for amd64, but
probably incomplete across all arches:

  fonts-freefont-udeb
  fonts-knda-udeb
  fonts-lohit-guru-udeb
  fonts-taml-udeb
  fonts-sil-abyssinica-udeb
  fonts-sil-padauk-udeb
  fonts-thai-tlwg-udeb
  fonts-ukij-uyghur-udeb
  pwgen-udeb

Thanks,
Guillem

#1136160#25
Date:
2026-05-10 21:18:06 UTC
From:
To:
Helmut was the one who asked me on IRC to file a bug with `M-A must not be used`.
Mh... Is a s/must/should/ fair enough for you? If so, Sean, would you just change
that before you apply this patch? Or do you want me to attach another patch?

#1136160#30
Date:
2026-05-10 15:16:01 UTC
From:
To:
Hi,

thank you Nilesh for getting this started.

Generally, I agree with the intent of this change. I do not anticipate
any use of Multi-Arch in the installer. In particular, the way it is
built does not consider this field in any way.

Now "must not" is strong for a field that is ignored. I checked the
amd64 main Packages file and the "must not" would render at least 9 font
packages rc-buggy. Their use of this field presently does not cause
immediate problems as far as I can see.

I kinda like the way this is expressed for the Standards-Version:

    udebs and source packages that only produce udebs do not use Standards-Version.

How about borrowing the wording there?

I am hesitant to second the "must not" precisely for those font
packages.

Helmut

#1136160#35
Date:
2026-05-13 12:19:29 UTC
From:
To:
I was planning to use something similar, but the messages in the IRC mentioned must not, and hence I
decided to choose this instead :)

This will still result in 9 bugs, but not with rc severity. The train of thought above makes
sense to me.

Attached another patch, with wording changed a bit; as M-A is relevant only for binary package
stanza (and S-V makes it to only source package stanza which would be sort of inherited).
Please see if this is good enough.

Best,
Nilesh

#1136160#40
Date:
2026-05-13 19:59:07 UTC
From:
To:
Hi Nilesh,

I'm sorry for having misguided you here.

Sounds good.

I second this.

Helmut

#1136160#45
Date:
2026-05-14 03:43:13 UTC
From:
To:
Hi!

While the change does not look wrong, I'm not sure there's a need to
mention that this applies to binary package stanzas, as that should be
clear from the previous sentence? (Also just in case, and to clarify,
neither Standards-Version nor Multi-Arch fields get inherited.)

Maybe just say that for udeb packages the field is not
useful/used/taken-into-account/in-scope? Which should cover not only
debian/control but also DEBIAN/control (for example via
«dpkg-gencontrol -DMulti-Arch»)?

Thanks,
Guillem

#1136160#50
Date:
2026-05-14 12:48:36 UTC
From:
To:
That makes sense, since S-V is not a binary package stanza field, I suppose
nothing to "inherit" here. I was clear about M-A, though.
I did not think clearly before saying otherwise - apologies.

I've tried to re-word it with something else, then :)
Please take a look and see if this is more sensible.

Best,
Nilesh

#1136160#55
Date:
2026-05-16 02:43:03 UTC
From:
To:
Hi!

No worries, and nothing to apologize for!

I think this is better than the previous iterations, but it feels a
bit vague, because it describes the effect that Multi-Arch has, which
then makes not using them implied. Perhaps better to be more explicit
about it? What about something along the lines of?

  "The Multi-Arch field is not relevant for udebs, and should thus not
   be used on them."

Although I feel there's something cumbersome about that phrasing, so
probably a better wording can be found.

Thanks,
Guillem

#1136160#60
Date:
2026-05-16 02:54:56 UTC
From:
To:
Attached another patch to match the phrasing. Let me know if this could
make the cut :)

Best,
Nilesh

#1136160#65
Date:
2026-05-22 14:28:05 UTC
From:
To:
Hi Sean,

As per discussion on the IRC, we are waiting for you to tell us which wording
you'd prefer out of all the iterations.

Could you let us know? Consider this a gentle nudge.

[18:41:04] <helmut> feels more like policy editors needing a ping here in the sense that they might pick their preferred wording and we'd just second it
[18:53:21] <guillem> ack, AFAIR the new wording seemed way better, but given that I'm not a native speaker (and the editors are) at this point of nitpicking/wordsmithing, that's what I'd rely on them for :)
[19:51:54] <gargantua_kerr> I was under the impression that policy editors will pick it up after you folks second it...
[19:52:18] <gargantua_kerr> I'll just relay this on the bug report

#1136160#70
Date:
2026-05-23 10:46:25 UTC
From:
To:
Nilesh Patra [22/May  7:58pm +0530] wrote:

Thanks, I didn't realise this was waiting on us.

How about putting the 'should' first and the information later:

    The ``Multi-Arch`` field should not be added to the binary package
    sections for udebs because it does not apply to them.

#1136160#75
Date:
2026-05-23 10:59:50 UTC
From:
To:
Done.

I have attached 2 patches, please choose the one that sounds best :)

Please take a look and let me know if this work. Otherwise please
also tell me if further changes are required.

#1136160#80
Date:
2026-05-23 11:01:17 UTC
From:
To:
Nilesh Patra [23/May  4:29pm +0530] wrote:

Seconded.

#1136160#85
Date:
2026-05-23 14:21:56 UTC
From:
To:
Hi!

To me this still has the issue I pointed out in an earlier mail.

I think I still prefer this formulation (or wording variations conveying
the same). So I'd second this or any wording variations over it.

Thanks,
Guillem

#1136160#90
Date:
2026-06-22 18:30:43 UTC
From:
To:
Wanted to bubble up this and wished to know where we are on this.

Is there a consensus on the preferred wording finally?

#1136160#95
Date:
2026-06-23 12:28:35 UTC
From:
To:
Nilesh Patra [23/Jun 12:00am +0530] wrote:

Your patch has one second, from me, but needs another.

#1136160#100
Date:
2026-06-23 14:55:56 UTC
From:
To:
There are 2 patches, Guillem seconded the other. Is the wording there
acceptable to you?

#1136160#105
Date:
2026-06-24 09:04:54 UTC
From:
To:
Nilesh Patra [23/Jun  8:25pm +0530] wrote:

I think the one I seconded is better.

#1136160#110
Date:
2026-06-23 17:03:52 UTC
From:
To:
The perfect is the enemy of the good and both versions really are
sensible to me. I see there are different preferences, but both are
strictly better than the status quo.

I second this version. I recognize Guillem's concern, but that does not
lead me to rejecting this version.

I also second this version. I suggest s/ Multi-Arch / ``Multi-Arch`` /,
but that is a formatting-only change and does not affect seconds.

Helmut

#1136160#115
Date:
2026-06-25 07:29:00 UTC
From:
To:
I agree and like Helmut I second both patches quoted below as well.
#1136160#120
Date:
2026-06-25 13:28:19 UTC
From:
To:
Helmut Grohne [23/Jun  7:03pm +02] wrote:

Thanks, pushed to the 'next' branch.