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

SUNWj5rtx x86 upgrade issues from s10u3 to s10u4_01.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 5.0u11
    • 5.0u10
    • install
    • b03
    • b03
    • x86
    • solaris_nevada, solaris_10
    • Not verified

      This is found in upgrade regression test in s10u4_01. This impact x86 only.

      I did the follow install on x86:

      OS: Solaris 10 Update 3 FCS
      Media: DVD net image
      Locales to install: C
      Disk layout: ttinstall and use minimal required disk layout

      Then I upgrade to s10u4_01 as follow:

      OS: s10u4_01
      Media: DVD net image
      upgrade method: DVD upgrade and use upgrade with Disk Space reallocation

      After the upgrade, pkgchk -n review the following error:

      # pkgchk -n SUNWj5rtx
      ERROR: /usr/jdk/instances/jdk1.5.0/jre/lib/amd64/j2pkcs11.dll
          pathname does not exist
      ERROR: /usr/jdk/instances/jdk1.5.0/jre/lib/amd64/j2pkcs11_g.dll
          pathname does not exist
      #

      If you look at SUNWj5rtx for x86 in s10u3 FCS, it had the following:

      dong{ding}55: cd SUNWj5rtx
      /net/ins3525-svr/export2/s10u3/dvdx/latest/Solaris_10/Product/SUNWj5rtx
      dong{ding}56: more pkginfo
      ARCH=i386
      BASEDIR=/usr
      CATEGORY=system
      DESC=Java Platform virtual machine and core class libraries (64 bit)
      EMAIL=
      HOTLINE=Please contact your local service provider
      MAXINST=1000
      PKG=SUNWj5rtx
      SUNW_PKGTYPE=usr
      SUNW_PKGVERS=1.0
      SUNW_PRODNAME=JDK 5.0
      VENDOR=Sun Microsystems, Inc.
      VERSION=1.5.0,REV=2005.03.04.02.15
      NAME=JDK 5.0 64-bit Runtime Env. (1.5.0_07)
      PSTAMP=tiger-solamd6420060503011454
      SUNW_PRODVERS=1.5.0_07/1.5.0_07-b03
      CLASSES=none
      PATCHLIST=118669-06
      PATCH_INFO_118669-06=Installed: Tue Nov 14 10:28:02 PST 2006 From: mum Obsoletes
      : Requires: Incompatibles:
      PKG_SRC_NOVERIFY= none
      PKG_DST_QKVERIFY= none
      PKG_CAS_PASSRELATIVE= none
      #FASPACD= none
      dong{ding}57:

      The package had patch 118669-06 applied.

      dong{ding}58: grep j2pkcs11 pkgmap
      1 f none jdk/instances/jdk1.5.0/jre/lib/amd64/j2pkcs11.dll 0644 root bin 65666 27077 1109929891
      1 f none jdk/instances/jdk1.5.0/jre/lib/amd64/j2pkcs11_g.dll 0644 root bin 82054 35715 1109929893
      1 f none jdk/instances/jdk1.5.0/jre/lib/amd64/libj2pkcs11.so 0644 root bin 61192 61797 1146642611
      dong{ding}59:

      Then you look at SUNWj5rtx in s10u4_01, it had the following:

      dong{ding}63: cd SUNWj5rtx
      /net/ins3525-svr/export2/s10u4/dvdx/latest/Solaris_10/Product/SUNWj5rtx
      dong{ding}64: ls
      archive/ install/ pkginfo pkgmap reloc/
      dong{ding}65: more pkginfo
      ARCH=i386
      BASEDIR=/usr
      CATEGORY=system
      DESC=Java Platform virtual machine and core class libraries (64 bit)
      EMAIL=
      HOTLINE=Please contact your local service provider
      MAXINST=1000
      PKG=SUNWj5rtx
      SUNW_PKGTYPE=usr
      SUNW_PKGVERS=1.0
      SUNW_PRODNAME=JDK 5.0
      VENDOR=Sun Microsystems, Inc.
      VERSION=1.5.0,REV=2005.03.04.02.15
      NAME=JDK 5.0 64-bit Runtime Env. (1.5.0_11)
      PSTAMP=tiger-solamd6420061215011837
      SUNW_PRODVERS=1.5.0_11/1.5.0_11-b03
      CLASSES=none
      PATCHLIST=118669-11
      PATCH_INFO_118669-11=Installed: Mon Feb 5 13:43:08 PST 2007 From: mum Obsoletes
      : Requires: Incompatibles:
      PKG_SRC_NOVERIFY= none
      PKG_DST_QKVERIFY= none
      PKG_CAS_PASSRELATIVE= none
      #FASPACD= none
      dong{ding}66:

      It had patch 118669-11 and the following files had been obseleted by the patch:

      /usr/jdk/instances/jdk1.5.0/jre/lib/amd64/j2pkcs11.dll
      /usr/jdk/instances/jdk1.5.0/jre/lib/amd64/j2pkcs11_g.dll

      Looking at the .pkghistory for s10u4, all the Java 1.5 packages had VERSION=1000 and do pkgrm. However, SUNWj5rtx, SUNj5dvx and SUNWjvdmx does not have any entries to do pkgrm during upgrade. This should be fixed.

      The .pkghistory for snv_57 also had similar issues as well and it should be fixed.

            katleman David Katleman (Inactive)
            mmding Mary Ding (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: