Open pglizniewicz opened 2 years ago
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @mulby click here for bot help
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
I'd like to add my support for this issue. In the case of something like the rolling "java-latest-openjdk" package it's somewhat of a necessity:
# update-alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
*+ 1 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.372.b07-4.0.1.el8.x86_64/jre/bin/java)
2 java-latest-openjdk.x86_64 (/usr/lib/jvm/java-20-openjdk-20.0.1.0.9-8.rolling.el8.x86_64/bin/java)
+1. I would like this functionality as well. Any status updates on this? I'd rather not resort to use of the command or shell module.
Summary
The alternatives module's behavior should match what the alternatives command does.
Given:
when I try to set an alternative for java to a specific command:
It will result in an error:
Specified path java-17-openjdk.x86_64 does not exist
Running alternatives from the command line like
sudo alternatives --set java java-17-openjdk.x86_64
works and sets the expected alternativeIssue Type
Feature Idea
Component Name
alternatives
Additional Information
Code of Conduct