My Oracle Support Banner

WebLogic Server Deinstall Fails With "The Distribution Cannot Be Removed Because It Is Required By: OPatch" (Doc ID 2561383.1)

Last updated on JANUARY 31, 2024

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


On a WebLogic Server with OPatch version installed.
Not able to uninstall WebLogic Server after running ./ command within <ORACLE_HOME>/oui/bin directory as described in Uninstalling documentation.
It fails with

The distribution cannot be removed because it is required by: OPatch


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.