如何无法安装外星人 ubuntu 16.04?

如何无法安装外星人 ubuntu 16.04?

我有 rpm 包(例如:sqldeveloper-4.0.3.16.84-1.noarch.rpm),但是我无法从 ubuntu 软件中心使用“alien”。当我尝试安装“alien”时,我发现一个错误:

root@temo:~# sudo apt-get -f install alien

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
alien : Depends: debhelper (>= 7) but it is not going to be installed
     Depends: rpm (>= 2.4.4-2) but it is not going to be installed
     Depends: rpm2cpio
 skype:i386 : Depends: libc6:i386 (>= 2.3.6-6~) but it is not going to be installed
          Depends: libc6:i386 (>= 2.7) but it is not going to be installed
          Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
          Depends: libqt4-dbus:i386 (>= 4:4.5.3) but it is not going to be installed
          Depends: libqt4-network:i386 (>= 4:4.8.0) but it is not going to be installed
          Depends: libqt4-xml:i386 (>= 4:4.5.3) but it is not going to be installed
          Depends: libqtcore4:i386 (>= 4:4.7.0~beta1) but it is not going to be installed
          Depends: libqtgui4:i386 (>= 4:4.8.0) but it is not going to be installed
          Depends: libqtwebkit4:i386 (>= 2.2~2011week36) but it is not going to be installed
          Depends: libstdc++6:i386 (>= 4.2.1) but it is not going to be installed
          Depends: libx11-6:i386 but it is not going to be installed
          Depends: libxext6:i386 but it is not going to be installed
          Depends: libxss1:i386 but it is not going to be installed
          Depends: libxv1:i386 but it is not going to be installed
          Depends: libssl1.0.0:i386 but it is not going to be installed
          Depends: libpulse0:i386 but it is not going to be installed
          Depends: libasound2-plugins:i386 but it is not going to be installed
          Recommends: sni-qt:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

请帮忙安装外星人。

答案1

alien由于 Debian 和 Red Hat 操作系统中库的命名不同,安装的软件包中经常会产生无法解决的依赖关系,但在 Ubuntu 16.04 和所有受支持的 Ubuntu 版本中,可以使用以下方法构建 Oracle SQL Developer 的 Debian 软件包sqldeveloper 包来自默认的 Ubuntu 存储库。打开终端并输入:

sudo apt install sqldeveloper-package

该实用程序将要求您从 下载与体系结构无关的档案http://www.oracle.com/technetwork/developer-tools/sql-developer,标识为“用于其他平台的 Oracle SQL Developer”、“用于多平台的 Oracle SQL Developer”或“用于 Linux 和 Unix 的 Oracle SQL Developer”(取决于您正在构建的版本),以从中创建 Debian 包。

答案2

它抱怨说该alien包需要(依赖于):

debhelper version 7 or later (version 9.20160115ubuntu3 is in the repositoires)
rpm version 2.4.4-2 or later (version 4.12.0.1+dfsg1-3build3 is in tyhe repositories)  
rpm2cpio no version specified (version 4.12.0.1+dfsg1-3build3 ...)  

阅读后man apt-get,您可能能够使用--install-suggests或。-o APT::Install-Recommends=1apt-get

相关内容