在运行 ubuntu 的 arm v7 上安装 openjdk 7 时未满足的依赖关系

在运行 ubuntu 的 arm v7 上安装 openjdk 7 时未满足的依赖关系
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openjdk-7-jdk : Depends: openjdk-7-jre (>= 7~u3-2.1.1~pre1-1ubuntu2) but it is not going to be installed
                 Recommends: libxt-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

来源

德布http://ports.ubuntu.com/ubuntu-ports/精确的主宇宙 deb-srchttp://ports.ubuntu.com/ubuntu-ports/精确的主宇宙

答案1

最终通过反复尝试找到了解决方案。/etc/apt/sources.list替换precisetrusty,一切正常。现在可以安装该openjdk-7-jdk软件包了。

改完之后/etc/apt/sources.list是这个样子的。

deb http://ports.ubuntu.com/ubuntu-ports/ trusty main universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty main universe

相关内容