|
Quick Lists
|
|
Bug ID:
|
5042308
|
|
Votes
|
0
|
|
Synopsis
|
The Java GNOME support on Solaris should not depend on package install order.
|
|
Category
|
java:install
|
|
Reported Against
|
s10_59
, tiger-beta2
|
|
Release Fixed
|
1.5(tiger-b54)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
2-High
|
|
Related Bugs
|
4811103
,
4886987
,
5002125
|
|
Submit Date
|
05-MAY-2004
|
|
Description
|
Currently the Java Runtime package only installs GNOME file association support if GNOME has already been installed. This forces an undesirable ordering for package installation (i.e. Java packages *must* be installed after GNOME packages for the GNOME associations to be made).
xxxxx@xxxxx 2004-05- xxxxx@xxxxx 2004-05-11
As of s10_59 with Java 1.5 build 49, the same setup still fails as follow even though the error is slight different, this is the log with pkginstall -v mode:
+ installf -R /export/Solaris_10 -c none SUNWj5rt.2 /export/Solaris_10/usr/share
/icons/LowContrast/48x48/apps/sun-java.png f 0644 root other
GNOME_KEYS_FILE=/export/Solaris_10/usr/share/gnome/mime-info/java-archive.keys
GNOME_MIME_FILE=/export/Solaris_10/usr/share/gnome/mime-info/java-archive.mime
GNOME_APPS_FILE=/export/Solaris_10/usr/share/gnome/application-registry/java-arc
hive.applications
+ [ true = true -o ! -f /export/Solaris_10/usr/share/gnome/mime-info/java-archiv
e.keys -o ! -f /export/Solaris_10/usr/share/gnome/mime-info/java-archive.mime -o
! -f /export/Solaris_10/usr/share/gnome/application-registry/java-archive.appli
cations ]
+ echo application/java-archive
/export/Solaris_10/var/sadm/pkg/SUNWj5rt.2/install/postinstall: /export/Solaris_
10/usr/share/gnome/mime-info/java-archive.keys: cannot create
pkgadd: ERROR: postinstall script did not complete successfully
Installation of <SUNWj5rt.2> failed.
xxxxx@xxxxx 2004-05-12
This also showed up in upgrade in s10_59. I did the following upgrade on sparc and customer :
OS: s9u6_FCS
Media: CDs
Cluster: SUNWCXall
Locales to install: All locales
Locale to display: C
Then I upgrade to s10_59 as follow:
OS: s10_59
Media: CDs or DVD
Upgrade method: upgrade with DSR
The upgrade_log shows the following failure for SUNWj5rt:
Doing pkgadd of SUNWj5rt to /.
148672 blocks
/a/var/sadm/pkg/SUNWj5rt/install/postinstall: /a/usr/share/gnome/mime-info/java-archive.keys: cannot create
pkgadd: ERROR: postinstall script did not complete successfully
Installation of <SUNWj5rt> failed.
pkgadd return code = 1
xxxxx@xxxxx 2004-05-13
This failure had been seen on the following test configurations:
1. Upgrade from S9 to s10 and only with upgrade with DSR.
2. Diskless client install when platform of server/client are not the same.
There are a couple of issues with the postinstall script:
1. The postinstall script try to check for the existence of SUNWgnome-vfs-share and do something. However, in the case of an upgrade with DSR, the upgrade will not back up the information of SUNWgnome-vfs-share package. This package is on the 2nd CD and will always install after SUNWj5rt. Thus upgrade with DSR will always fails since the directories you are looking for does not exists.
2. If you look at the postinstall script, it did the following for the theme directories:
# the various them directories may need to be created if no themes
# have ever been installed before
$MKDIR -p ${PKG_INSTALL_ROOT}${SHARE_HIGH_CONTRAST}
$MKDIR -p ${PKG_INSTALL_ROOT}${SHARE_HIGH_CONTRAST_INVERSE}
$MKDIR -p ${PKG_INSTALL_ROOT}${SHARE_LOW_CONTRAST}
Perhaps the postinstall script should also do the same thing to create the GNOME mime-info directory.
|
|
Work Around
|
N/A
|
|
Evaluation
|
We should try to fix this for beta 2 if possible.
xxxxx@xxxxx 2004-05-04
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |