Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Update error
Update error [message #1057955] Fri, 10 May 2013 05:32 Go to next message
Enrico R. is currently offline Enrico R.Friend
Messages: 45
Registered: July 2009
Location: Germany
Member

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 07:49 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot CelaFriend
Messages: 597
Registered: December 2010
Senior Member

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 06:23 Go to previous messageGo to next message
Premysl Fiala is currently offline Premysl FialaFriend
Messages: 2
Registered: October 2012
Junior Member
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] Sat, 01 February 2014 00:14 Go to previous messageGo to next message
Luke Usherwood is currently offline Luke UsherwoodFriend
Messages: 12
Registered: July 2009
Junior Member
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 13:48 Go to previous messageGo to next message
Zia Rehman is currently offline Zia RehmanFriend
Messages: 6
Registered: June 2014
Junior Member
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 11:58 Go to previous messageGo to next message
Dion Staiger is currently offline Dion StaigerFriend
Messages: 1
Registered: December 2014
Junior Member
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 21:20 Go to previous messageGo to next message
Johannes Unger is currently offline Johannes UngerFriend
Messages: 1
Registered: October 2021
Junior Member
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 07:35 Go to previous messageGo to next message
Bradly Ali is currently offline Bradly AliFriend
Messages: 1
Registered: December 2021
Junior Member
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 13:23 Go to previous message
Sahil Goyal is currently offline Sahil GoyalFriend
Messages: 1
Registered: January 2022
Junior Member
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: Tue Oct 04 04:02:29 GMT 2022

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

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

Back to the top