Hi!
I just installed OracleDatabase 18XE on a fresh OL8 system.
It turns out I need to install the 19c version.
To avoid problems, and because it seems the right thing to do, I tried to uninstall the 18XE by doing this:
[oracle@mymachine]$ $ORACLE_HOME/deinstall/deinstall
But get the message:
ERROR: This Oracle home does not seem to be registered.
Deinstall tool cannot proceed.
Then I found this article:
https://docs.oracle.com/en/database/oracle/oracle-database/18/xeinl/deinstalling-oracle-database-xe-software-linux.html#GUID-767CAA48-68EF-4F34-A6FA-0210FFC62
The result:
/etc/init.d/oracle-xe-18c delete
Deleting Oracle Listener.
Deleting Oracle Database XE.
[FATAL] [DBT-10201] Delete database operation cannot be performed.
CAUSE: There are no databases present on the system.
I decided to ignore this because I never set up a database, and followed the instructions, getting this:
yum remove oracle-database-xe-18c
Dependencies resolved.
================================================================================
Package Architecture Version Repository Size
================================================================================
Removing:
oracle-database-xe-18c x86_64 1.0-1 @@System 5.2 G
Transaction Summary
================================================================================
Remove 1 Package
Freed space: 5.2 G
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: oracle-database-xe-18c-1.0-1.x86_64 1/1
[SEVERE] An error occured while discovering the configuration of the Oracle home. Verify the deinstall logs for more details.
error: %preun(oracle-database-xe-18c-1.0-1.x86_64) scriptlet failed, exit status 1
Error in PREUN scriptlet in rpm package oracle-database-xe-18c
Verifying : oracle-database-xe-18c-1.0-1.x86_64 1/1
Failed:
oracle-database-xe-18c-1.0-1.x86_64
Error: Transaction failed
Can anyone help?
I'm not a pro, so please let me know if you need more infos.
Thanks!