Duplicate :
|
System Config.: Tiger Update 2 B02, Solaris Sparc 8, 9 and 10 Symptom: When using pkgadd to install SUNWj5rt, at the end of the installation (Executing postinstall script.), the following error message occured: On the builds after tiger update 1 b03: ========================================================================= ... /usr/jdk/instances/jdk1.5.0/jre/plugin/sparc/ns7/libjavaplugin_oji.so [ verifying class <none> ] ## Executing postinstall script. Can't open /usr/java/jre/plugin/desktop/sun_java.desktop Installation of <SUNWj5rt> was successful. ========================================================================== on tiger update 1 b03: -------------------------------------------------------------------------- /usr/jdk/instances/jdk1.5.0/jre/plugin/sparc/ns7/libjavaplugin_oji.so [ verifying class <none> ] ## Executing postinstall script. ERROR: attribute verification of </usr/share/control-center-2.0/capplets/sun_jav a.desktop> failed pathname does not exist Installation of <SUNWj5rt> was successful. ------------------------------------------------------------------------- I have tried the following scenarios: 1) On Sparc 8, removed all SUNWj5* packages and installed SUNWj5rt: Builds error ====== ========= update2 b02 yes update2 b01 yes update1 b05 yes update1 b04 yes update1 b03 yes (different) update1 b02 no beta3 no 2) On Sparc 8, removed all SUNWj2*, SUNWj3* and SUNWj5* packages. The very first time of installing SUNWj5rt was OK (meaning no error). Starting from the second time, error occured. 3) On Sparc 9, removed all SUNWj5* packages, renamed sun_java.desktop to save_sun_java.desktop under /usr/java/jre/plugin/desktop directory. Installed SUNWj5rt, error occured. Removed SUNWj5rt (/usr/java/jre/plugin/desktop directory was not removed by pkgrm). If I rename save_sun_java.desktop back to sun_java.desktop and installed SUNWj5rt, then no error occured. 4) On Sparc 10, so far so good. ###@###.### 11/4/04 18:56 GMT