在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
然后再去安装插件,搞定!