Oracle 11g 在 ubuntu 16 上安装失败

Oracle 11g 在 ubuntu 16 上安装失败

发出此命令安装 Oracle 11g 软件产品后,出现附加错误:

sudo dpkg --install oracle-xe_11.2.0-2_amd64.deb

错误:

msr@msr-Aspire-E1-531:~/Downloads/Disk1$ ls
oracle-xe-11.2.0-1.0.x86_64.rpm  oracle-xe_11.2.0-2_amd64.deb  response  upgrade
msr@msr-Aspire-E1-531:~/Downloads/Disk1$ su
Password: 
root@msr-Aspire-E1-531:/home/msr/Downloads/Disk1# sudo dpkg --install oracle-xe_11.2.0-2_amd64.deb
dpkg: regarding oracle-xe_11.2.0-2_amd64.deb containing oracle-xe:
 oracle-xe-universal:i386 conflicts with oracle-xe
  oracle-xe (version 11.2.0-2) is to be installed.

dpkg: error processing archive oracle-xe_11.2.0-2_amd64.deb (--install):
 conflicting packages - not installing oracle-xe
Errors were encountered while processing:
 oracle-xe_11.2.0-2_amd64.deb

请分享您的解决方案以解决该问题。

http://www2.hawaii.edu/~lipyeow/ics321/2015spr/installoracle11g.html

答案1

您正在尝试安装软件包oracle-xe,但它与 冲突oracle-xe-universal:i386。您只能安装其中一个。如果要安装,oracle-xe您需要oracle-xe-universal:i386先删除(使用您最喜欢的软件包管理器):

sudo apt remove oracle-xe-universal:i386

相关内容