Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8075409

jre8-40 fails to install on SuSE 11.3

    XMLWordPrintable

Details

    • b19
    • x86_64
    • linux_suse_sles_11
    • Verified

    Backports

      Description

        FULL PRODUCT VERSION :
        Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
        Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)


        ADDITIONAL OS VERSION INFORMATION :
        Linux nms1 3.0.101-0.8-default #1 SMP Fri Nov 1 12:51:09 UTC 2013 (2417eb9) x86_64 x86_64 x86_64 GNU/Linux

        A DESCRIPTION OF THE PROBLEM :
        Java fails to install on SuSE 11.3 with the lastest version (JRE8-40). An rpm-i yields the following result:

        #rpm -i jre-8u40-linux-x64.rpm
        error: Failed dependencies:
                /usr/sbin/alternatives is needed by jre1.8.0_40-1.8.0_40-fcs.x86_64


        /usr/sbin/alternatives appears to be a redhat directory (according to google). SuSE has a update-alternatives directory that appears to have the same function, but the rpm was not made to check for that directory. Additionally, creating a symbolic link for /usr/sbin/alternatives that points to the SuSE /usr/sbin/update-alternitives does not work.

        REGRESSION. Last worked in version 8u31

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        2 methods:
        1)
        - Obtain a SuSE server with 11.3 and latest patches from Novell
        - Download rpm from oracle website and try to 'rpm -i' the rpm
        2)
        - Obtain a SuSE server with 11.3 and latest patches from Novell
        - Install jre-8u31-linux-x64.rpm and preform a 'rpm -u' or 'rpm -i'

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        The rpm will unpack and install
        ACTUAL -
        The rpm outputs the error:

        error: Failed dependencies:
                /usr/sbin/alternatives is needed by jre1.8.0_40-1.8.0_40-fcs.x86_64

        and does not install

        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        error: Failed dependencies:
                /usr/sbin/alternatives is needed by jre1.8.0_40-1.8.0_40-fcs.x86_64

        REPRODUCIBILITY :
        This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

                pbhat Pranav Bhat (Inactive)
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: