On Wed, Jun 2 2021 at 09:40:40 +0200, Adam Majer <amajer@suse.de> wrote:
The third issue is packaging this mess. How many times have any of you made an error with update-alternatives that then broke an update and became almost impossible to fix without further scriptlet hacks? It's fragile, to say the least. The system is also changed during installation and not at runtime -- this makes it potentially inconsistent between snapshots.
It was suggested to handle this as an abstraction in rpm specs, with update-alternatives being handled with rpmdb, which is probably the method I would like the most https://github.com/rpm-software-management/rpm/issues/993 Scriplets are an awful way to deal with this, I agree, but I think managing this through rpm is a better way to go LCP [Sasi] https://lcp.world