当我尝试更新时,我收到此错误:
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Platform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q (org.eclipse.platform.feature.group 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q)
Software currently installed: Equinox Core Function 1.0.0.v20110502-7K7VFBVF7RZHQQHxNc02A66 (org.eclipse.equinox.core.feature.feature.group 1.0.0.v20110502-7K7VFBVF7RZHQQHxNc02A66)
Only one of the following can be installed at once:
Simple Configurator 1.0.200.v20110502-1955 (org.eclipse.equinox.simpleconfigurator 1.0.200.v20110502-1955)
Simple Configurator 1.0.200.v20110815-1438 (org.eclipse.equinox.simpleconfigurator 1.0.200.v20110815-1438)
Cannot satisfy dependency:
From: Equinox Core Function 1.0.0.v20110502-7K7VFBVF7RZHQQHxNc02A66 (org.eclipse.equinox.core.feature.feature.group 1.0.0.v20110502-7K7VFBVF7RZHQQHxNc02A66)
To: org.eclipse.equinox.simpleconfigurator [1.0.200.v20110502-1955]
Cannot satisfy dependency:
From: Eclipse Platform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q (org.eclipse.platform.feature.group 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q)
To: org.eclipse.rcp.feature.group [3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272]
Cannot satisfy dependency:
From: Eclipse RCP 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272 (org.eclipse.rcp.feature.group 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272)
To: org.eclipse.equinox.simpleconfigurator [1.0.200.v20110815-1438]
我通过从ZIP文件中复制必要的插件来创建p2更新站点。
如何强制p2更新插件?
答案 0 :(得分:0)
这是因为org.eclipse.equinox.simpleconfigurator包在bundle清单中标有“singleton = true”。这不允许p2 director安装此捆绑包的多个实例。
你可以更新它:
首先卸载原始捆绑包(由于此捆绑包是RCP功能的一部分,这不容易),
或(这可能是更实用的解决方案)手动将p2 repo中的1.0.200.v20110815-1438软件包替换为原始的1.0.200.v20110502-1955软件包。由于捆绑包的版本相同(1.0.200),您可能会认为内容也是相同的。