Update (not install) Eclipse SDK with p2 director [message #798163] |
Tue, 14 February 2012 05:30  |
Eclipse User |
|
|
|
I'm updating my Eclipse quite often. So far I used p2 agent with couple of defined repositories and profiles. This worked fine but I decided to switch to using scripts. Here is what I put up for installing the SDK (a snippet):
./eclipse/equinox-p2-adminui-3.7.1-linux-gtk-x86/eclipse/eclipse -consolelog -application org.eclipse.equinox.p2.director -metadataRepository http://download.eclipse.org/eclipse/updates/3.8-I-builds -artifactRepository http://download.eclipse.org/eclipse/updates/3.8-I-builds -installIU org.eclipse.sdk.ide -destination ~/eclipse/ibuild38/ -bundlepool ~/eclipse/bp
This works like a charm when installing the IU, but when run for the second time (with intent to update the existing installation) it fails. Changing the destination helps but it's not what I need.
I'm missing a magic switch, right?
Cheers,
T
|
|
|
|
Re: Update (not install) Eclipse SDK with p2 director [message #806100 is a reply to message #799059] |
Fri, 24 February 2012 09:51   |
Eclipse User |
|
|
|
Thanks for the quick reply Brian.
I applied both suggestions, I think it worked once, but ever since I try to update the SDK I get this:
Installing org.eclipse.sdk.ide 3.8.0.I20120223-0928.
Installation failed.
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse SDK 3.8.0.I20120223-0928 (org.eclipse.sdk.ide 3.8.0.I20120223-0928)
Software currently installed: Eclipse SDK 3.8.0.I20120214-0800 (org.eclipse.sdk.ide 3.8.0.I20120214-0800)
Only one of the following can be installed at once:
toolingorg.eclipse.sdk.ide.configuration 3.8.0.I20120223-0928
toolingorg.eclipse.sdk.ide.configuration 3.8.0.I20120214-0800
Cannot satisfy dependency:
From: Eclipse SDK 3.8.0.I20120214-0800 (org.eclipse.sdk.ide 3.8.0.I20120214-0800)
To: toolingorg.eclipse.sdk.ide.configuration [3.8.0.I20120214-0800]
Cannot satisfy dependency:
From: Eclipse SDK 3.8.0.I20120223-0928 (org.eclipse.sdk.ide 3.8.0.I20120223-0928)
To: toolingorg.eclipse.sdk.ide.configuration [3.8.0.I20120223-0928]
Application failed, log file location: /home/tzarna/eclipse/equinox-p2-adminui-3.7.1-linux-gtk-x86/eclipse/configuration/1330094173919.log
And the log itself:
!SESSION 2012-02-24 15:36:12.933 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr9-20110624_85526 (JIT enabled, AOT enabled)
J9VM - 20110624_085526
JIT - r9_20101028_17488ifx17
GC - 20101027_AA
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -application org.eclipse.equinox.p2.director -metadataRepository http://download.eclipse.org/eclipse/updates/3.8-I-builds -artifactRepository http://download.eclipse.org/eclipse/updates/3.8-I-builds -installIU org.eclipse.sdk.ide -destination /home/tzarna/eclipse/ibuild38 -bundlepool /home/tzarna/eclipse/bp -profile SDKProfile -profileProperties org.eclipse.update.install.features=true
Command-line arguments: -os linux -ws gtk -arch x86 -consoleLog -application org.eclipse.equinox.p2.director -metadataRepository http://download.eclipse.org/eclipse/updates/3.8-I-builds -artifactRepository http://download.eclipse.org/eclipse/updates/3.8-I-builds -installIU org.eclipse.sdk.ide -destination /home/tzarna/eclipse/ibuild38 -bundlepool /home/tzarna/eclipse/bp -profile SDKProfile -profileProperties org.eclipse.update.install.features=true
!ENTRY org.eclipse.equinox.p2.director 4 1 2012-02-24 15:36:57.464
!MESSAGE Cannot complete the install because of a conflicting dependency.
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2012-02-24 15:36:57.466
!MESSAGE Software being installed: Eclipse SDK 3.8.0.I20120223-0928 (org.eclipse.sdk.ide 3.8.0.I20120223-0928)
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2012-02-24 15:36:57.468
!MESSAGE Software currently installed: Eclipse SDK 3.8.0.I20120214-0800 (org.eclipse.sdk.ide 3.8.0.I20120214-0800)
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2012-02-24 15:36:57.470
!MESSAGE Only one of the following can be installed at once:
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-02-24 15:36:57.471
!MESSAGE toolingorg.eclipse.sdk.ide.configuration 3.8.0.I20120223-0928
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-02-24 15:36:57.472
!MESSAGE toolingorg.eclipse.sdk.ide.configuration 3.8.0.I20120214-0800
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2012-02-24 15:36:57.474
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-02-24 15:36:57.475
!MESSAGE From: Eclipse SDK 3.8.0.I20120214-0800 (org.eclipse.sdk.ide 3.8.0.I20120214-0800)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-02-24 15:36:57.476
!MESSAGE To: toolingorg.eclipse.sdk.ide.configuration [3.8.0.I20120214-0800]
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2012-02-24 15:36:57.477
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-02-24 15:36:57.479
!MESSAGE From: Eclipse SDK 3.8.0.I20120223-0928 (org.eclipse.sdk.ide 3.8.0.I20120223-0928)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-02-24 15:36:57.481
!MESSAGE To: toolingorg.eclipse.sdk.ide.configuration [3.8.0.I20120223-0928]
The "toolingorg" part looks weird, doesn't it?
[Updated on: Fri, 24 February 2012 09:52] by Moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06064 seconds