Eclipse Juno不会让我安装XML编辑器

时间:2013-03-23 14:42:36

标签: eclipse

我有Eclipse Juno:

Version: 3.7.2
Build id: I20110613-1736

我正在尝试使用此repo下的“帮助”下的“安装软件”选项安装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

然后我运行autocleanclean以及deborphan来删除Eclipse的所有包依赖项。我重新安装的后续文件重新下载了所有内容。

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

1 个答案:

答案 0 :(得分:0)

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

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