oracle xe 提示删除 kubuntu 桌面 12.04

oracle xe 提示删除 kubuntu 桌面 12.04

我尝试在 Kubuntu 12.04 x64 上安装 oracle-xe 10g。我必须安装 i386 版本,bc它提示我删除 kubuntu 桌面和 cups 打印驱动程序。

sudo apt-get install bc:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libgpm2:i386 libncurses5:i386 libreadline6:i386 libtinfo5:i386
Suggested packages:
  gpm:i386
The following packages will be REMOVED:
  bc bluez-cups cups hplip kubuntu-desktop printer-driver-gutenprint printer-driver-hpcups printer-driver-postscript-hp
The following NEW packages will be installed:
  bc:i386 libgpm2:i386 libncurses5:i386 libreadline6:i386 libtinfo5:i386

安装 oracle-xe 后,如果我尝试重新安装 kubuntu 桌面,它会提示删除 oracle-xe。

sudo apt-get install kubuntu-desktop cups
[sudo] password for sysadmin: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libreadline6:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  bc bluez-cups hplip printer-driver-gutenprint printer-driver-hpcups printer-driver-postscript-hp
Suggested packages:
  cups-pdf hplip-gui hplip-doc python-notify system-config-printer gutenprint-doc gutenprint-locales
The following packages will be REMOVED:
  bc:i386 oracle-xe-universal:i386

有没有办法可以同时保留两者?

答案1

我找到了一个解决方法:

我没有尝试安装bc:i386(这会删除bc和其他必需的软件包),而是执行以下操作:

sudo dpkg -i --force-all oracle-xe-universal_10.2.0.1-1.1_i386.deb

注意--force-all参数。dpkg除了不同的 arch 之外,这还会忽略伪缺失bc:i386依赖项,但这不会造成任何损害,因为正常的 (x86_64)bc依赖项就足够了。

别忘了像往常一样遵循所有其他步骤。这里有一份很好的指南:http://justalittlebrain.wordpress.com/2008/05/12/how-to-install-oracle-xe-in-ubuntu-64-bit/

到目前为止,一切都很好!

相关内容