Bug 1058533

Summary: Missing jdk and jre executables after update
Product: [Fedora] Fedora Reporter: Benjamin Ariel Nava Martinez <arielnmz>
Component: java-1.7.0-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 20CC: ahughes, david, dbhole, jerboaa, jvanek, omajid
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-12 07:41:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Benjamin Ariel Nava Martinez 2014-01-28 01:36:55 UTC
Description of problem:
java and javac executables are missing after update from opendjk 1.7.0.60-2.4.4.0 to 1.7.0.60-2.4.4.1
Binary files do exist, but symlinks in the alternatives and bin folder are broken (along with a ton of other broken links)


Version-Release number of selected component (if applicable):
java-1.7.0-openjdk.1.7.0.60-2.4.4.1.fc20 x86_64

How reproducible:
There are tons of broken links inside the alternatives folder (along with the jre and jdk binaries)
A reinstall doesn't fix this issue.


Steps to Reproduce:
1.Install openjdk version 1.7.0.60-2.4.4.1.fc20
2.java and javac commands no longer exist
3.A reinstall doesn't fix this issue

Actual results:
No symlinks


Expected results:
Symlinks targeting binaries

Additional info:
Java based applications such as Eclipse, IntelliJ IDEA, and many more no longer work (properly or not at all)

Comment 1 Benjamin Ariel Nava Martinez 2014-01-28 07:28:14 UTC
I have to point out, that after a clean install and a complete update directly to version 1.7.0.60-2.4.4.1, this problem is not present.

Comment 2 jiri vanek 2014-01-28 17:03:30 UTC
The only case i can reproduce is duplicate to this https://bugzilla.redhat.com/show_bug.cgi?id=1049015

in short - once yo have more then one alternatives link (eg by installing proprietary blob, or by some error during previous updates [my apologise here]) *and* you have alterantives inmanual mode, then - and its new in f20 - the alternatives are not forced to be set after install. Can it be your case?

Comment 3 Benjamin Ariel Nava Martinez 2014-01-28 19:55:10 UTC
I'm pretty sure that was the case. I remember having update troubles due to selinux bugs, so maybe that's what broke my alternatives. Thanks!