Btw alternatives should be now working on ostree systems
https://github.com/fedora-sysv/chkconfig/commit/4224f51d0212318dd0fada3976e205e8189cf4b4

út 15. 7. 2025 v 10:07 odesílatel Vít Ondruch <[email protected]> napsal:

>
> Dne 14. 07. 25 v 16:27 Jan Stanek napsal(a):
> > Hello everyone!
> >
> > On Fri, Jul 11, 2025 at 9:09 AM Vitaly Zaitsev via devel
> > <[email protected]> wrote:
> >> On 10/07/2025 13:14, Aoife Moloney via devel-announce wrote:
> >>> We aim to move away from manual management of
> >>> <code>/usr/bin/node</code>, <code>/usr/bin/npm</code>, and similar
> >>> symlinks to leveraging update-alternatives system.
> >> AFAIK, the alternatives system doesn't work reliably on immutable
> >> (ostree) Fedora versions.
> > Thanks for raising this issue; we of course forgot about rpm-ostree
> > and what complications it could bring. This is a compelling argument
> > to reconsider.
>
> Perhaps somebody would not mind to update this guidelines section
> reflecting this information?
>
> https://docs.fedoraproject.org/en-US/packaging-guidelines/Alternatives/
>
> In my reading, this section (kind of) promotes the alternatives, while
> this feedback suggest quite strongly against.
>
>
> Vít
>
>
> >> If you need to provide multiple /usr/bin/node symlinks, consider
> >> generating swappable packages: nodeAB-bin, nodeXY-bin, etc. Then users
> >> will be able to use dnf swap feature:
> >>
> >> sudo dnf swap nodeAB-bin nodeXY-bin --allowerasing
> > And thanks for this idea as well – this would not occur to me
> > instinctively, since I would assume that installing one stream
> > (including the -bin package) would prevent installation of any other
> > streams (as it would conflict with the other -bin package). Then I
> > read up some more on weak dependencies and as it turns out, dnf is
> > smart enough to remove any Recommended package from the transaction if
> > it would cause a conflict. With this information, the swappable
> > package approach seems doable. I'll update the wiki page with the
> > feedback and we'll start experimenting with it.
> >
> > Best regards!
> --
> _______________________________________________
> devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/[email protected]
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to