P2 fun: Failed to prepare partial IU
I got this while trying to install new version of subclipse on top of eclipse rcp edition of ganymede release. Running eclipse with -clean didn't help.
-
!ENTRY org.eclipse.equinox.p2.engine 4 4 2008-11-18 13:17:31.218
-
!MESSAGE An error occurred during provisioning.
-
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2008-11-18 13:17:31.218
-
!MESSAGE Failed to prepare partial IU: [R]org.tigris.subversion.clientadapter.javahl 1.5.4.
Then I thought - what the heck, not going to reinstall - and tried to update whole eclipse with P2. Worked nicely, all updated.
After that also installing full subclipse worked again, at least without errors.
BUT just installation. It didn't actually work -- it shows up as installed plugin in P2 manager -- but not visible in Help->About->Plugin Details. Workspace .log is clean.
So, new eclipse re-install, here I come :(
This all probably started because I first tried to upgrade from older subclipse to 1.4.6 using p2 update manager. Usually I've been just reinstalling manually.
And I'm not even sure if it's a P2 or subclipse update site issue. Some P2 internal cache trees maybe got screwed that -clean couldn't reach.
2 Comments »
RSS feed for comments on this post.






I solved this by having three installations of Eclipse: A work install, a template and a "install" version (which I always copy fresh from the template). I then install the plugins I need using the "install" version and after the download, I copy them manually into dropins in my work install. This way, p2 can't mess things up.
See my blog for details: http://darkviews.blogspot.com/2008/09/installing-eclipse-341-despite-p2.html
Comment by Aaron Digulla — November 18, 2008 @ Tuesday, November 18, 2:27 pm
Wow! I can not say "Nice!" but definitely nicely foolproof and very likely lot more stable in the long run!
Will try out this setup when having a bit more time to experiment. Thanks for your post!
PS. And thanks for surviving capatcha spam-check!
Comment by Ahti — November 18, 2008 @ Tuesday, November 18, 3:50 pm