在ubuntu上通过sudo apt-get install eclipse安装eclipse后,打开Help-->Install New Software有时会弹出错误对话框“Cannot complete the request.This installation has not been configured properly for Software Updates.See the error log for details.”,解决方法:
1. sudo apt-get autoremove eclipse --purge 卸载
2. 删除/usr/lib/eclipse/目录
原因是/usr/lib/eclipse/目录下的p2目录有配置文件出错