更新eclipse的问题

发布于 2024-12-04 10:19:12 字数 1987 浏览 0 评论 0原文

当我在 Eclipse 中选择“帮助 -> 检查更新”时,我在窗口底部收到以下错误消息。从这条消息“只能一次安装以下内容之一:”看来我安装了同一组件的多个副本。在“关于 Eclipse SDK=> 安装详细信息”下,我发现至少有两个 Equinox P2 配置实例:在“Eclipse SDK”和“PHP 开发工具”下。

任何有关如何解决此问题的建议将不胜感激。

我在 CentOS 5.2 上运行 eclipse helios 3.6.1。

Cannot complete the install because of a conflicting dependency.
  Software being installed: Eclipse SDK 3.6.2.M20110210-1200 (org.eclipse.sdk.ide 3.6.2.M20110210-1200)
  Software currently installed: Shared profile 1.0.0.1288623084982 (SharedProfile_SDKProfile 1.0.0.1288623084982)
  Only one of the following can be installed at once: 
    Equinox p2 Provisioning 2.0.1.r361_v20100903-897HFZFFZRuSD2LMtVxyz0Vr (org.eclipse.equinox.p2.user.ui.feature.jar 2.0.1.r361_v20100903-897HFZFFZRuSD2LMtVxyz0Vr)
    Equinox p2 Provisioning 2.0.0.v20100503-897HFZ-FdHjO2NQo0sD_Nt (org.eclipse.equinox.p2.user.ui.feature.jar 2.0.0.v20100503-897HFZ-FdHjO2NQo0sD_Nt)
    Equinox p2 Provisioning 2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628 (org.eclipse.equinox.p2.user.ui.feature.jar 2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628)
  Cannot satisfy dependency:
    From: Shared profile 1.0.0.1288623084982 (SharedProfile_SDKProfile 1.0.0.1288623084982)
    To: org.eclipse.equinox.p2.user.ui.feature.jar [2.0.1.r361_v20100903-897HFZFFZRuSD2LMtVxyz0Vr]
  Cannot satisfy dependency:
    From: Equinox p2 Provisioning 2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628 (org.eclipse.equinox.p2.user.ui.feature.group 2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628)
    To: org.eclipse.equinox.p2.user.ui.feature.jar [2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628]
  Cannot satisfy dependency:
    From: Eclipse SDK 3.6.2.M20110210-1200 (org.eclipse.sdk.ide 3.6.2.M20110210-1200)
    To: org.eclipse.equinox.p2.user.ui.feature.group [2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628]

9/15 更新:我在某处读到这可能是由于权限问题造成的,我应该以 root 身份运行 eclipse 并执行更新。我确实能够以 root 身份完成 3.6.2 SDK 更新,但之后所有附加组件(例如 subclipse、PDT 等)都消失了。

When I select "Help->Check for Updates" in eclipse, I get the following error message at the bottom of the window. From this message "Only one of the following can be installed at once: " it appears I have multiple copies of the same component installed. Under "About Eclipse SDK=>Installation Details" I found at least two instances of Equinox P2 Provisioning: under "Eclipse SDK" and "PHP Development Tools".

Any suggestions on how to get this resolved would be much appreciated.

I'm running eclipse helios 3.6.1 on CentOS 5.2.

Cannot complete the install because of a conflicting dependency.
  Software being installed: Eclipse SDK 3.6.2.M20110210-1200 (org.eclipse.sdk.ide 3.6.2.M20110210-1200)
  Software currently installed: Shared profile 1.0.0.1288623084982 (SharedProfile_SDKProfile 1.0.0.1288623084982)
  Only one of the following can be installed at once: 
    Equinox p2 Provisioning 2.0.1.r361_v20100903-897HFZFFZRuSD2LMtVxyz0Vr (org.eclipse.equinox.p2.user.ui.feature.jar 2.0.1.r361_v20100903-897HFZFFZRuSD2LMtVxyz0Vr)
    Equinox p2 Provisioning 2.0.0.v20100503-897HFZ-FdHjO2NQo0sD_Nt (org.eclipse.equinox.p2.user.ui.feature.jar 2.0.0.v20100503-897HFZ-FdHjO2NQo0sD_Nt)
    Equinox p2 Provisioning 2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628 (org.eclipse.equinox.p2.user.ui.feature.jar 2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628)
  Cannot satisfy dependency:
    From: Shared profile 1.0.0.1288623084982 (SharedProfile_SDKProfile 1.0.0.1288623084982)
    To: org.eclipse.equinox.p2.user.ui.feature.jar [2.0.1.r361_v20100903-897HFZFFZRuSD2LMtVxyz0Vr]
  Cannot satisfy dependency:
    From: Equinox p2 Provisioning 2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628 (org.eclipse.equinox.p2.user.ui.feature.group 2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628)
    To: org.eclipse.equinox.p2.user.ui.feature.jar [2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628]
  Cannot satisfy dependency:
    From: Eclipse SDK 3.6.2.M20110210-1200 (org.eclipse.sdk.ide 3.6.2.M20110210-1200)
    To: org.eclipse.equinox.p2.user.ui.feature.group [2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628]

Update 9/15: I read somewhere that this may be due to a permissions issue and that I should run eclipse as root and perform the update. I was indeed able to complete the 3.6.2 SDK update as root but then afterwards all of my add-on components (e.g. subclipse, PDT, etc.) were gone.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

小镇女孩 2024-12-11 10:19:12

您收到此消息是因为您正在尝试安装到只读(共享)位置。指示位于此行:

