Solaris 10 6/06 Installation Guide: Solaris Live Upgrade and Upgrade Planning

Appendix C Using the Patch Analyzer When Upgrading (Tasks)

This chapter provides instructions on checking patches with the Patch Analyzer before upgrading the Solaris OS. The Patch Analyzer performs an analysis on your system if you want to upgrade to one of these releases that follow the initial Solaris 10 3/05 release.

Upgrading to a Solaris Update Release

If you are already running the 10 3/05 release OS and have installed individual patches, upgrading to a subsequent Solaris 10 release causes the following:

The Patch Analyzer performs an analysis on your system to determine which patches, if any, will be removed by upgrading to any of the above releases. The Patch Analyzer is available in the following formats.

After you perform the analysis, refer to To Review the Patch Analyzer Output for detailed information about the patch analysis results.

ProcedureTo Run the analyze_patches Script


Note –

To run the analyze_patches script, the installed system and the Solaris Operating System DVD, Solaris Software CDs, or network installation image must be accessible by the script either through NFS or locally mounted media.


Steps
  1. Change to the Misc directory.

    • SPARC: If the image is located on locally mounted media, type:


      # cd /cdrom/sol_10_Update_sparc/s0/Solaris_10_606/Misc
      

      In this command, Update is the actual Update identifier.

    • x86: If the image is located on locally mounted media, type:


      # cd /cdrom/sol_10_date_x86/Solaris_10_606/Misc
      

      In this command, date is the actual date of the release such as 06.

    • If the image is available on an NFS file system, type:


      # cd /NFS_mount_directory/Solaris_10_606/Misc
      
  2. 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_10_606 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_10_606 /Misc/database on the OS image, the script does not work properly.

ProcedureTo Review the Patch Analyzer Output

After you perform the analysis, use these steps to review the output.

Steps
  1. 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.

  2. Decide if the patch replacements and deletions are acceptable.

    • If yes, upgrade the system.

    • If no, do not upgrade the system.