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 22.214.171.124 to 126.96.36.199 [Release 12.1]
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