试图安装eclipse时,我会得到以下错误:
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所需的存储库。这会导致问题吗?
发布于 2015-01-12 07:04:05
我遇到了一个类似的问题,你要做的就是把它粘贴到你的bash终端中:
sudo apt-get install eclipse eclipse-jdt eclipse-pde eclipse-platform* libtomcat7-javahttps://askubuntu.com/questions/239303
复制相似问题