Package eclipse has unmet dependencies

Bug #401402 reported by Craig Estep
116
This bug affects 19 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: eclipse

When trying to install eclipse in karmic, it fails with the following error:

sudo apt-get install eclipse
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  eclipse: Depends: eclipse-jdt (= 3.4.1-0ubuntu2) but it is not going to be installed
           Depends: eclipse-pde (= 3.4.1-0ubuntu2) but it is not going to be installed
           Depends: eclipse-source (= 3.4.1-0ubuntu2) but it is not going to be installed
           Recommends: eclipse-gcj but it is not going to be installed
E: Broken packages

More info:

apt-cache policy eclipse
eclipse:
  Installed: (none)
  Candidate: 3.4.1-0ubuntu2
  Version table:
     3.4.1-0ubuntu2 0
        500 http://us.archive.ubuntu.com karmic/universe Packages

ProblemType: Bug
Architecture: i386
Date: Sun Jul 19 10:36:33 2009
DistroRelease: Ubuntu 9.10
Package: eclipse (not installed)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-3.19-generic
SourcePackage: eclipse
Uname: Linux 2.6.31-3-generic i686

Revision history for this message
Bala.Linux (bala-linux-gmail) wrote :

Same issue :(

Revision history for this message
Bala.Linux (bala-linux-gmail) wrote :

This has solved the issue....
sudo apt-get install libswt3.4-*

Revision history for this message
jyio (inportb) wrote :

I confirm that the bug exists and that the workaround in #2 is valid.

Changed in eclipse (Ubuntu):
status: New → Confirmed
Revision history for this message
raronson (aronson-rob) wrote :

The workaround removes the tuxguitar package. I received a suggestion from the Ubuntu forums to download Eclipse directly from its website and install that way. Giving it a shot now.

Revision history for this message
Wes Garner (wesgarner) wrote :

I can confirm this also, workaround does fix

Revision history for this message
Dominik George (natureshadow) wrote :

I am trying to debug this to create a patch, but somehow I'm stuck as the dependencies of the packages in question (eclipse-rcp, that is, which finally requests libswt3.4-gtk-java) have correct dependencies ...

Revision history for this message
Rarian Rakista (rakista) wrote :

Workaround works but is a kludge.

Revision history for this message
Stefan Mosoi (mosoi-stefan) wrote :

the workaround works....it uninstalled vuze(azureus) thought ..

Revision history for this message
Ilya Barygin (randomaction) wrote :

You can install eclipse with
 sudo apt-get-install eclipse --no-install-recommends

The problem is in the recommended package eclipse-gcj, which depends on libswt3.2-gtk-gcj, which in turn depends on gij-4.2, which is not available.

Revision history for this message
Dominik George (natureshadow) wrote :

The problem results from Matthias Klose committing a changeset to the package on 28 June 2009. He removed the binary package definitions for all *-gcj packages from the eclipse source package (there are quite a few packages built from that) but didn't remove the references to them in the Recommendations for the other binaries.

I created a patch to remove the recommendations.

Revision history for this message
Dominik George (natureshadow) wrote :

I uploaded the fixed package to my PPA. Eclipse should be installable from there without flaws.

Revision history for this message
Dominik George (natureshadow) wrote :

I moved the updated package to my bugfix PPA: https://launchpad.net/~natureshadow/+archive/bugfixes

Will a dev look at this before karmic comes out?

Revision history for this message
MKdx (my-subscribtions) wrote :

@Dominik
The ppa is giving the same dependency problems here.

Revision history for this message
UnSandpiper (aybora) wrote :

@Dominik
PPA is letting me install, but give the following messages

When launching Eclipse: "This Eclipse build doesn't have support for the integrated browser."

When selecting "Software updates" from help menu I get: "Cannot launch the Update UI, This installation has not been configured properly for Software Updates."

Revision history for this message
Dominik George (natureshadow) wrote : Re: [Bug 401402] Re: Package eclipse has unmet dependencies

@UnSandpiper:

The first is unknown to me, the latter is also an issue with the
original version and far beyond teh scope of my fix.

Revision history for this message
Benjamin Drung (bdrung) wrote :

This is fixed in eclipse 3.5.1-0~ubuntu1.

Changed in eclipse (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.