首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >由于软件包损坏,无法安装eclipse

由于软件包损坏,无法安装eclipse
EN

Ask Ubuntu用户
提问于 2013-01-09 23:34:34
回答 1查看 1K关注 0票数 2

试图安装eclipse时,我会得到以下错误:

代码语言:javascript
复制
XXX:~$ sudo apt-get install eclipse
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 eclipse : Depends: eclipse-jdt (>= 3.8.0~rc4-1ubuntu1) but it is not going to be installed
           Depends: eclipse-pde (>= 3.8.0~rc4-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我不知道怎么解决这个问题。我对Ubuntu非常陌生,但我不认为我使用的是不稳定的发行版。但是我添加了安装Tomcat7所需的存储库。这会导致问题吗?

EN

回答 1

Ask Ubuntu用户

发布于 2015-01-12 07:04:05

我遇到了一个类似的问题,你要做的就是把它粘贴到你的bash终端中:

代码语言:javascript
复制
sudo apt-get install eclipse eclipse-jdt eclipse-pde eclipse-platform* libtomcat7-java
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/239303

复制
相关文章

相似问题

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