Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339659 - Cannot complete the install because of a conflicting dependency.
Summary: Cannot complete the install because of a conflicting dependency.
Status: CLOSED DUPLICATE of bug 395521
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 358471
  Show dependency tree
 
Reported: 2011-03-11 04:58 EST by annibal CLA
Modified: 2014-07-17 18:18 EDT (History)
13 users (show)

See Also:


Attachments
copy andpaste of the content of Eclipe instal details >Configuration (63.69 KB, application/octet-stream)
2011-03-12 17:19 EST, annibal CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description annibal CLA 2011-03-11 04:58:49 EST
Don't scream at me if this is not the right place for this one.
I'm still learning.
Trying to update my Eclipse I do get this:
------------------------------------
Cannot complete the install because of a conflicting dependency.
  Software being installed: Eclipse IDE for Java Developers 1.3.2.20110301-1807 (epp.package.java 1.3.2.20110301-1807)
  Software currently installed: Shared profile 1.0.0.1284709157554 (SharedProfile_epp.package.java 1.0.0.1284709157554)
  Only one of the following can be installed at once: 
    Debug UI 3.6.0.v20100601-1530 (org.eclipse.debug.ui 3.6.0.v20100601-1530)
    Debug UI 3.6.3.v20101201_r362 (org.eclipse.debug.ui 3.6.3.v20101201_r362)
    Debug UI 3.6.1.v20100901_r361 (org.eclipse.debug.ui 3.6.1.v20100901_r361)
  Cannot satisfy dependency:
    From: Shared profile 1.0.0.1284709157554 (SharedProfile_epp.package.java 1.0.0.1284709157554)
    To: org.eclipse.debug.ui [3.6.1.v20100901_r361]
  Cannot satisfy dependency:
    From: Eclipse IDE for Java Developers 1.3.2.20110301-1807 (epp.package.java 1.3.2.20110301-1807)
    To: org.eclipse.epp.package.java.feature.feature.group [1.3.2.20110301-1807]
  Cannot satisfy dependency:
    From: EPP Java Package 1.3.2.20110301-1807 (org.eclipse.epp.package.java.feature.feature.group 1.3.2.20110301-1807)
    To: org.eclipse.platform.feature.group [3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi (org.eclipse.platform.feature.group 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi)
    To: org.eclipse.debug.ui [3.6.3.v20101201_r362]
Comment 1 annibal CLA 2011-03-11 05:00:24 EST
I'v seen something similar here:
http://marketplace.eclipse.org/content/error/report/36380
Comment 2 Markus Knauer CLA 2011-03-11 06:38:24 EST
Nobody is going to scream ;-)

