On Sun February 27 2022 23:58:05 Dr. Nikolaus Klepp wrote:
It would. But the "alternatives" system imposed by deian does not work as the package system. In packages you cannot have 2 or more binaries of the same name in the same place and a random procedure decides what binary you want to use. The "alternatives" does exactly this: by some random order one of several binaries that are supposed to do the same thing are linked to /etc/alternatives". What could possibly go wrong with that? Just try "man open": When you have xdg-utils installed, it giver the manpage of "xdg-open". When you have xdg-utils not installed, it gives the manpage of "open". How cool is that!
Maybe "man update-alternatives" would help?
--Mike