pkgchk -n problem with /usr/java if you install SUNWj2rt and SUNWj3rt in S9u7.

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 1.2.2_013, 1.4.2_05
    • Component/s: install
    • generic
    • solaris_9


      ###@###.### 2004-07-01

      This is found in s9u7 install regression test and this impacts both sparc and intel. This problem only happens if you install both Java 1.2.2 and Java 1.4.2 from s9u7 as follow:

      OS: s9u7_09
      Media: DVD combined net image
      Cluster: SUNWCXall
      Locales to install: C

      After the install, pkgchk -n found the following problem for SUNWj2rt:

      # pkgchk -n SUNWj2rt
      ERROR: /usr/java
          pathname not symbolically linked to <./java1.2>
      #

      In S9u7, the default Java is 1.4.2 as follow:

      # ls -lia /usr/java
            4768 lrwxrwxrwx 1 root other 17 Jun 30 20:35 /usr/java -> jdk/j2sdk1.4.2_05
      #

      Somehow the SUNWj2rt still points to the wrong /usr/java default in the database. This only happens if you install both Java 1.2.2 and Java 1.4.2. If you look at the installation order:

      SUNWj2rt - 393
      SUNWj3rt - 29

      So SUNWj3rt will always be installe dbefore SUNWj2rt. It looks like the SUNWj2rt procedural scripts needs to be fixed for this problem.

            Assignee:
            Joseph Kowalski (Inactive)
            Reporter:
            Mary Ding (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: