在Ubuntu下安裝Eclipse的PDT插件的時候,總是出現下面的錯誤:
An error occurred while installing the items session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null –> [R]org.eclipse.cvs 1.0.400.v201002111343, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction). The artifact file for osgi.bundle,org.eclipse.cvs,1.0.400.v201002111343 was not found.
而且接下來發現,其他插件也是這個錯誤。後來找到了一個解決辦法:
sudo apt-get install eclipse-pde
然後再去安裝插件,搞定!