5

我已经在 Ubuntu 11.10 上安装了 Eclipse Indigo,并且市场没有出现在“帮助”下,所以我在“安装新软件”中的软件存储库中添加了http://download.eclipse.org/releases/indigo/ 。当我尝试使用“帮助”->“检查更新”更新 Eclipse 时,它​​显示了一些应该更新的内容,但我无法安装更新,因为此错误:

Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Java Development Tools 3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK (org.eclipse.jdt.feature.group 3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK)
Software currently installed: Shared profile 1.0.0.1317160331466 (SharedProfile_PlatformProfile 1.0.0.1317160331466)
Only one of the following can be installed at once: 
  org.eclipse.rcp_root 3.7.0.dist-9gBsFnkFlfr2B21319
  org.eclipse.rcp_root 3.7.1.r37x_v20110729-9DB5FmNFnFLSFCtLxnRfMqt15A4A
  org.eclipse.rcp_root 3.7.0.v20110216-9DB5Fm1FpBGy_AaVz-mFamgY
Cannot satisfy dependency:
  From: Shared profile 1.0.0.1317160331466 (SharedProfile_PlatformProfile 1.0.0.1317160331466)
  To: org.eclipse.rcp_root [3.7.0.dist-9gBsFnkFlfr2B21319]
Cannot satisfy dependency:
  From: Eclipse Java Development Tools 3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK (org.eclipse.jdt.feature.group 3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK)
  To: org.eclipse.platform.feature.group 3.7.1
Cannot satisfy dependency:
  From: Eclipse Platform 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK (org.eclipse.platform.feature.group 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK)
  To: org.eclipse.rcp.feature.group [3.7.1.r37x_v20110729-9DB5FmNFnFLSFCtLxnRfMqt15A4A]
Cannot satisfy dependency:
  From: Eclipse RCP 3.7.1.r37x_v20110729-9DB5FmNFnFLSFCtLxnRfMqt15A4A (org.eclipse.rcp.feature.group 3.7.1.r37x_v20110729-9DB5FmNFnFLSFCtLxnRfMqt15A4A)
  To: org.eclipse.rcp_root [3.7.1.r37x_v20110729-9DB5FmNFnFLSFCtLxnRfMqt15A4A]

有谁知道我做错了什么?

4

1 回答 1

5

我不确定我是否有完全相同的错误消息。但是,我能够通过从根目录打开 Eclipse 来解决类似的问题。

环境:
Eclipse 3.7.0,Ubuntu 11.10

警告:我只是这样做了。看起来工作正常。但是,如果我把它搞砸了,请告诉我。

  1. 使用 (ctrl + alt + t) 启动终端
  2. $sudo eclipse
  3. 在eclipse中转到“帮助->安装新软件”
  4. 单击“可用软件站点”。这将打开“首选项”窗口。
  5. 检查您是否启用了下面提到的存储库。如果没有,则添加它们。

    http://download.eclipse.org/releases/indigo
    http://download.eclipse.org/eclipse/updates/3.7

  6. 现在回到eclipse主窗口并选择“帮助->检查更新”

  7. 首先更新eclipse平台。这会将 IDE 从 3.7.0 更新到 3.7.1
  8. 更新所有其他内容。
于 2012-02-03T03:45:30.140 回答