There are problems with two packages, SFWgtk2 and SFWpango, provided  
in the Sun Firefox 3.5.2 support package which prevents their full  
installation via JumpStart:

When my JumpStart finish scripts go to add these two with "pkgadd -R / 
a ..." the postinstall script for these two packages do not honor  
BASEDIR (/a in this case) and fail:

mkdir: "/opt/sfw/etc/pango/": Read-only file system
/a/var/sadm/pkg/SFWpango/install/postinstall: /opt/sfw/etc/pango/ 
pango.modules: cannot create
pkgadd: ERROR: postinstall script did not complete successfully

Installation of <SFWpango> failed.

mkdir: "/opt/sfw/etc/gtk-2.0/": Read-only file system
/a/var/sadm/pkg/SFWgtk2/install/postinstall: /opt/sfw/etc/gtk-2.0/ 
gtk.immodules: cannot create
/a/var/sadm/pkg/SFWgtk2/install/postinstall: /opt/sfw/etc/gtk-2.0/gdk- 
pixbuf.loaders: cannot create
pkgadd: ERROR: postinstall script did not complete successfully

Installation of <SFWgtk2> failed.


A quick fix would be to prefix the appropriate paths with $BASEDIR.

A better fix would be to deliver those directories and files within  
the package itself and not add them via postinstall script.

/dale

Reply via email to