Red Hat Bugzilla – Bug 1266644
rhscl-rh-java-common install problem
Last modified: 2015-09-29 03:06:10 EDT
Description of problem:
Followed instructions at
But install process fails on Step#4 in those instructions.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install scl-utils
2. yum install rhscl-rh-java-common-*.noarch.rpm
3. yum install rh-java-common
No package 'rh-java-common' available
A message saying component was successfully installed.
Using CentOS release 6.6 (Final)
Today I installed Maven30-rhel-6 using these instructions:
That package installed successfully. I did this in case it was a requirement for the "rh-java-common" package.
Then I re-attempted to install the "rh-java-common" package described in the ticket but still resulted in the same problem.
I also attempted the re-install after enabling maven:
sudo scl enable maven30 bash
But still no difference in the outcome originally described.
Note I used 'sudo' for the above commands but then tried the same with 'su' and saw no change.
Confirmed - it is reproducible for me as well.
The reason is simple - there is no rh-java-common package because this collection is not supposed to be installed directly. Installation instructions are incorrect.
Copr team: Can we remove steps 4 and 5 from installation instructions at https://www.softwarecollections.org/en/scls/rhscl/rh-java-common/ and add a note like: "This collection provides common components used by other collections and is not supposed to be installed directly by users."
I can alter the change, but I would rather add there documentation how other collections should use it as well.
So how other collections should use it?
I'm not sure I understand the question. Can you be more specific?
rh-java-common is just a set of various shared libraries and tools used by other collections. It was created to avoid package duplication between different SCLs - collections like maven30 or thermostat1 depend on packages from rh-java-common. Users shouldn't need to directly install any packages from rh-java-common (with exception of YUM repo definition package, which is not strictly part of rh-java-common, but it is provided in the same repo).
Text at https://www.softwarecollections.org/en/scls/rhscl/rh-java-common/ has been altered.
Thank you, I'm closing this as resolved.