How to use OPatch Remove Conflicting Patches and Applying the New One in Silent Mode
Last updated on JANUARY 15, 2018
Applies to:Oracle WebLogic Server - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
OPatch failed with error code 61 under silent mode.
-bash-4.1$ opatch apply -silent
Oracle Interim Patch Installer version 22.214.171.124.0
Copyright (c) 2014, Oracle Corporation. All rights reserved.
Oracle Home : /refresh/home/wls1213
Central Inventory : /refresh/home/app/oraInventory
from : /refresh/home/wls1213/oraInst.loc
OPatch version : 126.96.36.199.0
OUI version : 188.8.131.52.0
Log file location : /refresh/home/wls1213/cfgtoollogs/opatch/26519417_Dec_28_2017_01_10_46/apply2017-12-28_01-10-38AM_1.log
OPatch detects the Middleware Home as "/refresh/home/wls1213"
Dec 28, 2017 1:10:50 AM oracle.sysman.oii.oiii.OiiiInstallAreaControl initAreaControl
INFO: Install area Control created with access level 0
Applying interim patch '26519417' to OH '/refresh/home/wls1213'
Verifying environment and performing prerequisite checks...
Patch [ 26519417 ] conflict with patch(es) [ 25388793 ] in the Oracle Home.
To resolve patch conflicts please contact Oracle Support Services.
If you continue, patch(es) [ 25388793 ] will be rolled back and the new Patch [ 26519417 ] will be installed.
Do you want to proceed? [y|n]
N (auto-answered by -silent)
User Responded with: N
Log file location: /refresh/home/wls1213/cfgtoollogs/opatch/26519417_Dec_28_2017_01_10_46/apply2017-12-28_01-10-38AM_1.log
OPatch failed with error code 61
It obviously that under silent mode, OPatch will continue by default with option "Yes" for question "Do you want to proceed? [y|n]"
But the answer to question "if rolled back old one and apply new one" will be default with "No". How to make OPatch apply the new one even there has conflicts?
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