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

SUNWj5rt pkgadd -R fails when platform of server/client are not the same.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 5.0
    • solaris_10, 5.0
    • install
    • None
    • b37
    • generic, x86
    • generic, solaris_9, solaris_10
    • Not verified

      Installing the SUNWj5rt package with pkgadd -R from a server running on Sun hardware, to a client running on x86 hardware (or vice versa) fails with the following messages:

      ERROR: attribute verification of </1.5.0-b32/tmp_add/usr/jdk/j2sdk1.5.0/jre/lib/
      sparc/client/classes.jsa> failed
         pathname does not exist
      pkgadd: ERROR: postinstall script did not complete successfully

      Installation of <SUNWj5rt> failed.



      ###@###.### 2004-01-20

      I also saw this when we did s10_50 diskless client setup test. If I am trying to add s10_50 x86 diskless service on a sparc platform, I will see the following error, this is done via pkginstall -v mode:

      Doing pkgadd of SUNWj5rt to /export/Solaris_10.
      NAME=i.none
      FILELIST=/export/Solaris_10/var/sadm/pkg/SUNWj5rt.2/save/filelist
      BD=/export/Solaris_10/usr_i386.all/usr
      is_an_archive=0
      is_a_filelist=0
      list_empty=1
      local_install=0
      Spcl_init=0
      Rm_alt_sav=0
      Tmp_xpath=/usr/tmp6559dir
      MV_xpath=/usr/bin
      MV_cmd=/usr/bin/mv
      ( a big list of command before we get to the postinstall script )

      + AssociateWithGNOME false application/x-java-jnlp-file jnlp java-web-start /usr
      /bin/javaws sun-java png Java Web Start Application
      + [ -d /export/Solaris_10/usr/share/gnome/mime-info -a -d /export/Solaris_10/usr
      /share/gnome/application-registry ]
      CURRENT_INSTALLDIR=/export/Solaris_10/usr_i386.all/usr/jdk/j2sdk1.5.0
      + /export/Solaris_10/usr_i386.all/usr/jdk/j2sdk1.5.0/bin/java -client -Xshare:du
      mp
      /export/Solaris_10/var/sadm/pkg/SUNWj5rt.2/install/postinstall: /export/Solaris_
      10/usr_i386.all/usr/jdk/j2sdk1.5.0/bin/java: cannot execute
      + installf -R /export/Solaris_10 -c none SUNWj5rt.2 /export/Solaris_10/usr_i386.
      all/usr/jdk/j2sdk1.5.0/jre/lib/i386/client/classes.jsa
      + installf -R /export/Solaris_10 -f SUNWj5rt.2
      ERROR: attribute verification of </export> failed
          pathname does not exist
      pkgadd: ERROR: postinstall script did not complete successfully

      Installation of <SUNWj5rt.2> failed.

      This must be fixed before CAR1 since diskless setup will fail for hetergeneous server.





      ###@###.### 2004-05-18

            mromanchsunw Michael Romanchuk (Inactive)
            mromanchsunw Michael Romanchuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: