error when running eclispe -> Help -> Check for updates

Bug #980217 reported by davidetkarine
56
This bug affects 10 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This message come out after runing Eclipse - > Help -> Check for updates
An error occurred while uninstalling
session context was:(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).
Backup of file /usr/lib/eclipse/.eclipseproduct failed.
File that was copied to backup could not be deleted: /usr/lib/eclipse/.eclipseproduct

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: eclipse-platform 3.7.2-1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu2
Architecture: amd64
Date: Thu Apr 12 22:01:42 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: eclipse
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
davidetkarine (saveurlinux) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in eclipse (Ubuntu):
status: New → Confirmed
Revision history for this message
PatrikHermansson (patrik-paheco) wrote :

Workaround: sudo chown -R <username>:<usergroup> /usr/lib/eclipse

Revision history for this message
davidetkarine (saveurlinux) wrote : Re: [Bug 980217] Re: error when running eclispe -> Help -> Check for updates

thanks your workaround works for me

Le , PatrikHermansson <email address hidden> a écrit :
> Workaround: sudo chown -R : /usr/lib/eclipse

> --

> You received this bug notification because you are subscribed to the bug

> report.

> https://bugs.launchpad.net/bugs/980217

> Title:

> error when running eclispe -> Help -> Check for updates

> To manage notifications about this bug go to:

> https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/980217/+subscriptions

Revision history for this message
ullix (ullix) wrote :

the workaround worked for me only partially. I my case what could not be deleted was /usr/lib/eclipse/eclipse. After the workaround, the upgrade could be run successfully.

However, upon restarting eclipse, it wanted to create a /root/workspace. Why as root - I had started eclipse as a regular user. So I reverted the workaround with sudo chown -R root:root /usr/lib/eclipse, and then could again start as user.

But after checking for updates again, several were found, but none could be installed as it failed with the exception of: "File that was copied to backup could not be deleted: /usr/lib/eclipse/epl-v10.html".

Going through the workaround again, I was able to do the upgrades, but then eclipse had forgotten all about previously installed Android SDKs, and upgrade attempt resulted in:

Error creating feature "file:/usr/lib/eclipse/features/org.eclipse.cvs_1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C/". [/usr/lib/eclipse/features/org.eclipse.cvs_1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C/feature.xml (No such file or directory)]
/usr/lib/eclipse/features/org.eclipse.cvs_1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C/feature.xml (No such file or directory)

now my installation appears to be ruined completely.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.