Menu:
This document gives a quick overview on patching the Sun Solaris 2.6 to the latest version. It is targeted at the SPARC version of Solaris but most of it should apply to the IA32 version too.
The Solaris 2.6 patch cluster contains a number of recommended patches which should be safe to install on all systems. The version linked to from here was released on the 14th of February 2005 - there do not seem to be any newer ones available on the Sun website.
$ zcat 2.6_Recommended.tar.Z | tar tvf - | awk '{ KILOBYTES += $3 / 1024 } END { print KILOBYTES }
$ zcat 2.6_Recommended.tar.Z | tar xvf -
# init S
# cp /kernel/drv/sd.conf /kernel/drv/sd.conf.cluster_installation_backup
# cp /kernel/drv/st.conf /kernel/drv/st.conf.cluster_installation_backup
$ cd $patch_cluster_directory # ./install_clusterDuring cluster installation some individual patches may fail to install. For example:
Installation of patch failed. Return code 2.Return code 2 indicates that the patch has already been installed. Return code 8 indicates the patch is for a package that is not currently installed on the system. Both of these error codes can be ignored.
Installation of patch failed. Return code 8.
# cp /kernel/drv/sd.conf.cluster_installation_backup /kernel/drv/sd.conf
# cp /kernel/drv/st.conf.cluster_installation_backup /kernel/drv/st.conf
# shutdown -i6 -g0 -y
After rebooting the system, the new patch level can be viewed using the showrev command. A list of all patches installed on the system can be obtained from the showrev -p command.
A list of individual patches for Solaris 2.6 SPARC can be found at http://sunsolve.sun.com/show.do?target=patches/zos-s2.6. Not all of these will be present in the patch cluster linked to from here.
Sun took down their old anonymous FTP archive of patches some time ago making free access to patches a bit more difficult. One full mirror of their old FTP site can be found here.
Patch Check Advanced can be found at http://www.par.univie.ac.at/solaris/pca/.