set the environment variable CV_ASSUME_DISTID=OL7 as binary owner
$ export CV_ASSUME_DISTID=OL7
$ ./deinstall
Checking for required files and bootstrapping …
Please wait …
Location of logs /opt/oracle/oraInventory//logs/
###### ORACLE DECONFIG TOOL START
################### DECONFIG CHECK OPERATION START
[START] Install check configuration
Checking for existence of the Oracle home location /opt/u01/app/oracle/product/19/db_1
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: /opt/u01/app/oracle
Checking for existence of central inventory location /opt/oracle/oraInventory
[END] Install check configuration
Network Configuration check config START
Network de-configuration trace file location: /opt/oracle/oraInventory//logs/netdc_check2025-04-09_01-41-14PM.log
…..
################# DEINSTALL CLEAN OPERATION SUMMARY
Successfully detached Oracle home ‘/opt/u01/app/oracle/product/19/db_1’ from the central inventory on the local node.
Successfully deleted directory ‘/opt/u01/app/oracle/product/19/db_1’ on the local node.
Oracle Universal Installer cleanup was successful.
Review the permissions and contents of ‘/opt/u01/app/oracle’ on nodes(s) ‘onlytest’.
If there are no Oracle home(s) associated with ‘/opt/u01/app/oracle’, manually delete ‘/opt/u01/app/oracle’ and its contents.
Oracle deinstall tool successfully cleaned up temporary directories.
#
More on:
Solution for utility Deinstall fails with “ERROR: null” in Oracle 19c on Linux/RHEL 8 – DBsGuru