Can you provide more details? 
It would be interesting to know which package you were trying to update (see the version and the build id in the About dialog) and what additional features were installed on top of the download (i.e. the "Features" section in the About dialog > Installation Details > Configuration). 
Is there anything special in your environment? I.e. a shared install of Eclipse?
Comment 3 Markus Knauer CLA 2011-03-11 06:51:11 EST
(In reply to comment #1)
> I'v seen something similar here:
> http://marketplace.eclipse.org/content/error/report/36380

While not 100% sure I think this one is different in that they need to provide JBoss Tools that are compatible with Helios / Eclipse 3.6. To me it looks like they build their tools against an older Galileo / Eclipse 3.5 version with a different version of the ICU bundle.
Comment 4 annibal CLA 2011-03-12 17:19:40 EST
Created attachment 191061 [details]
copy andpaste of the content of Eclipe instal details >Configuration
Comment 5 annibal CLA 2011-03-12 17:27:23 EST
the automatic update wants to update:
Eclipse IDE for Java Developers

Version: Helios Service Release 1
Build id: 20100917-0705
Eclipse IDE for Java Developers	1.3.1.20100916-1202
Eclipse Platform	3.6.1.M20100909-0800
EPP Java Package	1.3.1.20100916-1202

with
Eclipse IDE for Java Developers	1.3.2.20110301-1807

nothing special as far as I know intalled out of the box(network)
put some additional plugins/software on top of it
like
maven m2eclipse
jpa
android dk
gwt dk
svn 

need more info -> scream

thank you for your concern
have a niceweek end

ced
Comment 6 Amit CLA 2011-03-17 03:21:58 EDT
I got something similar on Helios on Windows:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Eclipse IDE for Java Developers 1.3.2.20110301-1807 (epp.package.java 1.3.2.20110301-1807)
  Software currently installed: Shared profile 1.0.0.1284708747720 (SharedProfile_epp.package.java 1.0.0.1284708747720)
  Only one of the following can be installed at once: 
    Eclipse IDE for Java Developers 1.3.2.20110301-1807 (epp.package.java 1.3.2.20110301-1807)
    Eclipse IDE for Java Developers 1.3.1.20100916-1202 (epp.package.java 1.3.1.20100916-1202)
  Cannot satisfy dependency:
    From: Shared profile 1.0.0.1284708747720 (SharedProfile_epp.package.java 1.0.0.1284708747720)
    To: epp.package.java [1.3.1.20100916-1202]
Comment 7 Andre Costa CLA 2011-03-25 15:27:32 EDT
Same here on Helios SR2 on Ubuntu Lucid x86_64, although the error message seems to be a little different:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Eclipse IDE for Java Developers 1.3.2.20110301-1807 (epp.package.java 1.3.2.20110301-1807)
  Software currently installed: Shared profile 1.0.0.1298021833284 (SharedProfile_epp.package.java 1.0.0.1298021833284)
  Only one of the following can be installed at once: 
    EPP Java Package 1.3.2.20110301-1807 (org.eclipse.epp.package.java.feature.feature.jar 1.3.2.20110301-1807)
    EPP Java Package 1.3.2.20110218-0812 (org.eclipse.epp.package.java.feature.feature.jar 1.3.2.20110218-0812)
  Cannot satisfy dependency:
    From: Shared profile 1.0.0.1298021833284 (SharedProfile_epp.package.java 1.0.0.1298021833284)
    To: org.eclipse.epp.package.java.feature.feature.jar [1.3.2.20110218-0812]
  Cannot satisfy dependency:
    From: Eclipse IDE for Java Developers 1.3.2.20110301-1807 (epp.package.java 1.3.2.20110301-1807)
    To: org.eclipse.epp.package.java.feature.feature.group [1.3.2.20110301-1807]
  Cannot satisfy dependency:
    From: EPP Java Package 1.3.2.20110301-1807 (org.eclipse.epp.package.java.feature.feature.group 1.3.2.20110301-1807)
    To: org.eclipse.epp.package.java.feature.feature.jar [1.3.2.20110301-1807]

All I did was run "Help > Check for Updates" (I was trying to upgrade Mylyn to 3.5).

Eclipse installation dir owner is root, so I guess this makes it a shared install, is that right?
Comment 8 Andre Costa CLA 2011-04-05 16:02:37 EDT
Has anyone been able to workaround this? This is really a showstopper, it's preventing me not only from updating Helios SR2 but also from installing Mylyn 3.5 :-/ (Eclipse installed as root on Linux x86_64)
Comment 9 Steffen Pingel CLA 2011-04-05 16:27:33 EDT
It looks like it's a problem with updating a profile that is a shared install (bug 287246). As a work-around I would recommend installing Eclipse into a folder that's writeable by the user running it (e.g. in your home directory).
Comment 10 Amit CLA 2011-04-06 00:37:31 EDT
Following Steffen Pingel's last comment I was able to run Eclipse as an administrator on Windows 7 and perform the update. To do that go (using Windows Explorer) to where Eclipse is located on your hard drive, right click eclipse.exe and then "Run as administrator...". Then update Eclipse as you would normally do.

Thanks, Steffen.
Comment 11 Andre Costa CLA 2011-04-06 09:47:21 EDT
(In reply to comment #9)
> It looks like it's a problem with updating a profile that is a shared install
> (bug 287246). As a work-around I would recommend installing Eclipse into a
> folder that's writeable by the user running it (e.g. in your home directory).

Thks Steffen, I was hoping I could avoid having to change installation's permissions, or upgrade Eclipse as root, but it seems that's a no-go (BTW: unfortunately bug 287246 is an old friend of mine, I reported it ;-))

Should I file another issue then, specifically related to upgrades on shared installs? Or will this one attract proper attention as it is?
Comment 12 Andre Costa CLA 2011-04-06 10:17:13 EDT
Just a quick follow-up: I managed to upgrade Eclipse running it as root, as both Amit and Steffen suggested.
Comment 13 Steffen Pingel CLA 2011-04-06 11:26:02 EDT
Ian, are these problems the same as the one described in http://dev.eclipse.org/mhonarc/lists/epp-dev/msg01135.html and on bug 322929?
Comment 14 Andre Costa CLA 2011-04-06 14:10:04 EDT
(In reply to comment #12)
> Just a quick follow-up: I managed to upgrade Eclipse running it as root, as
> both Amit and Steffen suggested.

... well, I guess I celebrated too soon: upgrading Eclipse as root disabled Subclipse (which was installed as !root). The only way to fix this was removing Subclipse as !root and reinstalling it as root, which pretty much brings back bug 287246 IMHO :-(
Comment 15 Eric Jain CLA 2011-04-21 14:13:10 EDT
I stumbled over this as well (see http://www.eclipse.org/forums/index.php?t=msg&goto=666704&S=65ddf52b3beff9063937843791bf8ea4). In retrospect it's not surprising that shared plugins in a shared installation can't be updated unless running as administrator. But there would have been less confusion if instead of a "conflicting dependency" error there would have been an "insufficient privileges to update this plugin" message.
Comment 16 Richard CLA 2011-05-05 18:34:06 EDT
does this bug also display a message box stating no repository found?
Comment 17 Steffen Pingel CLA 2011-09-27 09:26:43 EDT
Moving to p2 since it appears to be that the problem is related to handling updates of shared installs.
Comment 18 Matt Schirle CLA 2012-07-09 14:27:16 EDT
(In reply to comment #16)
> does this bug also display a message box stating no repository found?

I have been running into this bug, but I have not seen any message box like that.
Comment 19 Pascal Rapicault CLA 2012-11-30 16:18:17 EST

*** This bug has been marked as a duplicate of bug 395521 ***
Comment 20 Missing name CLA 2014-07-17 18:18:51 EDT
I don't see how this duplicates the other bug if I have the saem symptom (here and I am not running a shared installation.