在Ubuntu 12.04中卸载并重新安装Eclipse

时间:2012-05-25 08:07:53

标签: eclipse ubuntu

我在Ubuntu 12.04中手动安装了Eclipse,然后只删除了放置Eclipse的文件夹,并从Ubuntu应用程序商店重新安装了它。

当我尝试更新新安装时,出现以下错误。

如何进行干净的nuinstalation和重新安装?

卸载时发生错误 会话上下文是:(profile = PlatformProfile,phase = org.eclipse.equinox.internal.p2.engine.phases.Uninstall,operand = [R] org.eclipse.platform_root 3.7.2.dist-9nF7UHagFqn9pElwWhC90gLz-soEuSGYmtSeiRH - > null,action = org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction)。 文件/usr/lib/eclipse/.eclipseproduct的备份失败。 无法删除复制到备份的文件:/usr/lib/eclipse/.eclipseproduct

2 个答案:

答案 0 :(得分:4)

也许尝试以root身份删除文件/usr/lib/eclipse/.eclipseproduct?

sudo rm  /usr/lib/eclipse/.eclipseproduct

答案 1 :(得分:0)

我会使用Ubuntu的卸载程序删除它(必要时手动删除),然后安装从eclipse.org下载的Eclipse。我从不使用Linux发行版附带的Eclipse。

相关问题