On Mon, 21 Nov 2022 09:39:31 +0100 "Yadd" <y...@debian.org> wrote:
I don't think that "Provides: yarn" is a good thing here since "/usr/bin/yarn" isn't provided by yarnpkg. "Provides: node-yarn" seems enough here and without any consequences.
As a compromise, can we have a debconf prompt to notify users about this conflict and to run
sudo ln -s /usr/bin/yarnpkg /usr/bin/yarn if they want to use yarn command.Automating this via a postinst may be a good idea too, but not sure if that is allowed by policy. May be we can ask for an exception since this is a special case. This way people who want to use yarn command has a way to do it easily.
Prompting users is a bad idea in general if we can have good defaults, but we don't have much options left here.
OpenPGP_signature.asc
Description: OpenPGP digital signature