Comment 2 for bug 1754886

Revision history for this message
vital (vsbogd) wrote : Re: Eclipse fails to start on fresh 18.04 installation

Have the same problem.
Seems root cause is a broken dependcy:

eclipse-platform version is 3.8.1-11 it depends on eclipse-rcp version 3.8.1-11 which in turn depends on libequinox-osgi-java (>= 3.9.1).

But eclipse-platform-data expects libequinox-osgi-java version 3.8.1-11:

$ apt-cache --recurse depends eclipse-platform | less
eclipse-platform
  Depends: eclipse-rcp
eclipse-rcp
  Depends: libequinox-osgi-java

$ apt-cache show eclipse-rcp
Package: eclipse-rcp
Architecture: amd64
Version: 3.8.1-11
Priority: optional
Section: universe/devel
Source: eclipse
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian Orbital Alignment Team <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 8094
Depends: default-jre | java5-runtime | java6-runtime, libequinox-osgi-java (>= 3.9.1), libfelix-gogo-command-java, libfelix-gogo-shell-java, libicu4j-49-java (>= 49.1-2), libswt-gtk-3-java (<< 3.9.0~), libswt-gtk-3-java (>= 3.8.0~), libswt-cairo-gtk-3-jni (>= 3.8.0~), libswt-webkit-gtk-3-jni (>= 3.8.0~), libc6 (>= 2.14)

$ dpkg -L eclipse-platform-data | grep config.ini | xargs cat | grep osgi.framework=
osgi.framework=file\:plugins/org.eclipse.osgi_3.8.1.dist.jar
osgi.framework=file\:plugins/org.eclipse.osgi_3.8.1.dist.jar