Description of problem: The alternatives link installed by java-1.8.0-openjdk-headless point to /usr/lib/jvm/jre-1.8.0-openjdk.x86_64, but only /usr/lib/jvm/jre-1.8.0-openjdk (without .x86_64 suffix) is present. Creating that directory by hand resolves the problem of /etc/alternatives/java not resolving to an existing file. Also, no package owns /usr/lib/jvm/jre-1.8.0-openjdk and /usr/lib/jvm/jre-1.8.0-openjdk Version-Release number of selected component (if applicable): java-1.8.0-openjdk-headless-1.8.0.11-15.b12.fc21.x86_64 How reproducible: Always Steps to Reproduce: 1. rpm -e --nodeps java-1.8.0-openjdk-headless 2. yum install java-1.8.0-openjdk-headless 3. alternatives --list | grep jre_1.8.0 4. ls -l /usr/lib/jvm | grep jre-1.8.0 Actual results: Alternatives output: jre_1.8.0_openjdk auto /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.11-15.b12.fc21.x86_64 jre_1.8.0 auto /usr/lib/jvm/jre-1.8.0-openjdk.x86_64 but only /usr/lib/jvm/jre-1.8.0-openjdk and /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.11-15.b12.fc21.x86_64 exist Expected results: There shouldn't be a mismatch. Also, note that the openjdk link doesn't have an arch suffix. Additional info:
*** This bug has been marked as a duplicate of bug 1130247 ***