If SUNWxilrl is installed on a system being upgraded to the Solaris 7 11/99 operating environment and the /opt directory is on a file system that is being resized or moved during the upgrade, you will see the following error messages:
ERROR: attribute verification of </a/opt/SUNWits/Graphics-sw/xil/lib/libxil.so> failed pathname does not exist unable to create symbolic link to </usr/openwin/lib/libxil.so.1> ERROR: attribute verification of </a/opt/SUNWits/Graphics-sw/xil/lib/libxil.so.1> failed pathname does not exist unable to create symbolic link to </usr/openwin/lib/libxil.so.1> pkgadd: ERROR: postinstall script did not complete successfully Installation of <SUNWxilrl> partially failed. pkgadd return code = 2 |
This partial failure results in the following:
The /opt/SUNWits/Graphics_sw/xil and /opt/SUNWits/Graphics_sw/xil/lib directories are not recreated.
The /opt/SUNWits/Graphics_sw/xil/lib/libxil.so and /opt/SUNWits/Graphics_sw/xil/lib/libxil.so.1 symbolic links to /usr/openwin/lib/libxil.so.1 are not created.
Workaround: Recreate the directories and symlinks after the upgrade has completed.
Complete the upgrade.
Reboot the upgraded system.
Recreate the xil/lib directory:
# /usr/sbin/install -d -m 0755 -u bin -g bin /opt/SUNWits/Graphics-sw/xil # /usr/sbin/install -d -m 0755 -u bin -g bin /opt/SUNWits/Graphics-sw/xil/lib |
Recreate the symbolic links:
# ln -s /usr/openwin/lib/libxil.so.1 /opt/SUNWits/Graphics-sw/xil/lib/libxil.so # ln -s /usr/openwin/lib/libxil.so.1 /opt/SUNWits/Graphics-sw/xil/lib/libxil.so.1 |