0

我有 Eclipse Juno:

Version: 3.7.2
Build id: I20110613-1736

我正在尝试使用此存储库从帮助下的安装软件选项安装 XML 编辑器:

http://download.eclipse.org/releases/juno/

安装时我不断遇到依赖问题:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Eclipse XML Editors and Tools 3.4.2.v201211061806-7H7GFeJDxumUrsn5qkiQgOEhsz0p60HAmPyU6VX (org.eclipse.wst.xml_ui.feature.feature.group 3.4.2.v201211061806-7H7GFeJDxumUrsn5qkiQgOEhsz0p60HAmPyU6VX)
  Software currently installed: Eclipse Platform 3.7.0.I20110613-1736 (org.eclipse.platform.ide 3.7.0.I20110613-1736)
  Only one of the following can be installed at once: 
    Core Resource Management 3.8.0.v20120522-2034 (org.eclipse.core.resources 3.8.0.v20120522-2034)
    Core Resource Management 3.8.1.v20121114-124432 (org.eclipse.core.resources 3.8.1.v20121114-124432)
    Core Resource Management 3.8.1.v20120802-154922 (org.eclipse.core.resources 3.8.1.v20120802-154922)
    Core Resource Management 3.7.101.dist (org.eclipse.core.resources 3.7.101.dist)
  Cannot satisfy dependency:
    From: Eclipse Platform 3.7.2.dist-9nF7UHagFqn9pElwWhC90gLz-soEuSGYmtSeiRH (org.eclipse.platform.feature.group 3.7.2.dist-9nF7UHagFqn9pElwWhC90gLz-soEuSGYmtSeiRH)
    To: org.eclipse.core.resources [3.7.101.dist]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.7.0.I20110613-1736 (org.eclipse.platform.ide 3.7.0.I20110613-1736)
    To: org.eclipse.platform.feature.group [3.7.2.dist-9nF7UHagFqn9pElwWhC90gLz-soEuSGYmtSeiRH]
  Cannot satisfy dependency:
    From: Eclipse XML Editors and Tools 3.4.2.v201211061806-7H7GFeJDxumUrsn5qkiQgOEhsz0p60HAmPyU6VX (org.eclipse.wst.xml_ui.feature.feature.group 3.4.2.v201211061806-7H7GFeJDxumUrsn5qkiQgOEhsz0p60HAmPyU6VX)
    To: org.eclipse.wst.xsd.ui [1.2.500.v201203081826]
  Cannot satisfy dependency:
    From: XSD Core Plugin 1.1.700.v201204102147 (org.eclipse.wst.xsd.core 1.1.700.v201204102147)
    To: bundle org.eclipse.core.resources [3.8.0,4.0.0)
  Cannot satisfy dependency:
    From: XML Schema Editor 1.2.500.v201203081826 (org.eclipse.wst.xsd.ui 1.2.500.v201203081826)
    To: bundle org.eclipse.wst.xsd.core [1.1.300,1.2.0)

我应该提到这是在从 Repos 安装的 Ubuntu 12.04 上。我已经完成了全新安装并在删除后清空了我的 Workspace 目录。要删除我做了一个:

sudo apt-get remove eclipse-* --purge

然后我运行autoclean并删除cleandeborphanEclipse 的所有包依赖项。之后我重新安装了它,它重新下载了所有内容。

仍然是相同的依赖问题,我不知道为什么。

4

1 回答 1

0

你没有 Juno,那就是3.8 或 4.2。因此更新站点与您的安装不匹配。

在 Ubuntu 上,请不要使用包管理器中的 Eclipse 版本。而是从网站下载它们并将它们安装在您喜欢的任何地方(通过解压缩)。在大多数 Linux 发行版中,打包的 Eclipse 版本已经过时了(您可以从构建 ID 中看到,日期为 2011 年 6 月)。

于 2013-03-23T14:59:01.117 回答