LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Thread Tools
Old 12-04-2007, 08:31 PM   #1
Lokathor
Member
 
Registered: Oct 2005
Location: Boise, ID
Distribution: Debian testing
Posts: 99
Thanked: 0
libswt-gtk-3.2-java and libswt3.2-gtk-java conflict (etch)


[Log in to get rid of this advertisement]
I'm using Etch, and I want to have both Azureus and Eclipse installed at the same time. This doesn't seem unreasonable. However, there are two packages with ever so slightly different names that conflict with each other. Azureus needs "libswt-gtk-3.2-java", and then Eclipse needs "libswt3.2-gtk-java". Is there a way to solve this or just trick/force apt-get into having both libraries (and thus, programs) at once?

At one point I was using testing and I had both programs installed and working at the same time, so I know it's possible. I had to go back from testing to etch because sound died on my system over the version changes for alsa and my kernel, and it would not come back. So, I'd rather not go back into testing.
Lokathor is offline     Reply With Quote
Old 12-07-2007, 04:33 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Debian, Ubuntu, OpenBSD, OpenSolaris
Posts: 1,725
Thanked: 26
If you didn't do a re-install when your sound crapped out, you may still have some installed packages left over from Lenny ("testing").

In which case, you will need to uninstall any of the conflicting applications and their dependencies, clear your apt cache, update your package lists and then try installing both again.

General idea (note, I'm not sure which libswt package is installed, so fill in the proper one):
Code:
# apt-get remove eclipse azureus [libswt3.2-gtk-java|libswt-gtk-3.2-java]
# apt-get autoclean && apt-get clean
# apt-get update
# apt-get install eclipse azureus
If you're worried about your Azureus and Eclipse .rc files, don't be. They're kept in your ~ directory, and won't be touched by the package removal. The only way they would be removed by the package removal, is if you go "apt-get purge [package_name]".

I hope that helps.
And please, if I've gotten something wrong, please correct me.
indienick is offline     Reply With Quote
Old 12-12-2007, 09:53 PM   #3
Lokathor
Member
 
Registered: Oct 2005
Location: Boise, ID
Distribution: Debian testing
Posts: 99
Thanked: 0

Original Poster
Nope, sorry, I did a complete reinstall including a format of everything except the /home partition.

However, I tried anyways, and got the following:

Code:
mgarsenal:/home/daniel# apt-get install eclipse azureus
Reading package lists... Done
Building dependency tree... 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.2.1-4) but it is not going to be installed
           Depends: eclipse-pde (= 3.2.1-4) but it is not going to be installed
           Depends: eclipse-source (= 3.2.1-4) but it is not going to be installed
E: Broken packages
mgarsenal:/home/daniel# apt-get install eclipse azureus eclipse-jdt eclipse-pde eclipse-source
Reading package lists... Done
Building dependency tree... 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-jdt: Depends: eclipse-platform (= 3.2.1-4) but it is not going to be installed
  eclipse-pde: Depends: eclipse-platform (= 3.2.1-4) but it is not going to be installed
  eclipse-source: Depends: eclipse-platform (= 3.2.1-4) but it is not going to be installed
E: Broken packages
I suppose that turns this problem into a bug report. But based on a google search, this bug has been reported before.
Lokathor is offline     Reply With Quote
Old 12-13-2007, 08:01 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,313
Thanked: 3
No need:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=340998

Maybe you can try one of the workarounds, dunno..

apt-get -s install eclipse azureus
work fine on Testing
nx5000 is offline     Reply With Quote
Old 12-15-2007, 04:35 PM   #5
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian Lenny x64
Posts: 119
Thanked: 4
Lol, a few weeks ago i had the same issue, starting to learn java and wanted to use eclipse, 1st time i just hit yes on apititude install eclipse and my azureus was gone.

Now i fixed the issues using the azureus from unstable, Vuze is called now, running 3.0.3.4 version of azureus and eclipse fine. Perhaps you should check azureus home page and download the latest version. http://www.azureus.com/
pliqui is offline     Reply With Quote
Old 12-15-2007, 07:34 PM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,313
Thanked: 3
Lol that's the risk of dependencies You install one package, it uninstall everything and you remain with only this package, not even an operating system anymore

I just tried installing azureus from testing
aptitutde install azureus
[..]
I start it
azureus
java: command not found
It's not even starting

aptitude remove azureus
nx5000 is offline     Reply With Quote
Old 12-16-2007, 12:54 PM   #7
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian Lenny x64
Posts: 119
Thanked: 4
Quote:
azureus
java: command not found
It's not even starting
Check your java version and make sure is there. Type
Code:
pliqui@debian:~$ java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
i'm using java 6 mustang. If you get an error try to get java again
Code:
pliqui@debian:~$ aptitude install sun-java6-bin
or for java 5
Code:
aptitude install sun-java5-bin

Let me know if worked

Last edited by pliqui; 12-16-2007 at 01:00 PM.. Reason: typo
pliqui is offline     Reply With Quote
Old 12-18-2007, 07:45 PM   #8
Lokathor
Member
 
Registered: Oct 2005
Location: Boise, ID
Distribution: Debian testing
Posts: 99
Thanked: 0

Original Poster
I'll get get another torrent client for now. Between Azureus and Eclipse, Eclipse is the more valuable.
Lokathor is offline     Reply With Quote
Old 12-20-2007, 03:46 PM   #9
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Debian, Ubuntu, OpenBSD, OpenSolaris
Posts: 1,725
Thanked: 26
I suggest giving Transmission a shot.
indienick is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java GTK+ plaf Lobais Linux - Software 2 09-10-2006 12:53 PM
no swt-pi-gtk-3138 in java.library.path vlaspld Linux - Software 2 07-24-2006 12:44 PM
Java-GTK glib-java-0.2.5 Error hikkerguy Linux - Software 2 07-19-2006 07:01 PM
Java Gtk error Reegz Programming 3 07-17-2006 09:40 AM
java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit artemis8543 Linux - Newbie 4 05-16-2006 09:38 PM


All times are GMT -5. The time now is 03:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration