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 12.1.0.1 to 12.1.0.1 [Release 12.1]
Generic UNIX

Symptoms

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

$deinstall
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.
$

 

Cause

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
Symptoms
Cause
Solution
References


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