On 24.09.21 14:02, Adam Majer wrote:
each user can override the default. Another is that the selection is not fragile -- you can snapshots of / and restore /etc and /home from a different time and things will not fall apart like with update-alternatives.
That's just a proof that the current implementation of update-alternatives is exceptionally -- ahem -- suboptimal. I never understood what these symlinks to /etc/alternatives and then again to the target are good for. Why not just link the target directly. The update-alternatives implementation in the opkg tool (at least a few years ago, when I looked last) which is used on embedded systems for package management was much more straightforward for example, even if it was implemented in plain shell which made it slow. -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman