How To Check For Patch Conflicts

BACKGROUND & OVERVIEW

This document descibes how to see if it is possible to apply n one-off patches on top of an existing $ORACLE_HOME in which some one-off patches are already installed and know whether or not the patches already applied will conflict with the patches to be applied.

PROCEDURE

It is difficult to predict whether or not the patches will conflict without actually applying them, but using the OPatch tool it is possible to check the same without actually applying them to the $ORACLE_HOME.

To check whether there will be a conflict among the patches which need to be applied and/or to check the patches which are to be installed will conflict or not with the already installed patches use the following queries in OPatch:

  • Check whether the latest version of OPatch is installed by running the following command:
    • opatch version
  • Run the following command to check whether there are any conflicts among the patches to be applied, which will check if there are any conflicts among the patches to be applied, by giving out the detailed information about the conflicts/supersets:
    • opatch prereq CheckConflictAmongPatchesWithDetail -phBaseDir <path_where_all_the_patches_to_be_applied_are_kept>
  • Run the following command to check whether there are any conflicts between the patches to be applied and the patches already applied in the $ORACLE_HOME:
    • opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir <path_where_all_the_patches_to_be_applied_are_kept>
© copyright 2001-2014 ABCdba.com | all rights reserved