Skip to main content



      Home
Home » Eclipse Projects » P2 » Update error
Update error [message #1057955] Fri, 10 May 2013 01:32 Go to next message
Eclipse UserFriend
Hello,

trying to update Kepler (4.3.0 I20130314-1330) to M7 but i always get an error dialog saying:

An error occurred while uninstalling
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.sdk.ide.executable.win32.win32.x86_64 4.3.0.I20130314-1330 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).
Backup of file D:\installed\Eclipse\E_4.3_x64\eclipse.exe failed.
Can not remove : D:\installed\Eclipse\E_4.3_x64\eclipse.exe


My eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130225-1645.jar
-vm
D:/installed/Java/JDK_1.7_64bit/bin/javaw.exe
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130228-0336
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-XX:+UnlockExperimentalVMOptions
-Xms128m
-Xmx1024m


Running Win7 64Bit with 64Bit JDK7u21 as administrator and i'm using updatesite "http://download.eclipse.org/eclipse/updates/4.3milestones".
My anti-virus has an exception for my hole eclipse folder.
I checked all handles (processes) using 'eclipse.exe' and there 'eclipse.exe' itself, 'java.exe' and 'csrss.exe' (Client/Server Runtime Subsystem from Windows, its used for the console and threading under Windows).

I found a bugreport https://bugs.eclipse.org/bugs/show_bug.cgi?id=333355 with the same issue but no solution for my case.

Has anybody an idea ho to solve this except of make a clean eclipse installation?

Thanks!
Re: Update error [message #1058194 is a reply to message #1057955] Mon, 13 May 2013 03:49 Go to previous messageGo to next message
Eclipse UserFriend
You may have more luck asking in the P2 forums because you can see P2 complaining it can not remove a file. Initially looks like a permission issue but as you state it is not the case.
Re: Update error [message #1127916 is a reply to message #1057955] Mon, 07 October 2013 02:23 Go to previous messageGo to next message
Eclipse UserFriend
I had same issue with updating Kepler. W7 with admin.

How to solve:


  1. Run eclipse
  2. Rename eclipse exe to eclipse.exe.back
  3. Run updates
  4. Updates executed successfully

Re: Update error [message #1238305 is a reply to message #1057955] Fri, 31 January 2014 19:14 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Premysl! Worked nicely, updating from 4.4M3 -> 4.4M5.

(First time I've seen that...)
Re: Update error [message #1385306 is a reply to message #1057955] Thu, 05 June 2014 09:48 Go to previous messageGo to next message
Eclipse UserFriend
make a new workspace then try with the kepler. it doesnot work in old workspace. worked for me.
icon11.gif  Re: Update error [message #1517299 is a reply to message #1385306] Fri, 19 December 2014 06:58 Go to previous messageGo to next message
Eclipse UserFriend
in the terminal

sudo exclipse

the problem is the program does not have permision to update the files
Re: Update error [message #1847343 is a reply to message #1127916] Sat, 23 October 2021 17:20 Go to previous messageGo to next message
Eclipse UserFriend
Premysl Fiala wrote on Mon, 07 October 2013 06:23
I had same issue with updating Kepler. W7 with admin.

How to solve:


  1. Run eclipse
  2. Rename eclipse exe to eclipse.exe.back
  3. Run updates
  4. Updates executed successfully



Fixed my problem updating 2021-06 to 2021-09. As far as I can see, the permissions should be ok. Does eclipse use a different user account in the background?
Could the error message be reworked to give more details about the cause of not being able to move the old file?
Re: Update error [message #1848819 is a reply to message #1847343] Sat, 18 December 2021 02:35 Go to previous messageGo to next message
Eclipse UserFriend
Johannes Unger wrote on Sat, 23 October 2021 21:20
Premysl Fiala wrote on Mon, 07 October 2013 06:23
I had same issue with updating Kepler. W7 with admin.

How to solve:


  1. Run eclipse
  2. Rename eclipse exe to eclipse.exe.back
  3. Run updates
  4. Updates executed successfully



Fixed my problem updating 2021-06 to 2021-09. As far as I can see, the permissions should be ok. Does eclipse use a different user account in the background?
Could the error message be reworked to give more details about the cause of not being able to move the old file?


same goes to me, using this trick works
Re: Update error [message #1849256 is a reply to message #1127916] Mon, 10 January 2022 08:23 Go to previous message
Eclipse UserFriend
after renaming the eclipse.exe to eclipse.exe.back and running the updates, do we have to remove the eclipse.exe.back file after completing updates, as a new eclipse.exe file was created after the update.
so now there is a eclipse.exe file in my folder, and an eclipse.exe.back file as well.
Previous Topic:Resolving but not installing IUs on the command line
Next Topic:Install plugin no p2.director
Goto Forum:
  


Current Time: Mon Jun 23 12:51:38 EDT 2025

Powered by FUDForum. Page generated in 0.49161 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top