我试图通过P2更新站点更新基于Eclipse-RCP-3.5的应用程序。该应用程序包含两个功能。

产品由 Eclipse Buckminster.创建P2更新站点是产品构建的一部分。

按菜单启动更新时: Update -> Check for Updates 将显示消息框: There is nothing to update.

当我尝试菜单: Update -> Install New Software... 并选择相同的更新-站点报错:

Your original request has been modified.
  "Verinice Anwendung" is already installed, so an update will be performed instead.
  "verinice server Feature" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
  Software being installed: Verinice Anwendung 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007130142)
  Software currently installed: verinice 1.1.1 (sernet.gs.ui.rcp.main.product 1.1.1)
  Only one of the following can be installed at once: 
    Verinice Anwendung 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.jar 1.1.1.201007130142)
    Verinice Anwendung 1.1.1.201007021358 (sernet.gs.ui.rcp.main.feature.feature.jar 1.1.1.201007021358)
  Cannot satisfy dependency:
    From: Verinice Anwendung 1.1.1.201007021358 (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007021358)
    To: sernet.gs.ui.rcp.main.feature.feature.jar [1.1.1.201007021358]
  Cannot satisfy dependency:
    From: Verinice Anwendung 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007130142)
    To: sernet.gs.ui.rcp.main.feature.feature.jar [1.1.1.201007130142]
  Cannot satisfy dependency:
    From: verinice 1.1.1 (sernet.gs.ui.rcp.main.product 1.1.1)
    To: sernet.gs.ui.rcp.main.feature.feature.group [1.1.1.201007021358]
有帮助吗?

解决方案

您需要构建产品的新版本。

p2区分什么是"安装的"和什么是"安装的东西需要的"。您的产品 sernet.gs.ui.rcp.main.product 是安装的东西。其他一切都是必需的。"检查更新"正在寻找新版本的 sernet.gs.ui.rcp.main.product.

通过安装该功能,您将其添加到已安装的事物列表中(而不仅仅是已安装的事物所需的)。但是,您仍然拥有对该功能的特定版本有要求的原始产品。该要求与新版本的功能冲突。

这出现了一个 很少 时代 在eclipse论坛上。你可能会对此感兴趣 博客文章 我写了回应。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top