Trying to deinstall Oracle 19c client, the follow error occures:
$ /u01/oracle/product/19.15/client_1/deinstall/deinstall Checking for required files and bootstrapping ... Please wait ... Location of logs /tmp/deinstall2023-08-15_12-46-41PM/logs/ ############ ORACLE DECONFIG TOOL START ############ ######################### DECONFIG CHECK OPERATION START ######################### ## [START] Install check configuration ## Checking for existence of the Oracle home location /u01/oracle/product/19.15/client_1 Oracle Home type selected for deinstall is: Oracle Database Client Oracle Base selected for deinstall is: /u01/oracle/product Checking for existence of central inventory location /u01/oracle/product/oraInventory ERROR: null
SOLUTION
$ export CV_ASSUME_DISTID=OL7
Then deinstall works fine:
$ /u01/oracle/product/19.15/client_1/deinstall/deinstall Checking for required files and bootstrapping ... Please wait ... Location of logs /tmp/deinstall2023-08-15_12-50-44PM/logs/ ############ ORACLE DECONFIG TOOL START ############ ######################### DECONFIG CHECK OPERATION START ######################### ## [START] Install check configuration ## Checking for existence of the Oracle home location /u01/oracle/product/19.15/client_1 Oracle Home type selected for deinstall is: Oracle Database Client Oracle Base selected for deinstall is: /u01/oracle/product Checking for existence of central inventory location /u01/oracle/product/oraInventory ## [END] Install check configuration ## Network Configuration check config START Network de-configuration trace file location: /tmp/deinstall2023-08-15_12-50-44PM/logs/netdc_check2023-08-15_12-50-49PM.log Network Configuration check config END ######################### DECONFIG CHECK OPERATION END ######################### ####################### DECONFIG CHECK OPERATION SUMMARY ####################### Oracle Home selected for deinstall is: /u01/oracle/product/19.15/client_1 Inventory Location where the Oracle home registered is: /u01/oracle/product/oraInventory Do you want to continue (y - yes, n - no)? [n]: y A log of this session will be written to: '/tmp/deinstall2023-08-15_12-50-44PM/logs/deinstall_deconfig2023-08-15_12-50-49-PM.out' Any error messages from this session will be written to: '/tmp/deinstall2023-08-15_12-50-44PM/logs/deinstall_deconfig2023-08-15_12-50-49-PM.err' ######################## DECONFIG CLEAN OPERATION START ######################## Network Configuration clean config START Network de-configuration trace file location: /tmp/deinstall2023-08-15_12-50-44PM/logs/netdc_clean2023-08-15_12-50-49PM.log De-configuring Naming Methods configuration file... Naming Methods configuration file de-configured successfully. De-configuring backup files... Backup files de-configured successfully. The network configuration has been cleaned up successfully. Network Configuration clean config END ######################### DECONFIG CLEAN OPERATION END ######################### ####################### DECONFIG CLEAN OPERATION SUMMARY ####################### ####################################################################### ############# ORACLE DECONFIG TOOL END ############# Using properties file /tmp/deinstall2023-08-15_12-50-44PM/response/deinstall_2023-08-15_12-50-49-PM.rsp Location of logs /tmp/deinstall2023-08-15_12-50-44PM/logs/ ############ ORACLE DEINSTALL TOOL START ############ ####################### DEINSTALL CHECK OPERATION SUMMARY ####################### A log of this session will be written to: '/tmp/deinstall2023-08-15_12-50-44PM/logs/deinstall_deconfig2023-08-15_12-50-49-PM.out' Any error messages from this session will be written to: '/tmp/deinstall2023-08-15_12-50-44PM/logs/deinstall_deconfig2023-08-15_12-50-49-PM.err' ######################## DEINSTALL CLEAN OPERATION START ######################## ## [START] Preparing for Deinstall ## Setting LOCAL_NODE to testhost Setting CRS_HOME to false Setting oracle.installer.invPtrLoc to /tmp/deinstall2023-08-15_12-50-44PM/oraInst.loc Setting oracle.installer.local to false ## [END] Preparing for Deinstall ## Setting the force flag to false Setting the force flag to cleanup the Oracle Base Oracle Universal Installer clean START Detach Oracle home '/u01/oracle/product/19.15/client_1' from the central inventory on the local node : Done Delete directory '/u01/oracle/product/19.15/client_1' on the local node : Done Delete directory '/u01/oracle/product/oraInventory' on the local node : Done Failed to delete the directory '/u01/oracle/product/11.2.0.4/client'. Either user has no permission to delete or it is in use. The Oracle Base directory '/u01/oracle/product' will not be removed on local node. The directory is not empty. User needs to manually cleanup this directory. Oracle Universal Installer cleanup was successful. Oracle Universal Installer clean END ## [START] Oracle install clean ## ## [END] Oracle install clean ## ######################### DEINSTALL CLEAN OPERATION END ######################### ####################### DEINSTALL CLEAN OPERATION SUMMARY ####################### Successfully detached Oracle home '/u01/oracle/product/19.15/client_1' from the central inventory on the local node. Successfully deleted directory '/u01/oracle/product/19.15/client_1' on the local node. Successfully deleted directory '/u01/oracle/product/oraInventory' on the local node. Oracle Universal Installer cleanup was successful. Run 'rm -r /etc/oraInst.loc' as root on node(s) 'testhost' at the end of the session. Review the permissions and contents of '/u01/oracle/product' on nodes(s) 'testhost'. If there are no Oracle home(s) associated with '/u01/oracle/product', manually delete '/u01/oracle/product' and its contents. Oracle deinstall tool successfully cleaned up temporary directories. ####################################################################### ############# ORACLE DEINSTALL TOOL END #############