Wednesday, May 15, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4950  / 2 Years ago, sat, october 22, 2022, 11:26:55

Is it possible to add a custom link group to update-alternatives that is not already there by default?



For example, I want to add Scala and all its supporting binaries as a link group 'scala'. I'm trying using this script, but keep getting the error:



update-alternatives: error: unknown argument `'


I'm not sure what that means, but after troubleshooting the script a bit with no luck, I'm wondering if update-alternatives has a hard-coded list of link groups, that can't be added to, and that doesn't include scala.


More From » system

 Answers
5

Solved: Yes you can add custom link groups, they're not limited to anything hard-coded by Ubuntu.



My particular problem was a finicky error in the script - I had left spaces after the line continuation backslashes at the end of each line in the script, that broke it. Fixed that, it works now.


[#38004] Monday, October 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eryeath

Total Points: 122
Total Questions: 121
Total Answers: 112

Location: Saint Helena
Member since Fri, Aug 26, 2022
2 Years ago
eryeath questions
Sat, May 28, 22, 09:50, 2 Years ago
Fri, Sep 9, 22, 13:09, 2 Years ago
Wed, Sep 8, 21, 03:57, 3 Years ago
Fri, Mar 17, 23, 00:13, 1 Year ago
Sat, Apr 16, 22, 06:07, 2 Years ago
;