On 2022-09-28 2:16 PM, Russ Allbery wrote:
"Zack Weinberg" <z...@owlfolio.org> writes:
1. Is there already a rule (or multiple rules) somewhere that forbids
the existence of pairs of packages where one ships /X/Y and the
other ships /usr/X/Y, where X is a directory on non-merged-/usr
systems and a symlink on merged-/usr systems, and Y is any name?
Policy 10.1:
To support merged-/usr systems, packages must not install files in
both /path and /usr/path. For example, a package must not install both
/bin/example and /usr/bin/example.
That does not clearly say that a *pair* of packages, where one installs
files in /path and the other one installs files in /usr/path, is not
allowed. I'm guessing it was the *intent*, but the example, at least,
makes it sound like it's only talking about within a single package.
Suggest maybe the editorial addition of
For another example, if one package installs /bin/example, then
no package which is coinstallable with that package may install
/usr/bin/example.
(the "coinstallable with" clause means to clarify that the existing pair
discussed upthread is fine because there's a package-level Conflicts)
zw