dependecy broken: eclipse-rcp : Depends: libswt-gtk-3-java (>= 3.7.1-2)

Bug #1016350 reported by Angel Guzman Maeso
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

My eclipse today was removed on quantal update packages. So I try to install again, and it fails with:

$ sudo apt-get install eclipse-rcp
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-rcp : Depends: libswt-gtk-3-java (>= 3.7.1-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

$ dpkg -l libswt-gtk-3-java | grep libswt-gtk-3-java
ii libswt-gtk-3-java 3.8.0~rc2-3 Standard Widget Toolkit for GTK+ Java library

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: eclipse-rcp (not installed)
ProcVersionSignature: Ubuntu 3.5.0-1.1-generic 3.5.0-rc3
Uname: Linux 3.5.0-1-generic i686
ApportVersion: 2.2.5-0ubuntu1
Architecture: i386
Date: Fri Jun 22 04:39:27 2012
InstallationMedia:

ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: eclipse
UpgradeStatus: Upgraded to quantal on 2012-06-05 (16 days ago)

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting this issue.
I get the same error message when attempting to install eclipse-rcp on Ubuntu Quantal.

Changed in eclipse (Ubuntu):
status: New → Confirmed
tags: added: unmetdeps
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Temporal workaround getting downgrade the package:

$ wget https://launchpad.net/ubuntu/+source/swt-gtk/3.7.2-3ubuntu1/+build/3566060/+files/libswt-gtk-3-jni_3.7.2-3ubuntu1_i386.deb
$ sudo dpkg -i libswt-gtk-3-jni_3.7.2-3ubuntu1_i386.deb
$ wget https://launchpad.net/ubuntu/+source/swt-gtk/3.7.2-3ubuntu1/+build/3566060/+files/libswt-gtk-3-java_3.7.2-3ubuntu1_i386.deb
$ sudo dpkg -i libswt-gtk-3-java_3.7.2-3ubuntu1_i386.deb
$ wget https://launchpad.net/ubuntu/+source/swt-gtk/3.7.2-3ubuntu1/+build/3566060/+files/libswt-cairo-gtk-3-jni_3.7.2-3ubuntu1_i386.deb
$ sudo dpkg -i libswt-cairo-gtk-3-jni_3.7.2-3ubuntu1_i386.deb
$ wget https://launchpad.net/ubuntu/+source/swt-gtk/3.7.2-3ubuntu1/+build/3566060/+files/libswt-webkit-gtk-3-jni_3.7.2-3ubuntu1_i386.deb
$ sudo dpkg -i libswt-webkit-gtk-3-jni_3.7.2-3ubuntu1_i386.deb
$ sudo apt-get install eclipse-rcp
$ sudo apt-get install eclipse-platform

Packages from https://launchpad.net/ubuntu/+source/swt-gtk/3.7.2-3ubuntu1/+build/3566060

PS: Downgrading with apt-get doesn't work for me

sudo apt-get install libswt-gtk-3-java=3.7.2-3ubuntu1

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Until a fix is released in Quantal, if you wanna update your packages without remove eclipse:

$ sudo su -
# echo "eclipse-platform hold" | dpkg --set-selections
# exit
$ sudo apt-get update
$ sudo apt-get dist-upgrade

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eclipse - 3.8.0~rc3-4ubuntu1

---------------
eclipse (3.8.0~rc3-4ubuntu1) quantal; urgency=low

  * debian/patches/glib-single-include.patch:
    - Fix FTBFS with glib 2.31+ (LP: #1016350)
 -- Jeremy Bicha <email address hidden> Tue, 26 Jun 2012 15:00:17 -0400

Changed in eclipse (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

The fix is valid, it is working fine. Thanks

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.