"opatch prereq CheckConflictAgainstOHWithDetail -ph ./" shows incorrect results for Composite Patch (Doc ID 1626610.1)

Last updated on MAY 31, 2017

Applies to:

Oracle Universal Installer - Version 11.2.0.3 and later
Oracle Database - Standard Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

Scenario 1: Checking for conflicts prior to installing a Patch Set Update (PSU)

You have the following installed:

Running the OPatch command to check for conflicts with the 11.2.0.3.2 PSU (13696216), OPatch reports the 11.2.0.3.2 PSU is in conflict when it should be reporting which sub-patch of the PSU is in conflict

% cd 13696216
% opatch prereq CheckConflictAgainstOHWithDetail -ph ./
...
Following patches have conflicts. Please contact Oracle Support and get the merged patch of the patches :
12646784, 13696216, 11840910
...
Conflicts/Supersets for each patch are:

Patch : 13696216

        Conflict with 12646784
        Conflict details:
        /u04/app/oracle/product/11.2.0.3/lib/libserver11.a:/atb.o

        Conflict with 11840910
        Conflict details:
        /u04/app/oracle/product/11.2.0.3/lib/libserver11.a:/kta.o


Where 13696216 is the 11.2.0.3.2 PSU

OPatch should have reported

Scenario 2: Checking in interim patch for conflicts with an already installed Patch Set Update (PSU)

You have the following installed:

You have been informed you need to install patch 12834800.  Additionally, you are told to install the 11.2.0.3.7 version of patch 12834800 as it conflict with the 11.2.0.3.7 PSU sub-patch

Running the OPatch command to check for conflicts with the 11.2.0.3.7 version of patch 12834800, OPatch reports the patch to conflict with the 11.2.0.3.5 sub-patch.

% cd 12834800
% opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir  ./
...
There are no patches that can be applied now.

Following patches have conflicts. Please contact Oracle Support and get the merged patch of the patches :
12834800, 14727310

Where patch 14727310 is the 11.2.0.3.5 PSU. 

As it is impossible that a newer version (i.e.11.2.0.3.7) of an interim patch conflicts with an earlier version (i.e.11.2.0.3.5) sub-patch, this is clearly not a correct output from OPatch.

OPatch should have reported no conflict.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms