首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在运行ubuntu的arm v7上安装openjdk 7时未满足的依赖项

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

Ask Ubuntu用户
提问于 2014-07-23 07:25:17
回答 1查看 2.2K关注 0票数 1
代码语言:javascript
复制
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.

资料来源

deb http://ports.ubuntu.com/ubuntu-ports/精密主宇宙deb src http://ports.ubuntu.com/ubuntu-ports/精密主宇宙

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2014-07-23 07:49:29

最后通过命中和试用找到了解决方案。在/etc/apt/sources.list中,用trusty代替了precise,一切都正常。现在可以安装openjdk-7-jdk包了。

在改变它之后,/etc/apt/sources.list看起来像这样。

代码语言:javascript
复制
deb http://ports.ubuntu.com/ubuntu-ports/ trusty main universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty main universe
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/501443

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档