Solaris 7 3/99 Release Notes (Intel Platform Edition)

Analyzing the Patches

The Patch Analyzer performs an analysis on your system to determine which (if any) patches will be removed by upgrading to the Solaris 7 3/99 operating environment. The Patch Analyzer is available as a script to run manually and as part of the Interactive installation method.

After performing the analysis, refer to "Reviewing the Patch Analyzer Output" for detailed information about the patch analysis results.

Running the analyze_patches Script

To run the analyze_patches script:


Note -

To run the analyze_patches script, the installed system and the Solaris 7 3/99 CD (or net image) must be accessible by the script either through an NFSTM mount or using locally mounted media.


  1. Change directories to the Misc directory on the OS image.

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


      # cd /cdrom/sol_7_399_x86/s2/Solaris_2.7/Misc
      
    • If the image is available through an NFS mount, type:


      # cd /NFS_mount_directory/Solaris_2.7/Misc
      
  2. Run the analyze_patches script:


    # ./analyze_patches
    

    The options listed in Table 1-1 can be used on the command line.

    Table 1-1 Command-Line Options for analyze_patches

    Option 

    Description 

    -R rootdir

    rootdir is the root of the installed system. It defaults to /.

    -N netdir

    netdir is the path to the root of the OS image to be installed. It defaults to /cdrom/cdrom0. It should point to the directory containing the Solaris_2.7 directory. You must use this option if running the patch_analyzer from an NFS mount.

    -D databasedir

    If the script is invoked from a directory other than the /Misc directory on the OS image, the program will not find the database it uses for patch analysis. Use the -D option to supply the path to the database. Without this database, contained in the /Solaris_2.7/Misc/database on the OS image, the script will not work properly.

Reviewing the Patch Analyzer Output

After performing the analysis, use these steps to review the output.

  1. Review the output of the analyze_patches script.

    • 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 will be taken against any patches previously installed on your system.

  2. Decide if patch replacements and deletions are acceptable.

    • If the patch replacements and deletions by the Solaris 7 3/99 system software are acceptable, continue to the section "Upgrading to Solaris 7 3/99 System Software From the Solaris 7 Operating Environment."

    • If the patch replacements and deletions by the Solaris 7 3/99 system software are not acceptable, do not upgrade using the Solaris 7 3/99 CD. You may use the Solaris 7 MU1 CD and Solaris 7 Maintenance Update 1 Release Notes to install the patches on your Solaris 7 system.