Red Hat Bugzilla – Bug 1002248
Minor Version upgrade creates broken links in /etc/alternatives
Last modified: 2014-06-02 09:00:20 EDT
Description of problem:
Applying the RPMs for java & javac components from java-1.7.0-oracle-188.8.131.52.x86_64 to java-1.7.0-oracle-184.108.40.206.x86_64 does not run a post install to update the links in /etc/alternatives this causes java components like jps to not resolve due to the link pointing at the old version which doesn't exist anymore.
Version-Release number of selected component (if applicable):
Running on RHEL 5.9 Linux upgrading java & javac packages
java-1.7.0-oracle-220.127.116.11.x86_64 to java-1.7.0-oracle-18.104.22.168.x86_64
Steps to Reproduce:
1.Run yum update on server that had java-1.7.0-oracle-22.214.171.124.x86_64 installed
2.will update to java-1.7.0-oracle-126.96.36.199.x86_64 to pick up current security fixes
3.Note you have many broken links in /etc/alternatives
Broken links in /etc/alternatives
Links in /etc/alternatives should point to new versions of the java components after the update
This sound to me like your alternatives are in manual mode. Then this is moreover correct behaviour. Nevertheless, the dangling symlinks should not be left even in manual mode. This sounds like bug in alternatives (although not probably)
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).