oracle-xe-21c issue

Pyton78

New Member
Joined
Nov 3, 2020
Messages
27
Reaction score
2
Credits
257
Hello,
I need help to fix this:
Synaptic don't start
"E: The package oracle-database-xe-21c needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report."


When I trying to remove and install again:

dpkg: error processing package oracle-database-xe-21c (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
oracle-database-xe-21c

I'm trying this:
dpkg --purge --force-all oracle-database-xe-21c
(Reading database ... 428146 files and directories currently installed.)
Removing oracle-database-xe-21c (1.0-2) ...

[SEVERE] An error occured while discovering the configuration of the Oracle home. Verify the deinstall logs for more details.
dpkg: error processing package oracle-database-xe-21c (--purge):
installed oracle-database-xe-21c package pre-removal script subprocess returned error exit status 1

[INFO] Executing post installation scripts...
[INFO] Oracle home installed successfully and ready to be configured.
To configure Oracle Database XE, optionally modify the parameters in '/etc/sysconfig/oracle-xe-21c.conf' and then execute '/etc/init.d/oracle-xe-21c configure' as root.
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Errors were encountered while processing:
oracle-database-xe-21c

and I put this line:
etc/sysconfig/oracle-xe-21c.conf

it's no efect..

I must have oracle databese install on ZorinOs.
 
Last edited:


OP
P

Pyton78

New Member
Joined
Nov 3, 2020
Messages
27
Reaction score
2
Credits
257
yes, bud I have a issue everytime:

Netca configuration log

Parsing command line arguments:
Parameter "orahome" = /opt/oracle/product/21c/dbhomeXE
Parameter "instype" = typical
Parameter "inscomp" = client,oraclenet,javavm,server,ano
Parameter "insprtcl" = tcp
Parameter "cfg" = local
Parameter "authadp" = NO_VALUE
Parameter "responsefile" = /opt/oracle/product/21c/dbhomeXE/network/install/netca_typ.rsp
Parameter "silent" = true
Parameter "orahnam" = OraHomeXE
Parameter "listenerparameters" = DEFAULT_SERVICE=XE
Done parsing command line arguments.
Oracle Net Services Configuration:
Profile configuration complete.
Oracle Net Listener Startup:
No valid IP Address returned for the host tomek-Lenovo-YOGA-530-14IKB.
Check the trace file for details: /u01/app/oracle/cfgtoollogs/netca/trace_OraDBHome21cXE-2110108PM4728.log
Oracle Net Services configuration failed. The exit code is 1
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
3,881
Reaction score
2,623
Credits
28,039
Contact Oracle support?
 

jpnilson

Member
Joined
Jul 31, 2021
Messages
68
Reaction score
42
Credits
614
Machine have an address?

from output above......
No valid IP Address returned for the host tomek-Lenovo-YOGA-530-14IKB.
 
OP
P

Pyton78

New Member
Joined
Nov 3, 2020
Messages
27
Reaction score
2
Credits
257
Yes, oracle send me answer on forum: "they don`t support Odb21c on Ubuntu platform. You must have Oracle Linux or Red Hat Linux 7 or 8"
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online


Top