Eclipse Luna更新到4.4.1在Ubuntu 14(32位)中失败

随着Luna运行,我选择了Help:Check for Updates选项,并显示了一个更新列表, 除了 Luna 4.4.1 之外 ,所有更新都已检查。

我点击“全选”并尝试更新。 它失败了这条消息:

An error occurred while uninstalling session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.platform_root 4.4.0.v20140606-1558 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction). Backup of file /opt/eclipse-luna/notice.html failed. File that was copied to backup could not be deleted: /opt/eclipse-luna/notice.html 

发现了一个技巧:以root身份运行Eclipse(只需一次 ,仅用于更新)。

在终端,运行

 gksudo /opt/eclipse-luna/eclipse 

或者系统中的路径。

然后继续更新。 这有效地将Luna从4.4.0更新到4.4.1

在Mac上使用Eclipse时从未遇到过这种情况。