Can I apply a BP on top of a PSU? Or vice versa?
By Mike Dietrich-Oracle on May 03, 2016
This question was in my inbox this morning raised by a customer via a colleague.
Our feeling said:
Yes, but you'll have to deinstall the PSU first before applying the BP.
Having a feeling is one thing, knowing the truth is better. And as I have so much fun by applying PSUs and BPs back and forth since two weeks I thought "let's give it a try". So here we go ...
.
Apply a BP on top of a PSU
This is my starting point - Oracle Database 12.1.0.2 with PSU October 2015, the last state in my VBox environment since I experiment with parameters and packages at the moment.
And this is the result when trying to apply the BP from April 2016 on top:
[CDB2] oracle@localhost:/media/sf_CTEMP/22899531/22899531/22806133
Oracle Home : /u01/app/oracle/product/12.1.0.2 Verifying environment and performing prerequisite checks... Conflicts/Supersets for each patch are: Sub-Patch : 20243804 Bug Conflict with Sub-Patch 21359755 [..]
Following patches have conflicts: [ 21359755 22806133 ] UtilSession failed: Patch 21359755 is a composite patch which could not be rollback. Log file location: /u01/app/oracle/product/12.1.0.2/cfgtoollogs/opatch/opatch2016-05-03_10-26-37AM_1.log OPatch failed with error code 73 |
Ok, our suspicion was correct.
There are a lot of conflicts - I have to remove the PSU first. And of course the recommended conflict check would have given me the same result. Furthermore I think I have read this a while back in one of the central notes about PSUs and BPs in MOS as well.
.
Removing the PSU from October 2015 first
Removing a PSU or BP is very simple and straight forward (and well described in the ReadMe.html coming coming with the patch).
[CDB2] oracle@localhost:/media/sf_CTEMP/21359755/21359755 Oracle Home : /u01/app/oracle/product/12.1.0.2 Log file location : /u01/app/oracle/product/12.1.0.2/cfgtoollogs/opatch/21359755_May_03_2016_10_41_54/rollback2016-05-03_10-41-54AM_1.log Patches will be rolled back in the following order: [..] Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. Is the local system ready for patching? [y|n] User Responded with: Y [..] RollbackSession removing interim patch '19769480' from inventory Log file location: /u01/app/oracle/product/12.1.0.2/cfgtoollogs/opatch/21359755_May_03_2016_10_41_54/rollback2016-05-03_10-41-54AM_1.log OPatch succeeded. |
Apply the BP from April 2016
I don't want to repeat myself as I wrote already about this positive experience a few days ago:
Further Information?
You'll find recent related postings on this blog here:
- Oracle April 2016 PSU and Proactive BPs are there (Apr 21, 2016)
https://blogs.oracle.com/UPGRADE/entry/oracle_april_2016_psu_and
. - Oracle Database BP April 2016 applied successfully (Apr 21, 2016)
https://blogs.oracle.com/UPGRADE/entry/oracle_database_bp_april16_applied
. - MOS Note 1454618.1: Quick Reference to Database PSUs, CPUs, BPs and Patchsets(Apr 26, 2016)
https://blogs.oracle.com/UPGRADE/entry/mos_note_1454618_1_quick
.
--Mike
출처 : https://blogs.oracle.com/UPGRADE/entry/can_i_apply_a_bp