Software currently installed: Shared profile 1.0.0.1288623084982 (SharedProfile_SDKProfile 1.0.0.1288623084982)

失败的原因是您的安装计划将删除属于共享安装一部分的旧版本功能。由于共享安装无法更改,因此您会遇到相互冲突的依赖关系。

碰巧的是,我正在为这个错误开发一个补丁。看:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=332158

该修复程序不允许您在这种情况下安装,但它至少会为您提供更好的错误消息。

You are getting this message because you are trying to install into a read-only (shared) location. The indication is at this line:

Software currently installed: Shared profile 1.0.0.1288623084982 (SharedProfile_SDKProfile 1.0.0.1288623084982)

The reason why there is a failure is that your install plan would remove an old version of a feature that is part of the shared install. Since a shared install cannot be changed, you get the conflicting dependency.

As it happens, I am working on a patch for exactly this bug. See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=332158

The fix would not allow you to install in this situation, but it would at least provide a better error message for you.

長街聽風 2024-12-11 10:19:12

我收到此消息或类似消息是因为我已将 Eclipse 安装到 Windows 7 上的 C: 驱动器。尝试进行更新需要升级,但 Eclipse 没有提示我。当我使用“以管理员身份运行”重新启动 Eclipse 时,它​​具有继续的适当权限,并且允许我升级。

I got this message or something similar because I had installed Eclipse to my C: drive on Windows 7. Trying to do an update required escalation but Eclipse wasn't prompting me. When I restarted Eclipse using "Run as Administrator", it had the proper permissions to continue and it let me upgrade.

此岸叶落 2024-12-11 10:19:12

无法满足依赖性:
来自:Eclipse SDK 3.6.2.M20110210-1200

它需要一个仅存在于 Helios 3.6.2 的更新站点中的依赖项,并且您正在运行 3.6.1。您可以升级到最新版本的 Helios(或者更好的是 Indigo)或添加更新站点。我不知道该 URL 是否在我的脑海中,但您可以尝试以下方法:

下载 Helios 的新副本并将其安装到单独的文件夹中。打开帮助>安装新软件,然后单击“可用软件站点”。然后导出默认站点并将其导入到现有的 Eclipse 安装中。您的插件现在应该正确更新。

编辑:将其添加到您的更新站点: http://download.eclipse.org/eclipse/updates /3.6/

Cannot satisfy dependency:
From: Eclipse SDK 3.6.2.M20110210-1200

It needs a dependency that only exists in the update site for Helios 3.6.2 and you are running 3.6.1. You can either upgrade to the latest version of Helios (or better yet, Indigo) or add the update sites. I don't know the URL's off the top of my head, but you can try this method:

Download a fresh copy of Helios and install it to a separate folder. Open up help>install new software and click "available software sites". Then export the default sites and import them into your existing Eclipse installation. Your plugins should now update correctly.

EDIT: add this to your update sites: http://download.eclipse.org/eclipse/updates/3.6/

梦纸 2024-12-11 10:19:12

请注意,共享安装现在有 (即将推出的 Eclipse 4.3,2013)一种方法:

当 Eclipse 在只读文件夹(也称为共享安装)中运行并且只读安装已更改(例如安装了新插件、安装了新版本的 Eclipse)时,Eclipse 现在将检测到此更改并发出警告您的个人附加插件已被卸载。

Eclipse 现在包含一个迁移向导,可以帮助用户重新安装插件。
该向导在两种情况下呈现。

  • 首先,当更改 Eclipse 的只读安装时(即更新 Eclipse 或添加/删除插件),
  • 第二次是首次运行新的 Eclipse 只读安装时。

向导

另请参阅“共享安装变得更好了!" 了解更多:

在此支持的基础上,我们还决定帮助用户从以前的只读安装中重新导入插件。
原因很简单,许多公司选择将新版本的 Eclipse 部署在不同的文件夹中。这是让团队能够按照自己的节奏采用 Eclipse 所必需的,但这也意味着当用户开始使用新的 Eclipse 安装时,他们需要重新安装自己安装的插件。
当然,用户可以使用 p2 提供的导入/导出功能,但是用户想知道为什么插件消失了,然后再考虑重新安装什么,所浪费的时间可能很重要,这就是为什么在这种情况下我们还提供了迁移向导。

Note that shared install have now (upcoming Eclipse 4.3, 2013) a way to:

When Eclipse is running in a read-only folder (also known as shared install) and the read-only installation has changed (e.g. new plugins installed, new version of Eclipse installed), Eclipse will now detect this change and warn that your personal additional plugins have been uninstalled.

Eclipse now includes a migration wizard to help users through the re-ininstallation of their plug-ins.
This wizard is presented in two situations.

  • First, when a read-only installation of Eclipse is being changed (i.e. Eclipse is being updated or plugins are added / remove),
  • second when a new read-only installation of Eclipse is run for the first time.

Wizard

See also "Shared installs just got better!" for more:

Building on this support, we've also decided to assist users in re-importing their plug-ins from a previous read-only installation.
The reason is simple, many corporations chose to deploy new versions of Eclipse in different folders. This is required to give teams the ability to adopt Eclipse at their own pace, but it also means that when users start using a new Eclipse install, they need to re-install the plug-ins they had installed on their own.
Of course users could use the import/export feature provided by p2, but the time wasted by the user wondering why the plug-ins have vanished and then figuring out what to re-install can be significant, which is why in such situation we are also presenting the migration wizard.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文