Upgrading to a Solaris Update Release (Tasks)
This chapter provides instructions on checking patches before upgrading to an update to the Solaris operating environment.
Upgrading to a Solaris Update Release
If you are already running the Solaris 9 operating environment and have installed individual patches, upgrading to a Solaris 9 Update release causes the following:
Any patches that are supplied as part of the Solaris 9 Update release are reapplied to your system. You cannot back out these patches.
Any patches that were previously installed on your system that are not included in the Solaris 9 Update release are removed.
The Patch Analyzer performs an analysis on your system to determine which patches, if any, will be removed by upgrading to the Solaris 9 Update release. The Patch Analyzer is available in the following formats.
If you are using the Solaris Web Start program to upgrade, the Patch Analyzer dialog box appears. Select Yes to perform the analysis.
If you are using the Solaris suninstall program to upgrade, select Analyze on the Patch Analysis dialog box to perform the analysis.
If you are using a custom JumpStart installation or Solaris Live Upgrade to upgrade, run the analyze_patches script to perform the analysis. For detailed instructions, see "To Run the analyze_patches Script".
After you perform the analysis, refer to "To Review the Patch Analyzer Output" for detailed information about the patch analysis results.
To Run the analyze_patches Script
Note - To run the analyze_patches script, the installed system and the Solaris 9 DVD, Solaris 9 Software CDs, or net image must be accessible by the script either through NFS or locally mounted media.
Change to the Misc directory.
If the image is located on locally mounted media, type:
# cd /cdrom/sol_9_Update_sparc/s9/Solaris_9/Misc
In this command, Update is the actual Update identifier.
If the image is available on an NFS file system, type:
# cd /NFS_mount_directory/Solaris_9/Misc
Run the analyze_patches script:
# ./analyze_patches [-R rootdir] [-N netdir] [-D databasedir]
-R rootdir
rootdir is the root of the installed system. The default is /.
-N netdir
netdir is the path to the root of the OS image to be installed. The default is /cdrom/cdrom0. netdir is the path to the directory that contains the solaris_9 directory. You must use this option if you are running the patch_analyzer from an NFS mount point.
-D databasedir
If the script is invoked from a directory other than the Misc/ directory in the OS image, the program cannot find the database it uses for patch analysis. Use the -D option to supply the path to the database. Without this database, which is located in Solaris_9/Misc/database on the OS image, the script does not work properly.
To Review the Patch Analyzer Output
After you perform the analysis, use these steps to review the output.
Review the output of the Patch Analyzer.
The Patch Analyzer provides a list of patches that will be removed, downgraded, accumulated, or obsoleted by other patches. Patch accumulations are similar to patch upgrades. The accumulated patch is removed and its fixes are delivered by a new patch. Messages such as the following are shown:
Patch 105644-03 will be removed. Patch 105925 will be downgraded from -02 to -01. Patch 105776-01 will be accumulated/obsoleted by patch 105181-05.
If the Patch Analyzer program does not provide a list, no action is taken against any patches that were previously installed on your system.
Decide if the patch replacements and deletions are acceptable.
If yes, upgrade the system.
If no, do not upgrade the system.
At an update release, instead of upgrading, you can use the Solaris 9 Maintenance Update release to apply only patches to your system.
Note - The Solaris 9 Maintenance Update is available on CD and by download. Instructions for applying patches are provided in the Maintenance Update Installation Guide.