Mahmoud Saleh
Mahmoud Saleh

Reputation: 33625

Cannot complete the install because of a conflicting dependency

I am using eclipse helios (IDE for Java EE developers) 64 bit latest version

and when I am trying to update it from help>check for updates

I am getting the error:

Cannot complete the install because of a conflicting dependency

Why I am getting this error, and how can I solve it?

Upvotes: 41

Views: 112198

Answers (8)

Ian M
Ian M

Reputation: 731

I resolved this issue by running eclipse as root, and then installing the updates from Help>Install New Software and adding the latest update version to the download list (http://download.eclipse.org/eclipse/updates/4.4). Not sure if this is the best way, but it worked to go from Indigo (3.8) to Luna (4.4). I'm doing this on Ubuntu 14.04 x64

Upvotes: 0

pranavjayadev
pranavjayadev

Reputation: 929

I solved this problem by downloading the latest ADT release from following urls

  1. linux 64 bit vm:
    http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip

  2. linux 32 bit vm:
    http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip

  3. mac:
    http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip

  4. win32:
    http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip

  5. win64:
    http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip

After opening eclipse IDE go to Help ->Install New Software->Add

Name = ADT plugin , location = link and select all Developer Tools . After installation completed please restart your ide and all the bugs get solved now.

Upvotes: 0

mayank_droid
mayank_droid

Reputation: 1015

I Could resolve it by checking already installed plugins at where it was giving me this error. I just uninstalled all the plugins which had conflicting dependency and try to install the updates. It worked well.! check the marked area in this linked image

Generally, why it should happen is that while updating plugins lately,they have evolved 2-3 updates and during which plugins have introduced some new functions that have to be installed and also are to be updated. This thing creates conflicts of dependency. Eclipse tries to update which is not already existing/installed and it also tells install it first which creates conflicts.

So, when you uninstall the plugins, now it installs the latest plugins rather then updating. it means you updating eclipse plugins manually(by uninstalling older and installing latest). This may happen if you have skipped 2-3 updates and now looking for latest update.

Upvotes: 2

Anonymours
Anonymours

Reputation: 1

I agree with Michel.iamit. I tried all other options of updating the ADT and it did not work. With Michel's solution, my environment did not work and it complained about the conflict.

So here is what I did and got it to work:

  • First uninstall all ADP Plugins.
  • Then check for updates and it will prompt you regarding the missing plugins.
  • Select all, accept all licences and proceeed.

Hope this helps someone.

Upvotes: 0

michel.iamit
michel.iamit

Reputation: 5916

I couldnt get things working in the 'normal' update screen, but when going to 'About eclipse platform' screen and push the 'installation details' button. I got another screen, where you can select an installed plugin and update it.... in there it worked.

In there I first selected the plugin that seemed to be causing the conflict, and update it. Then the other one conflicting with this one... (the conflict in my case was between the android sdk and my java development tools)

Don't ask me why and what's the difference.... this option might be of help to others...

Upvotes: 9

Jeremy C
Jeremy C

Reputation: 609

If running on Windows 7, these errors can often be resolved by running Eclipse as Administrator, then update. https://bugs.eclipse.org/bugs/show_bug.cgi?id=339659

Upvotes: 3

TK Gospodinov
TK Gospodinov

Reputation: 8452

You are getting this because there is a conflicting dependency somewhere. For example, if you have plugin A that depends on dependency.X-1.0.0 installed, and try to install plugin B that depends on dependency.X-1.1.0, there is a conflict. When you check for updates, Eclipse will check all plugins and features you have installed in the past. Try to update one thing at a time to identify which update has a conflicting dependency.

Hope this helps!

Upvotes: 25

Related Questions