My Oracle Support Banner

12c Deinstall script fails with "[: =: unary operator expected" error (Doc ID 1585789.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 12.1]
Generic UNIX


 The deinstallation of Oracle software fails with "[: =: unary operator expected" error as follows

deinstall: line 193: [: =: unary operator expected
ERROR: Oracle home not owned by user.
The user running the deinstall tool is not the same as owner of Oracle home
based on inventory ownership.
You must run this tool as the same user who installed the software.



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.