PDA

View Full Version : HOWTO: Installing Azureus on Breezy


arnieboy
October 13th, 2005, 02:07 PM
UPDATED! NO MORE RESIZING PROBLEMS
Part 1: Installing Azureus
Before anything make sure u uncomment the universe and multiverse repositories and add the following in in /etc/apt/sources.list:
sudo gedit /etc/apt/sources.list
add at the end:
deb http://packages.freecontrib.org/ubuntu/plf breezy free non-free
deb-src http://packages.freecontrib.org/ubuntu/plf breezy free non-free
followed by a
sudo apt-get update
Do the following to install azureus:
sudo apt-get install sun-j2re1.5 libcommons-cli-java liblog4j1.2-java libseda-java libswt-gtk-3.1-java
wget http://ftp.us.debian.org/debian/pool/contrib/a/azureus/azureus_2.3.0.6-3_all.deb
sudo dpkg -i azureus_2.3.0.6-3_all.deb

Now set the correct java version by:
sudo update-alternatives --set java /usr/lib/j2re1.5-sun/bin/java

Part 2: Running Azureus

To make Azureus run smoothly on Breezy u need to make sure that the ports which are used by the torrents are open for file sharing. There are several ways to do this but the easiest way is the following:
first install firestarter (a GUI frontend to iptables firewall)
sudo apt-get install firestarter
now start firestarter from applications--> system tools
Remember that firestarter runs with sudo. To make firestarter run everytime when u log into GNOME, just add gksudo firestarter to System --> Preferences --> Sessions ---> Startup Programs.

alright now that firestarter is up, make sure its configured (first run) and go to edit -->preferences on the firestarter main window and in the Interfaces section check "Minimize to tray on window close".
now save and close the preferences window and look for the three tabs on the firestarter window, namely:Status , Events , Policy
Click on the Policy tab.
Click on the white space just below Allow Service | Port | For. This will activate ADD Rule at the top with a big blue PLUS sign. Click on that and choose the name of the service as bittorrent and the port for that service as 6881.
when u are done, click on Add and u are all set!!!
now start azureus and enjoy!!
U might want to remove this rule once u are done seeding or downloading.

zenwhen
October 13th, 2005, 06:31 PM
Thanks for this post. It helped me a lot.

stoffepojken
October 13th, 2005, 07:06 PM
Thank you very much! Worked like a charm :)

PiTT
October 13th, 2005, 09:26 PM
Isn't JRE 1.5 or JDK 1.5 avaiable for breezy? I know it's avaiable for hoary, i have 1.5 installed right now...

arnieboy
October 13th, 2005, 10:17 PM
Isn't JRE 1.5 or JDK 1.5 avaiable for breezy? I know it's avaiable for hoary, i have 1.5 installed right now...
breezy uses blackdown's version of jdk which hasnt released its 1.5 version yet.

manicka
October 14th, 2005, 02:20 AM
Thanks for this one arnieboy, works without a hitch as usual :)

thnogueira
October 14th, 2005, 05:04 PM
Maybe the hoary's version works on breezy? I've upgraded from hoary and sun-j2re1.5
Java(TM) 2 RE, Standard Edition, Sun Microsystems(TM) still working here.

davebgimp
October 14th, 2005, 07:21 PM
Before anything make sure u uncomment the universe and multiverse repositories in /etc/apt/sources.list
Do the following to install azureus:
sudo apt-get install j2re1.4 libcommons-cli-java liblog4j1.2-java libseda-java libswt-gtk-3.1-java
wget -c http://ftp.us.debian.org/debian/pool/contrib/a/azureus/azureus_2.3.0.4-3_all.deb
sudo dpkg -i azureus_2.3.0.4-3_all.deb
That should install azureus and get u all set.

I'm running Breezy and uncommenting the universe and multiverse sources only results in errors "Couldn't stat source package list", so I'm unable to get java as well as many other programs. I'm using the source list that came with the breezy CD, are they incorrect? This is what I've got:

deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


deb-src http://us.archive.ubuntu.com/ubuntu breezy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu breezy universe main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe


Is there something wrong?

manicka
October 14th, 2005, 07:49 PM
You need to refresh the repos

sudo apt-get update

manicka
October 14th, 2005, 07:51 PM
I'd also comment out the backports repos for a while. They're not working yet.

davebgimp
October 14th, 2005, 08:02 PM
Actually I looked again and noticed that the souces list you get from the CD install doesn't list the multiverse I added that, updated and so far everything is good. Thanks!

Syphin
October 14th, 2005, 11:24 PM
Thanks, works great with my self-compiled jre1.5 :)

freakzilla
October 14th, 2005, 11:57 PM
No problem with install but when i try to run azureus I get a segmentation fault. Is this a problem related to my amd64 cpu?

Dillius
October 15th, 2005, 12:09 AM
What are the lines you add in order to get Multiverse?

Syphin
October 15th, 2005, 12:23 AM
What are the lines you add in order to get Multiverse?

deb http://us.archive.ubuntu.com/ubuntu/ breezy multiverse

Thats the one I'm using, (change the us part)

clparker
October 15th, 2005, 12:59 AM
Anybody know how to score JRE 1.5 ? Is that gonna be a pain in the *** too? will updating JRE mess w/ azereus?

Syphin
October 15th, 2005, 01:07 AM
Anybody know how to score JRE 1.5 ? Is that gonna be a pain in the *** too? will updating JRE mess w/ azereus?
http://ubuntuforums.org/showthread.php?t=70428&highlight=fakeroot

Follow that howto and it should work. just make sure ya have the multiverse repo added to the sources.list

After its installed, type in "sudo update-alternatives --config java" and have it point to the new one. Works perfectly for me. :)

RedGhost
October 15th, 2005, 02:30 AM
I'm running Breezy and uncommenting the universe and multiverse sources only results in errors "Couldn't stat source package list", so I'm unable to get java as well as many other programs. I'm using the source list that came with the breezy CD, are they incorrect? This is what I've got:

deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


deb-src http://us.archive.ubuntu.com/ubuntu breezy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu breezy universe main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe


Is there something wrong?

i had the same problem, comment backports (not ready) and add the multiverse lines


deb http://us.archive.ubuntu.com/ubuntu breezy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu breezy multiverse


also, worked great thanks

Nomearod
October 15th, 2005, 03:01 AM
Thanks for the Howto. It really helped!

Samuel
October 15th, 2005, 03:10 AM
thankyou, been messing with this for a while, added the

deb http://us.archive.ubuntu.com/ubuntu breezy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu breezy multiverse

and it worked fine, for some reason it wouldnt work with the gb (great britain?) links that was in my sources.list by default

dolny
October 15th, 2005, 05:38 AM
Thank you for the short howto. 2.3.0.4 on board.

Syphin
October 15th, 2005, 07:07 AM
anyone else having a problem, when you resize the window, all of the UI inside the window doesnt resize with it? the windows smaller, but everything else stays in the position it was when the app was launched first. ><

pelago
October 15th, 2005, 12:53 PM
Yes, I'm seeing the same resize problem. I didn't have this problem in hoary, but I think I was using Sun's 1.5, so maybe that will fix it. For the moment I'm using the 1.4 as described at the top of this thread.

Syphin
October 15th, 2005, 06:44 PM
Well i am using 1.5, and did in hoary also and didnt have this prob. :(

xalphas
October 15th, 2005, 07:16 PM
Older way

http://www.ubuntuforums.org/showpost.php?p=414757&postcount=16

Syphin
October 16th, 2005, 03:11 AM
Thanks xalphas, that fixed the UI problem i was having. But with that you need to chmod the directorys right to be able to update and what-not.

I think the orig problem with the GUI and the method the poster used, is a problem with gtk not working right in it, cause i tried it with both java versions just incase, but no go.. :(

bionnaki
October 16th, 2005, 03:51 AM
I am getting this error:

bill@ubuntu:~$ sudo apt-get install j2re1.4 libcommons-cli-java liblog4j1.2-java libseda-java libswt-gtk-3.1-java
Reading package lists... Done
Building dependency tree... Done
Package j2re1.4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package j2re1.4 has no installation candidate
bill@ubuntu:~$


any ideas?

zerooo
October 16th, 2005, 11:03 AM
working for me, thx for a nice how to.

bionnaki
October 16th, 2005, 04:08 PM
still getting the error - no idea why....

bionnaki
October 16th, 2005, 04:11 PM
here is my sources.list - am I missing anything?

deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


## Uncomment the following two lines to fetch updated software from the network
deb-src http://us.archive.ubuntu.com/ubuntu breezy main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu breezy universe main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

# deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe

manicka
October 16th, 2005, 05:52 PM
here is my sources.list - am I missing anything?

http://www.psychocats.net/sources.html

atomicrod
October 16th, 2005, 10:51 PM
I installed Azureus as outlined and the program starts with the following error.

ava.lang.ClassNotFoundException: org.gudy.azureus2.update.UpdaterPatcher not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/share/java/swt-gtk-3.1.jar,file:./,file:/usr/share/java/Azureus2.jar,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at org.gudy.azureus2.pluginsimpl.local.PluginInitiali zer.loadPluginFromDir(java.io.File) (Unknown Source)
at org.gudy.azureus2.pluginsimpl.local.PluginInitiali zer.loadPluginsFromDir(java.io.File, int, int) (Unknown Source)
at org.gudy.azureus2.pluginsimpl.local.PluginInitiali zer.loadPlugins(com.aelitis.azureus.core.AzureusCo re) (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.star t() (Unknown Source)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.ru n() (Unknown Source)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread$1.ru nSupport() (Unknown Source)
at org.gudy.azureus2.core3.util.AERunnable.run() (Unknown Source)
at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)

The program then starts normally, but when I attempt to downlad a torrent nothing seems to happen. I have seeds and peers showing, but I get a red status saying not connected to any peer to download.

I am behind a smoothwall box, but I forwared port 6881 and pass the nat test.

Gnome Torrent works fine as an alternative, but I'd really like to use Azureus. If anyone has some suggestions I'd be thankful.

chajuram
October 19th, 2005, 12:31 AM
Wonderful,

Thanks.

RezDawg
October 19th, 2005, 03:33 AM
Thanks this worked perfect.

Pumpino
October 25th, 2005, 03:08 AM
If I search for Azureus in Synaptic, it's not listed. I have all the mirrors enabled, as well as the backports mirrors. Do I need to download the deb from somewhere else? I had no trouble getting it when I used Hoary. Thanks.

matthias_k
October 25th, 2005, 10:45 AM
Question:
If I select to install the packages you listed, aptitude wants to remove everything related to the Eclipse IDE. How come?

matthias:~$ sudo aptitude install j2re1.4 libcommons-cli-java liblog4j1.2-java libseda-java libswt-gtk-3.1-java
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be automatically installed:
libswt-gtk-3.1-jni
The following packages will be automatically REMOVED:
eclipse-jdt eclipse-jdt-common eclipse-pde eclipse-pde-common
eclipse-platform eclipse-platform-common eclipse-rcp eclipse-sdk
libswt3.1-gtk-java libswt3.1-gtk-jni
The following NEW packages will be installed:
j2re1.4 libcommons-cli-java liblog4j1.2-java libseda-java
libswt-gtk-3.1-java libswt-gtk-3.1-jni
The following packages will be REMOVED:
eclipse-jdt eclipse-jdt-common eclipse-pde eclipse-pde-common
eclipse-platform eclipse-platform-common eclipse-rcp eclipse-sdk
libswt3.1-gtk-java libswt3.1-gtk-jni
0 packages upgraded, 6 newly installed, 10 to remove and 0 not upgraded.
Need to get 24.3MB of archives. After unpacking 8589kB will be used.
Do you want to continue? [Y/n/?] n
Abort.

matthias_k
October 25th, 2005, 11:33 AM
Hmmm, okay, I just removed Eclipse for now (for whatever reason apt decided to do so) and followed your instructions.

After Azureus throwing errors at me because I'm not using Java5 (and crashing), I just restarted it and updated the Updater, and then it seemed to work.

However, I can't resize the window lol! Whenever I issue a resize, only the window itself will resize, but not the canvas (which is effectively pretty useless). Did you also notice that? Maybe it's because this strange non-Sun Java implementation coming with Breezy is not so good afterall for running Azureus? ^^

Are there any Ubuntu repos for installing Sun's Java 5 RE? I actually don't give a sh** if it's under their non-free license or not, I just want a working Java5 platform on my system. I need Java5 for university work anyway.

ming0
October 25th, 2005, 02:55 PM
same problem here--the windows aren't being redrawn properly :(

Roybotnik
October 25th, 2005, 09:59 PM
I have the same problem with the window not resizing =c.

matthias_k
October 26th, 2005, 05:18 AM
I guess it's a bug in the SWT library coming with the Blackdown Java implementation. It's the only library I could track down which does not come from Sun's Java5 implementation which I managed to install yesterday evening (I found a very good tutorial on the German Ubuntu forums how to install Java5, maybe it's around here somewhere, too).

The window fails to redraw an invalidated area, this means it's almost certainly a problem with the underlying windowing toolkit (in this case, Java Swing).
Does anyone know whether libswt-3.1-java is a Blackdown library, and how the equivalent official library from Sun is called? I noticed that the script loading Azureus includes the location to this library.

bete
October 26th, 2005, 07:33 AM
When installing i get this error message :

Error loading speedbar... ignored.
Wrote /usr/share/emacs21/site-lisp/eieio/eieio-opt.elc
While compiling toplevel forms in file /usr/share/emacs21/site-lisp/eieio/eieio-speedbar.el:
!! Wrong type argument ((stringp nil))
Done
emacs-install: /usr/lib/emacsen-common/packages/install/eieio emacs21 failed at /usr/lib/emacsen-common/emacs-install line 28, <TSORT> line 5.
dpkg: error processing emacs21 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of cedet-common:
cedet-common depends on emacs21 | emacsen; however:
Package emacs21 is not configured yet.
Package emacsen is not installed.
Package emacs21 which provides emacsen is not configured yet.
dpkg: error processing cedet-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of eieio:
eieio depends on emacs21 | emacsen; however:
Package emacs21 is not configured yet.
Package emacsen is not installed.
Package emacs21 which provides emacsen is not configured yet.
dpkg: error processing eieio (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of speedbar:
speedbar depends on cedet-common; however:
Package cedet-common is not configured yet.
dpkg: error processing speedbar (--configure):
dependency problems - leaving unconfigured
Setting up j2re1.4 (1.4.2.02-1ubuntu3) ...

Setting up libcommons-cli-java (1.0-6) ...
Setting up liblog4j1.2-java (1.2.9-1ubuntu4) ...
Setting up libseda-java (3.0-2) ...
Setting up libswt-gtk-3.1-jni (3.1-2ubuntu1) ...
Setting up libswt-gtk-3.1-java (3.1-2ubuntu1) ...

Errors were encountered while processing:
emacs21
cedet-common
eieio
speedbar
E: Sub-process /usr/bin/dpkg returned an error code (1)


Should i just ignore this or ?

matthias_k
October 26th, 2005, 07:38 AM
That doesn't look as if it has anything to do with Azureus or the libraries you installed to run it. The errors are related o the emacs text editor; maybe you still had an emacs installation scheduled or so, try asking in another thread because this seems to be off-topic here.

[censored]
October 27th, 2005, 11:52 PM
Followed the HOWTO to the letter. Now if I try:


user@ubuntu:~/downloads/debs$ azureus
/usr/bin/azureus: line 5: exec: java: not found
user@ubuntu:~/downloads/debs$ java
bash: /usr/bin/java: No such file or directory
user@ubuntu:~/downloads/debs$


Everything's installed, as per recommendations, but it's still not working. What does this mean?

arnieboy
October 27th, 2005, 11:56 PM
[QUOTE='[censored]']Followed the HOWTO to the letter. Now if I try:


EDIT:
damn am sorry.. posted the wrong answer.
please do the following:
sudo apt-get remove j2re1.4
then download and install and run automatix:
http://ubuntuforums.org/showthread.php?t=66563

[censored]
October 28th, 2005, 09:09 PM
arnieboy,

did that.

removed jre1.4 as you suggested. Downloaded and installed automatix, and got it to re install jre1.4 as (I presume) you were intimating, along with the version of azureus that was in the package.

now this what happens when I launch azureus:


user@ubuntu:~$ azureus
/usr/bin/azureus: line 5: exec: java: not found
user@ubuntu:~$ dpkg -l |grep j2re
rc j2re1.4 1.4.2.02-1ubuntu3 Blackdown Java(TM) 2 Runtime Environment, St
ii sun-j2re1.5 1.5.0+update05 Java(TM) 2 RE, Standard Edition, Sun Microsy


Obviously, I need to set up the path and environment variables for java. Does anybody know of a decent ubuntu-compatible howto on this?

djpeanut
November 2nd, 2005, 08:41 AM
It worked after I manually added the multiverse repositories, but I get this error when starting Azureus:

java.lang.ClassNotFoundException: org.gudy.azureus2.update.UpdaterPatcher
at java.net.URLClassLoader$1.run(URLClassLoader.java: 199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
at org.gudy.azureus2.pluginsimpl.local.PluginInitiali zer.loadPluginFromDir(PluginInitializer.java:684)
at org.gudy.azureus2.pluginsimpl.local.PluginInitiali zer.loadPluginsFromDir(PluginInitializer.java:403)
at org.gudy.azureus2.pluginsimpl.local.PluginInitiali zer.loadPlugins(PluginInitializer.java:322)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.star t(AzureusCoreImpl.java:156)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.ru n(Initializer.java:270)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread$1.ru nSupport(SWTThread.java:107)
at org.gudy.azureus2.core3.util.AERunnable.run(AERunn able.java:38)
at java.lang.Thread.run(Thread.java:534)

Any ideas?

arnieboy
November 2nd, 2005, 02:33 PM
I guess it's a bug in the SWT library coming with the Blackdown Java implementation. It's the only library I could track down which does not come from Sun's Java5 implementation which I managed to install yesterday evening (I found a very good tutorial on the German Ubuntu forums how to install Java5, maybe it's around here somewhere, too).

The window fails to redraw an invalidated area, this means it's almost certainly a problem with the underlying windowing toolkit (in this case, Java Swing).
Does anyone know whether libswt-3.1-java is a Blackdown library, and how the equivalent official library from Sun is called? I noticed that the script loading Azureus includes the location to this library.
alright herez the solution guys:
do a
sudo apt-get remove j2re1.4
now do
sudo gedit /etc/apt/sources.list
and add the following lines at the end:
deb http://antesis.freecontrib.org/mirrors/ubuntu/plf/ breezy free non-free
deb-src http://antesis.freecontrib.org/mirrors/ubuntu/plf/ breezy free non-free
now do the following:
sudo apt-get update
sudo apt-get install sun-j2re1.5
and then run azureus

dolny
November 2nd, 2005, 08:24 PM
mrplant@milkshake:~$ azureus
DEBUG::Thu Nov 03 01:14:27 GMT+01:00 2005
java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/share/java/swt-gtk-3.1.jar,file:./,file:Azureus2.jar,file:/usr/share/java/Azureus2.jar,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at org.gudy.azureus2.core3.security.impl.SESecurityMa nagerImpl.initialise() (Unknown Source)
at org.gudy.azureus2.core3.security.SESecurityManager .initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationC hecker.setSystemProperties() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationM anager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationM anager.getInstance() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationMana ger.initialise() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.Azur eusCoreImpl() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.crea te() (Unknown Source)
at com.aelitis.azureus.core.AzureusCoreFactory.create () (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.Main(java.lang.Strin g[]) (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.main(java.lang.Strin g[]) (Unknown Source)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)

DEBUG::Thu Nov 03 01:14:28 GMT+01:00 2005
java.security.KeyStoreException: JKS
at java.security.KeyStore.getInstance(java.lang.Strin g) (/usr/lib/libgcj.so.6.0.0)
at org.gudy.azureus2.core3.security.impl.SESecurityMa nagerImpl.ensureStoreExists(java.lang.String) (Unknown Source)
at org.gudy.azureus2.core3.security.impl.SESecurityMa nagerImpl.initialise() (Unknown Source)
at org.gudy.azureus2.core3.security.SESecurityManager .initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationC hecker.setSystemProperties() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationM anager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationM anager.getInstance() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationMana ger.initialise() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.Azur eusCoreImpl() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.crea te() (Unknown Source)
at com.aelitis.azureus.core.AzureusCoreFactory.create () (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.Main(java.lang.Strin g[]) (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.main(java.lang.Strin g[]) (Unknown Source)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)

DEBUG::Thu Nov 03 01:14:28 GMT+01:00 2005
java.security.KeyStoreException: JKS
at java.security.KeyStore.getInstance(java.lang.Strin g) (/usr/lib/libgcj.so.6.0.0)
at org.gudy.azureus2.core3.security.impl.SESecurityMa nagerImpl.ensureStoreExists(java.lang.String) (Unknown Source)
at org.gudy.azureus2.core3.security.impl.SESecurityMa nagerImpl.initialise() (Unknown Source)
at org.gudy.azureus2.core3.security.SESecurityManager .initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationC hecker.setSystemProperties() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationM anager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationM anager.getInstance() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationMana ger.initialise() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.Azur eusCoreImpl() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.crea te() (Unknown Source)
at com.aelitis.azureus.core.AzureusCoreFactory.create () (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.Main(java.lang.Strin g[]) (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.main(java.lang.Strin g[]) (Unknown Source)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)

DEBUG::Thu Nov 03 01:14:30 GMT+01:00 2005::com.aelitis.azureus.core.networkmanager.Virt ualServerChannelSelector::start()::-1:
IncomingSocketChannelManager::start()::-1,IncomingSocketChannelManager::IncomingSocketChan nelManager()::-1,NetworkManager::NetworkManager()::-1,NetworkManager::<clinit>()::-1,Class::initializeClass()::-1,AzureusCoreImpl::AzureusCoreImpl()::-1,AzureusCoreImpl::create()::-1,AzureusCoreFactory::create()::-1,Main::Main(java.lang.String[])::-1,Main::main(java.lang.String[])::-1,MainThread::call_main()::-1,MainThread::run()::-1
java.net.BindException: Adres jest już w użyciu
at gnu.java.net.PlainSocketImpl.bind(java.net.InetAdd ress, int) (/usr/lib/libgcj.so.6.0.0)
at java.net.ServerSocket.bind(java.net.SocketAddress, int) (/usr/lib/libgcj.so.6.0.0)
at com.aelitis.azureus.core.networkmanager.VirtualSer verChannelSelector.start() (Unknown Source)
at com.aelitis.azureus.core.networkmanager.impl.Incom ingSocketChannelManager.start() (Unknown Source)
at com.aelitis.azureus.core.networkmanager.impl.Incom ingSocketChannelManager.IncomingSocketChannelManag er() (Unknown Source)
at com.aelitis.azureus.core.networkmanager.NetworkMan ager.NetworkManager() (Unknown Source)
at com.aelitis.azureus.core.networkmanager.NetworkMan ager.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.Azur eusCoreImpl() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.crea te() (Unknown Source)
at com.aelitis.azureus.core.AzureusCoreFactory.create () (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.Main(java.lang.Strin g[]) (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.main(java.lang.Strin g[]) (Unknown Source)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
DEBUG::Thu Nov 03 01:14:47 GMT+01:00 2005
java.io.FileNotFoundException: /Azureus2.jar (Nie ma takiego pliku ani katalogu)
at gnu.java.nio.channels.FileChannelImpl.open(java.la ng.String, int) (/usr/lib/libgcj.so.6.0.0)
at gnu.java.nio.channels.FileChannelImpl.FileChannelI mpl(java.lang.String, int) (/usr/lib/libgcj.so.6.0.0)
at java.io.RandomAccessFile.RandomAccessFile(java.lan g.String, java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.io.RandomAccessFile.RandomAccessFile(java.io. File, java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.util.zip.ZipFile.ZipFile(java.io.File) (/usr/lib/libgcj.so.6.0.0)
at java.util.jar.JarFile.JarFile(java.io.File, boolean) (/usr/lib/libgcj.so.6.0.0)
at java.util.jar.JarFile.JarFile(java.io.File) (/usr/lib/libgcj.so.6.0.0)
at org.gudy.azureus2.core3.internat.MessageText.getLo cales() (Unknown Source)
at org.gudy.azureus2.ui.swt.mainwindow.StartupUtils.s etLocale() (Unknown Source)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.ru n() (Unknown Source)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread$1.ru nSupport() (Unknown Source)
at org.gudy.azureus2.core3.util.AERunnable.run() (Unknown Source)
at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)

DEBUG::Thu Nov 03 01:14:47 GMT+01:00 2005
java.lang.NullPointerException
at java.util.Arrays$ArrayList.Arrays$ArrayList(java.l ang.Object[]) (/usr/lib/libgcj.so.6.0.0)
at java.util.Arrays.asList(java.lang.Object[]) (/usr/lib/libgcj.so.6.0.0)
at org.gudy.azureus2.core3.internat.MessageText.getLo cales() (Unknown Source)
at org.gudy.azureus2.ui.swt.mainwindow.StartupUtils.s etLocale() (Unknown Source)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.ru n() (Unknown Source)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread$1.ru nSupport() (Unknown Source)
at org.gudy.azureus2.core3.util.AERunnable.run() (Unknown Source)
at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)

What can i do :( ?

thomax
November 3rd, 2005, 07:22 AM
Here is my sources.list, with extras and working backports, have a look at it, it works fine ;)

You just need to change the cdrom part ;)

deb cdrom:[Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted

## BREEZY
deb http://be.archive.ubuntu.com/ubuntu breezy main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu breezy main restricted universe multiverse

## BREEZY-UPDATES
deb http://be.archive.ubuntu.com/ubuntu breezy-updates main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu breezy-updates main restricted universe multiverse

## BREEZY-UPDATES ftp.rz.tu-bs.de
deb http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ breezy-updates main universe multiverse restricted
deb-src http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ breezy-updates main universe multiverse restricted

## BREEZY-SECURITY
deb http://be.archive.ubuntu.com/ubuntu breezy-security main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu breezy-security main restricted universe multiverse

## BACKPORTS ubuntu-backports.mirrormax.net
deb http://ubuntu-backports.mirrormax.net/ breezy-backports-staging main universe multiverse restricted
deb http://ubuntu-backports.mirrormax.net/ breezy-extras main universe multiverse restricted
deb http://ubuntu-backports.mirrormax.net/ breezy-extras-staging main universe multiverse restricted

## BACKPORTS ftp2.caliu.info
deb ftp://ftp2.caliu.info/backports/ breezy-backports-staging main universe multiverse restricted
deb ftp://ftp2.caliu.info/backports/ breezy-extras main universe multiverse restricted
deb ftp://ftp2.caliu.info/backports/ breezy-extras-staging main universe multiverse restricted

## BREEZY BREEZY-UPDATES BREEZY-SECURITY search.belnet.be
deb http://search.belnet.be/packages/ubuntu/ubuntu/ breezy main universe multiverse restricted
deb http://search.belnet.be/packages/ubuntu/ubuntu/ breezy-updates main universe multiverse restricted
deb http://search.belnet.be/packages/ubuntu/ubuntu/ breezy-security main universe multiverse restricted

deb-src http://search.belnet.be/packages/ubuntu/ubuntu/ breezy main universe multiverse restricted
deb-src http://search.belnet.be/packages/ubuntu/ubuntu/ breezy-updates main universe multiverse restricted
deb-src http://search.belnet.be/packages/ubuntu/ubuntu/ breezy-security main universe multiverse restricted

## BREEZY BREEZY-UPDATES BREEZY-SECURITY godel.cs.bilgi.edu.tr
deb http://godel.cs.bilgi.edu.tr/mirror/ubuntu/ breezy main universe multiverse restricted
deb http://godel.cs.bilgi.edu.tr/mirror/ubuntu/ breezy-updates main universe multiverse restricted
deb http://godel.cs.bilgi.edu.tr/mirror/ubuntu/ breezy-security main universe multiverse restricted

deb-src http://godel.cs.bilgi.edu.tr/mirror/ubuntu/ breezy main universe multiverse restricted
deb-src http://godel.cs.bilgi.edu.tr/mirror/ubuntu/ breezy-updates main universe multiverse restricted
deb-src http://godel.cs.bilgi.edu.tr/mirror/ubuntu/ breezy-security main universe multiverse restricted

## Wine
deb http://wine.sourceforge.net/apt/ breezy/

## LEGALLY QUESTIONABLE antesis.freecontrib.org java divx etc.
deb http://antesis.freecontrib.org/mirrors/ubuntu/plf/ breezy free non-free
deb http://antesis.freecontrib.org/mirrors/ubuntu/freecontrib/ breezy free non-free
deb http://antesis.freecontrib.org/mirrors/ubuntu/devnotpublic/ breezy free non-free

deb-src http://antesis.freecontrib.org/mirrors/ubuntu/plf/ breezy free non-free
deb-src http://antesis.freecontrib.org/mirrors/ubuntu/freecontrib/ breezy free non-free
deb-src http://antesis.freecontrib.org/mirrors/ubuntu/devnotpublic/ breezy free non-free

## LEGALLY QUESTIONABLE DVDCSS/xvid/other legally questionable packages
# deb ftp://ftp.nerim.net/debian-marillat/ sarge main
# deb ftp://ftp.nerim.net/debian-marillat/ sid main
# deb ftp://ftp.nerim.net/debian-marillat/ etch main

## MPlayer
# deb http://sh.nu/~crimsun/ ./

Dotrig
November 3rd, 2005, 02:26 PM
Nice :cool: now need i not to use bittornado as not downloading maps :P

MirSPCM
November 3rd, 2005, 03:35 PM
Here is my sources.list, with extras and working backports, have a look at it, it works fine ;)

You just need to change the cdrom part ;)

deb cdrom:[Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy
## LEGALLY QUESTIONABLE antesis.freecontrib.org java divx etc.
deb http://antesis.freecontrib.org/mirrors/ubuntu/plf/ breezy free non-free
deb http://antesis.freecontrib.org/mirrors/ubuntu/freecontrib/ breezy free non-free
deb http://antesis.freecontrib.org/mirrors/ubuntu/devnotpublic/ breezy free non-free

deb-src http://antesis.freecontrib.org/mirrors/ubuntu/plf/ breezy free non-free
deb-src http://antesis.freecontrib.org/mirrors/ubuntu/freecontrib/ breezy free non-free
deb-src http://antesis.freecontrib.org/mirrors/ubuntu/devnotpublic/ breezy free non-free

## LEGALLY QUESTIONABLE DVDCSS/xvid/other legally questionable packages
# deb ftp://ftp.nerim.net/debian-marillat/ sarge main
# deb ftp://ftp.nerim.net/debian-marillat/ sid main
# deb ftp://ftp.nerim.net/debian-marillat/ etch main




Oh My GOD !


## LEGALLY QUESTIONABLE DVDCSS/xvid/other legally questionable packages
# deb ftp://ftp.nerim.net/debian-marillat/ sarge main
# deb ftp://ftp.nerim.net/debian-marillat/ sid main
# deb ftp://ftp.nerim.net/debian-marillat/ etch main



libdvdcss2 is provided by plf. then this is marillat wich is for debian and is dangerous to use on ubuntu. Then you use qarg sid and etch at the same time .. none sense.
However it's all commented so not activated I suppose you activate it only when needded then. Well be carefull on giveing this to people who don't know what this is .. they can break their stuff thanks to this :-(


deb http://antesis.freecontrib.org/mirrors/ubuntu/devnotpublic/ breezy free non-free
deb-src http://antesis.freecontrib.org/mirrors/ubuntu/devnotpublic/ breezy free non-free

devnotpublic stands for in DEVELOPPEMENT NOT FOR PUBLIC
This rep contains package that can break your distro, it's for plf project testers and devs only.



Please don't advice anybody one useing this list it's dangerous for them.
(You should remove devnotpublic too unless you're plf tester)


Thank you

keyes
November 3rd, 2005, 04:43 PM
I agree !!!

Please don't use devnotpublic if you are not a PLF tester. You must read the PLF mailing list to use this repository.
Stuffs are not tested in this repository and anybody can publish a package who make "rm -Rf /"!!!
This can break your system, destroy your data, ...
We remove packages from devnotpublic and publish it to the main repositories when tested!

However we need testers! You are welcomed to join the PLF, see http://wiki.ubuntu-fr.org/doc/plf (yes this is the Ubuntu-fr Wiki but this page is in English) and join our mailing list.

Thanks.

djlosch
November 4th, 2005, 12:56 AM
~$ sudo apt-get install sun-j2re1.5
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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
sun-j2re1.5: Depends: libasound2 (> 1.0.9) but 1.0.8-1 is to be installed
Depends: libc6 (>= 2.3.4-1) but 2.3.2.ds1-20ubuntu14 is to be installed
E: Broken packages


wtf? i have both of them....

dolny
November 4th, 2005, 03:34 PM
Edited.

Azureus works now (I downloaded it from official site) - but is veryyyyyyyy slowwww :( (and it doesn't download anything :/ ehhh)

iluminate
November 4th, 2005, 09:26 PM
Had the same problems that everything went really slow, and Azureus behaved VERY buggy.
So I:
1.Uninstalled Azureus.
2.Uninstalled SunJava
And then started all over again. Like magic it works just fine now.
Still having problems with the resize of the window, but hey at least things do work now.
Also don't forgett to "sudo update-alternatives --config java" and then chose the Sun Version.
Then start Azureus.
Before the uninstallation I got an error message from Azureus saying somthing about "azupdater package not found". Now everything works great...

Cheers

dronug
November 7th, 2005, 02:15 PM
when i enter the command

sudo apt-get install sun-j2re1.5 libcommons-cli-java liblog4j1.2-java libseda-java libswt-gtk-3.1-java

i get libcommons-cli-java is already the newest version.
liblog4j1.2-java is already the newest version.
Package libseda-java is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libseda-java has no installation candidate

XDevHald
November 7th, 2005, 02:17 PM
This application works really well in Dapper Drake, but others might experience it differently in Breezy. Solution to that issue is beyond me, I'll check as to why and post a reply back later.

The Warlock
November 7th, 2005, 09:51 PM
May I ask why, exactly, libswt-gtk-3.1-jni conflicts with the Eclipse suite?

arnieboy
November 9th, 2005, 11:34 AM
I have completely rewritten the first post! check it out and make azureus rock! make sure u have all the universe and multiverse repos enabled though. if u dont know what am saying, do the following:
sudo gedit /etc/apt/sources.list
and make sure there is no # symbol before the universe and multiverse repos

matthias_k
November 9th, 2005, 03:47 PM
Thanks, one thing though:

I think you really should remove the part about firestarter, it's misleading and doesn't belong there (EDIT: It's also wrong, see post below). First, it sounds as if one would need firestarter (read: iptables) for Azureus to work (which is of course not true) and second it might even be a bad idea to install it when you're behind a router which already does NAT and IP filtering.

It just hasn't anything to do with Azureus unless you already have iptables installed and set up, in which case one can assume that he/she is already familiar with package filtering and doesn't need this information.

matthias_k
November 9th, 2005, 03:51 PM
On top of that, Azureus (unlike most other BT clients) only binds to TCP port 6881, so opening 6882 to 6889 is useless and an unnecessary security risk (unless you're using another BT client additionally to Azureus which binds to these ports).

arnieboy
November 9th, 2005, 03:53 PM
Thanks, one thing though:

I think you really should remove the part about firestarter, it's misleading and doesn't belong there. First, it sounds as if one would need firestarter (read: iptables) for Azureus to work (which is of course not true) and second it might even be a bad idea to install it when you're behind a router which already does NAT and IP filtering.

It just hasn't anything to do with Azureus unless you already have iptables installed and set up, in which case one can assume that he/she is already familiar with package filtering and doesn't need this information.
iptables is installed by default on ubuntu breezy and most other distros and having firestarter to actually see whats happening is actually a very good idea. u cud also selectively open the ports which are required for sharing torrent files and do it in a manner less complicated than editing iptables. I dont think addition of the firestarter part is irrelevant.

arnieboy
November 9th, 2005, 03:59 PM
On top of that, Azureus (unlike most other BT clients) only binds to TCP port 6881, so opening 6882 to 6889 is useless and an unnecessary security risk (unless you're using another BT client additionally to Azureus which binds to these ports).
great! then select which port u want to open and keep the others closed!

matthias_k
November 9th, 2005, 04:10 PM
iptables is installed by default on ubuntu breezy and most other distros and having firestarter to actually see whats happening is actually a very good idea. u cud also selectively open the ports which are required for sharing torrent files and do it in a manner less complicated than editing iptables. I dont think addition of the firestarter part is irrelevant.
Installed, yes, but no chains or filters are set up. If that part is to stay, you should at least say that it's:
a) Not necessary to run Azureus (though may be helpful)
b) Definitely unnecessary (or even bad) when behind a router

great! then select which port u want to open and keep the others closed!
Yes, that was my point. Your post doesn't mention that though.

sevenrechlin
November 9th, 2005, 06:32 PM
Ok I tried to do this, and it was downloading fine, but after downloading the terminal spat out a ton of parse errors and then turned into some sort of code. Now it's just waiting for input in it's weird code.

NM Got it, was a problem with not doing Java correctly :)

arnieboy
November 9th, 2005, 06:33 PM
Ok I tried to do this, and it was downloading fine, but after downloading the terminal spat out a ton of parse errors and then turned into some sort of code. Now it's just waiting for input in it's weird code.
anything weird cannot be magically deciphered at this end unless its reported as is. depends of course on whether u want the problem solved or not in the first place.

bejinxed
November 10th, 2005, 05:09 PM
Thank you. Got Azureus working except for the window draw resize bug other people have listed above, so Im happy.

skatedawe
November 11th, 2005, 11:38 AM
Thx for the guide! :))

Firestart did it, i couldnt get up the ports even with manually upset the settings in the hardware router.

ollesbrorsa
November 11th, 2005, 03:19 PM
Does anybody else get 404 errors accessing the plf repos?


snip

Err http://antesis.freecontrib.org breezy/free Packages
404 Not Found
Err http://antesis.freecontrib.org breezy/non-free Packages
404 Not Found
Err http://antesis.freecontrib.org breezy/free Sources
404 Not Found
Err http://antesis.freecontrib.org breezy/non-free Sources
404 Not Found

Failed to fetch http://antesis.freecontrib.org/mirrors/ubuntu/plf/dists/breezy/free/binary-i386/Packages.gz 404 Not Found
Failed to fetch http://antesis.freecontrib.org/mirrors/ubuntu/plf/dists/breezy/non-free/binary-i386/Packages.gz 404 Not Found
Failed to fetch http://antesis.freecontrib.org/mirrors/ubuntu/plf/dists/breezy/free/source/Sources.gz 404 Not Found
Failed to fetch http://antesis.freecontrib.org/mirrors/ubuntu/plf/dists/breezy/non-free/source/Sources.gz 404 Not Found

/snip


Br,
ollesbrorsa

arnieboy
November 11th, 2005, 03:26 PM
Does anybody else get 404 errors accessing the plf repos?


snip

Err http://antesis.freecontrib.org breezy/free Packages
404 Not Found
Err http://antesis.freecontrib.org breezy/non-free Packages
404 Not Found
Err http://antesis.freecontrib.org breezy/free Sources
404 Not Found
Err http://antesis.freecontrib.org breezy/non-free Sources
404 Not Found

Failed to fetch http://antesis.freecontrib.org/mirrors/ubuntu/plf/dists/breezy/free/binary-i386/Packages.gz 404 Not Found
Failed to fetch http://antesis.freecontrib.org/mirrors/ubuntu/plf/dists/breezy/non-free/binary-i386/Packages.gz 404 Not Found
Failed to fetch http://antesis.freecontrib.org/mirrors/ubuntu/plf/dists/breezy/free/source/Sources.gz 404 Not Found
Failed to fetch http://antesis.freecontrib.org/mirrors/ubuntu/plf/dists/breezy/non-free/source/Sources.gz 404 Not Found

/snip


Br,
ollesbrorsa
the plf repos are currently down.
thats why u are getting a 404 from http://antesis.freecontrib.org/mirrors/ubuntu/

ollesbrorsa
November 11th, 2005, 03:42 PM
the plf repos are currently down.
thats why u are getting a 404 from http://antesis.freecontrib.org/mirrors/ubuntu/

Any idea when they'll be back up?
Have recently upgraded, the CD way, to breezy and I'm trying to get back on track with all the usual programs... ;)

Br,
ollesbrorsa

arnieboy
November 11th, 2005, 03:49 PM
Any idea when they'll be back up?
Have recently upgraded, the CD way, to breezy and I'm trying to get back on track with all the usual programs... ;)

Br,
ollesbrorsa
I am not involved with the plf project, hence I cant give u a heads up on that. we will have to wait and watch. in the meanwhile u can try and mail keyes (the maker of easy ubuntu) to ask him if he knows anything.

bored2k
November 17th, 2005, 05:27 PM
I tend to forget, why the extra
libcommons-cli-java liblog4j1.2-java libseda-java libswt-gtk-3.1-java
packages? I know libswt supposedly gives you a speed boost, but I never felt it.

arnieboy
November 17th, 2005, 05:28 PM
I tend to forget, why the extra
libcommons-cli-java liblog4j1.2-java libseda-java libswt-gtk-3.1-java
packages? I know libswt supposedly gives you a speed boost, but I never felt it.
cuz the debian version of 2.3 depends on them and thats what gets installed here. thats not the case with version 2.2 however.

souled
November 21st, 2005, 12:53 AM
So is there an alternative way to get the packages we need from http://antesis.freecontrib.org/mirrors/ubuntu/ ?

arnieboy
November 21st, 2005, 12:56 AM
So is there an alternative way to get the packages we need from http://antesis.freecontrib.org/mirrors/ubuntu/ ?
open /etc/apt/sources.list
and delete the antesis.freecontrib.org lines and replace them with the following:
deb ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free
deb-src ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free

souled
November 21st, 2005, 01:01 AM
Ahh, thank you.

Edit: I installed all the packages, but when I put in the command to update java, I don't get a choice on which one to choose. The output is just Using `/usr/lib/j2re1.5-sun/bin/java' to provide `java'. Is this right? When I run Azureus, the window still doesn't resize when I change the geometry...

thermopyl
November 22nd, 2005, 12:37 AM
DOH!

Followed the instructions...how do i run azureus as it is not in my menus???:???:

ta

arnieboy
November 22nd, 2005, 11:21 AM
Ahh, thank you.

Edit: I installed all the packages, but when I put in the command to update java, I don't get a choice on which one to choose. The output is just Using `/usr/lib/j2re1.5-sun/bin/java' to provide `java'. Is this right? When I run Azureus, the window still doesn't resize when I change the geometry...
sorry those lines abt choosing remained even after I edited this howto some time back. when u use "set" with update-alternatives it doesnt ask u to choose your java version but just sets your java path to the one in the argument. that was the intention of the edit: to make this howto one step shorter.. but i forgot to delete the older lines. anyway now its been edited again. thanks.

arnieboy
November 22nd, 2005, 11:23 AM
DOH!

Followed the instructions...how do i run azureus as it is not in my menus???:???:

ta
should be in Applications -->Internet
if its not, then try running azureus from terminal by typing:
azureus

zerwas
November 27th, 2005, 02:41 PM
Hi,

Thank you very much for your Howto and your work on Ubuntu :)

I only wanted to mention that this also works fine with
http://ftp.us.debian.org/debian/pool/contrib/a/azureus/azureus_2.3.0.6-1_all.deb (http://ftp.us.debian.org/debian/pool/contrib/a/azureus/azureus_2.3.0.6-1_all.deb)

psoleko
November 27th, 2005, 02:47 PM
Hi,

Thank you very much for your Howto and your work on Ubuntu :)

I only wanted to mention that this also works fine with
http://ftp.us.debian.org/debian/pool/contrib/a/azureus/azureus_2.3.0.6-1_all.deb (http://ftp.us.debian.org/debian/pool/contrib/a/azureus/azureus_2.3.0.6-1_all.deb)
Thanks for that zerwas was having some problems updating Azureus

arnieboy
November 27th, 2005, 03:04 PM
the plf mirrors also host a debian package of azureus (not native ubuntu version). I havent checked in a while though whether the plf guys have updated this package to the latest..

Technoviking
November 27th, 2005, 07:56 PM
I have built a new Azureus package under Ubuntu, will try to upload it to my web site later.

Mike

skeezer65134
December 1st, 2005, 04:57 AM
Thank you SO much for this. The directions for adding backport and extras repositories for Ubuntu is outdated and I can never get the repositories to work right (they are always Ign instead of Get).

Got Azereus running now and it's all good. Now to figure out this Kaffine player and the w32codecs.....

Thanks again!

arnieboy
December 1st, 2005, 10:05 AM
Thank you SO much for this. The directions for adding backport and extras repositories for Ubuntu is outdated and I can never get the repositories to work right (they are always Ign instead of Get).

Got Azereus running now and it's all good. Now to figure out this Kaffine player and the w32codecs.....

Thanks again!
since u have the plf repos added just do:
sudo apt-get install w32codecs
and it will get installed.

Danielle
December 3rd, 2005, 04:17 AM
. Click on that and choose the name of the service as bitorrent and the ports for that service (6881-6889) will get automatically selected.

you spelt Bittorrent incorrectly - the ports won't be automatically selected if you are lazy like me a copied and pasted it into firestarer from your guide.

thanks for the help O:)

ubuntu_demon
December 3rd, 2005, 04:37 AM
azureus_2.3.0.6-1_all.deb is available. This deb should be used instead of the older one.


$wget http://ftp.us.debian.org/debian/pool/contrib/a/azureus/azureus_2.3.0.6-1_all.deb


PS :
using the -c option of wget makes no sense since this resumes prior downloads. From the man page :


.......... -c only affects resumption of downloads started prior to this
invocation of Wget, and whose local files are still sitting around.

Danielle
December 3rd, 2005, 05:22 AM
hey, where did it go :confused: i installed azureus_2.3.0.6-1 over the top of 2.3.0.6 but when i open it it's still 2.3.0.6. do i have to reboot for it to take effect?

Danielle
December 3rd, 2005, 05:50 AM
i fixed it :)

skeezer65134
December 3rd, 2005, 07:28 PM
since u have the plf repos added just do:
sudo apt-get install w32codecs
and it will get installed.
Already took care of this. I need to install the xine engine too, but it worked out well. Actually, I did it only a few minutes after posting. That repo is quite useful, thanks again!

arnieboy
December 3rd, 2005, 07:34 PM
azureus_2.3.0.6-1_all.deb is available. This deb should be used instead of the older one.


$wget http://ftp.us.debian.org/debian/pool/contrib/a/azureus/azureus_2.3.0.6-1_all.deb


PS :
using the -c option of wget makes no sense since this resumes prior downloads. From the man page :
thanks for the update. first post updated.

yorick
December 8th, 2005, 04:02 AM
Sorry to bother you Arnieboy, but I noticed an inconsitency in your first post. After you wget the 2.3.0.6 version of Azureus, the following dpkg line still reffers to the 2.3.0.4 version.

arnieboy
December 8th, 2005, 04:04 AM
Sorry to bother you Arnieboy, but I noticed an inconsitency in your first post. After you wget the 2.3.0.6 version of Azureus, the following dpkg line still reffers to the 2.3.0.4 version.
thanks. updated.

LucidParody
December 9th, 2005, 10:05 AM
hi, i was able to install azureus and firestarter just fine -- but azureus won't connect to a single peer or seed. my router is set up properly for port forwarding and i'm sure i followed these directions to a tee...any ideas why this is happening?

thecrust
December 9th, 2005, 09:50 PM
This is an informative thread so I thought you guys might have some idea of what is going on, here's my problem.

Azureus opens extremely slowly it takes a few minutes to open. After the splash screen and drawing the display window the processor usage jumps to the maximum. (~80% user, ~20% system stuff)

I have installed the Sun's newest java.
java -version gives me:

java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)

I installed azureus 2.3.0.6 using the instructions given on the first post of this thread. This '100%' cpu hog problem happens with no torrents running and with one torrent running.

Any ideas?

arnieboy
December 9th, 2005, 09:58 PM
This is an informative thread so I thought you guys might have some idea of what is going on, here's my problem.

Azureus opens extremely slowly it takes a few minutes to open. After the splash screen and drawing the display window the processor usage jumps to the maximum. (~80% user, ~20% system stuff)

I have installed the Sun's newest java.
java -version gives me:

java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)

I installed azureus 2.3.0.6 using the instructions given on the first post of this thread. This '100%' cpu hog problem happens with no torrents running and with one torrent running.

Any ideas?
azureus is a confirmed resource hog. if u want somethign lighter try the gnome bittorrent client.. but its severely lacking in options.

thecrust
December 9th, 2005, 11:21 PM
Just an update to my issue, when I run azureus with: gksudo azureus

The debug output streams this NULL Pointer exception over and over.
DEBUG::Fri Dec 09 20:25:25 CST 2005
java.lang.NullPointerException
at org.gudy.azureus2.ui.swt.StartServer.pollForConnec tionsSupport(StartServer.java:99)
at org.gudy.azureus2.ui.swt.StartServer.access$000(St artServer.java:28)
at org.gudy.azureus2.ui.swt.StartServer$2.runSupport( StartServer.java:82)
at org.gudy.azureus2.core3.util.AEThread.run(AEThread .java:64)

I realize that azureus is hard on the RAM and CPU, but I had a copy running earilier on this hardware with Ubuntu as well as Windows XP and both did not hog the CPU constantly. Currently azureus is hogging the processor even when it is not dealing with any torrents.

Thanks for your time.
Cheers

Aeon17x
December 18th, 2005, 01:55 AM
It works, even if you don't include the additional repos. Just make sure you already have Sun Java and the universe/multiverse repositories so that when you install Azureus, Synaptic will just fill in the missing dependencies. :)

kurokikaze
December 28th, 2005, 07:57 AM
Does anyone know if this how-to works for AMD64 ubuntu too?

Mosey
December 29th, 2005, 06:01 PM
No matter what ports I try and test...i've tried twenty-six already...I always get a NAT ERROR...

What do I need to do? I'm testing ports i've enabled in firestarter!

*Hmmph*

Rory
December 31st, 2005, 02:49 AM
Arnieboy,

Thanks for the Azureus install instructions. Question:

I installed sun-j2re1.5 from plf and then installed the same azureus package you note from the debian repos. Everything works fine. I didn't have to do anything else.

I never installed, as installing sun-j2re1.5 seemed to install them:
sudo apt-get install libcommons-cli-java liblog4j1.2-java libseda-java libswt-gtk-3.1-java

And I never did:
sudo update-alternatives --set java /usr/lib/j2re1.5-sun/bin/java

And I never installed firestarter.

Are these things really necessary?

Could the instructions instead say:
sudo apt-get install sun-j2re1.5

wget http://ftp.us.debian.org/debian/pool/contrib/a/azureus/azureus_2.3.0.6-1_all.deb

sudo dpkg -i azureus_2.3.0.6-1_all.deb

Rory
December 31st, 2005, 09:55 AM
There's also this second method, found on the new Breezy Ubuntu Guide, that will install the tarball straight from sourceforge.
http://easylinux.info/wiki/Ubuntu#How_to_install_P2P_BitTorrent_Client_.28Azu reus.29.3F


sudo apt-get install sun-j2re1.5 (must have PLF repo added for this)

wget -c http://heanet.dl.sourceforge.net/sourceforge/azureus/Azureus_2.3.0.6_linux.tar.bz2

sudo tar jxvf Azureus_2.3.0.6_linux.tar.bz2 -C /opt

sudo gedit /usr/share/applications/azureus.desktop

* Add the following to the new file:
[Desktop Entry]
Name=Azureus
Comment=A Bittorrent client
Exec=/opt/azureus
Icon=/opt/azureus/Azureus.png
Terminal=false
Type=Application
Categories=Application;Network;

L33tZ
December 31st, 2005, 02:26 PM
This method works great! Thanks!

Substance
January 1st, 2006, 04:02 AM
are there any other bitorrent programs besides azureus and bt4.0 i was hoping on using utorrent but thats windows only :(

Barrakketh
January 3rd, 2006, 03:32 PM
Eclipse and Azureus still don't play nice together. If I install Azureus it wants to remove Eclipse and it's related packages. If I install eclipse:
$ sudo apt-get install eclipse-sdk
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
eclipse-jdt eclipse-jdt-common eclipse-pde eclipse-pde-common
eclipse-platform eclipse-platform-common eclipse-rcp libswt3.1-gtk-java
libswt3.1-gtk-jni
Recommended packages:
eclipse-jdt-gcj eclipse-pde-gcj eclipse-source eclipse-platform-gcj
eclipse-rcp-gcj
The following packages will be REMOVED:
azureus libswt-gtk-3.1-java libswt-gtk-3.1-jni
The following NEW packages will be installed:
eclipse-jdt eclipse-jdt-common eclipse-pde eclipse-pde-common
eclipse-platform eclipse-platform-common eclipse-rcp eclipse-sdk
libswt3.1-gtk-java libswt3.1-gtk-jni
0 upgraded, 10 newly installed, 3 to remove and 3 not upgraded.

skaboss
January 5th, 2006, 08:17 PM
Eclipse and Azureus still don't play nice together. If I install Azureus it wants to remove Eclipse and it's related packages. If I install eclipse:
$ sudo apt-get install eclipse-sdk
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
eclipse-jdt eclipse-jdt-common eclipse-pde eclipse-pde-common
eclipse-platform eclipse-platform-common eclipse-rcp libswt3.1-gtk-java
libswt3.1-gtk-jni
Recommended packages:
eclipse-jdt-gcj eclipse-pde-gcj eclipse-source eclipse-platform-gcj
eclipse-rcp-gcj
The following packages will be REMOVED:
azureus libswt-gtk-3.1-java libswt-gtk-3.1-jni
The following NEW packages will be installed:
eclipse-jdt eclipse-jdt-common eclipse-pde eclipse-pde-common
eclipse-platform eclipse-platform-common eclipse-rcp eclipse-sdk
libswt3.1-gtk-java libswt3.1-gtk-jni
0 upgraded, 10 newly installed, 3 to remove and 3 not upgraded.

My 2 cents : install all java related stuff (eclipse, ant, tomcat...) manually.
Linux purists will say that's dumb, and that doing this you'll miss the power of packages.
I experienced so much problems with java apps packages : tomcat messing with struts apps, impossibility to correctly set local javadoc for the JDK in eclipse... that i took this resolution, and now everything is running fine :-)

ububaba
January 28th, 2006, 10:28 AM
UPDATED! NO MORE RESIZING PROBLEMS
Part 1: Installing Azureus
Before anything make sure u uncomment the universe and multiverse repositories .....

At a far simpler level. How does one comment or uncomment?

Rory
January 28th, 2006, 11:48 AM
This is a fair question. We just assume that these basic things are self-explanatory, when, of course, they're not.

## comment
uncomment (remove the '#') from the front of the line.

## at the beginning of the line means that that line won't be included in your repository (or other script, for that matter). But, it's still there, in case you want to use it down the line, when all you have to do is remove the #.

## Sometimes you'll see a file and it will have instructions. In order for ## the instructions to be there but not seen as code, comments are put ## in from of the lines. This allows you to write anything you want to users, explainining the contents of the script. Then you'll see code.

Here's an example: http://easylinux.info/wiki/Ubuntu#How_to_add_extra_repositories

Simple enough?

Rory

ububaba
January 28th, 2006, 12:09 PM
Thanks a bunch. It was really helpful.

Pettman
February 12th, 2006, 02:00 PM
Will there be an update for the new version of Azureus (2.4.0.0, came out the 10 of february)?

newuser111
February 12th, 2006, 02:01 PM
azureus can auto update itself

Pettman
February 12th, 2006, 03:47 PM
azureus can auto update itself
Not this version. Or you'd need to run it as root or something.

jamesford
February 12th, 2006, 03:59 PM
i downloaded the tarball and extracted over the old version and it works just great. there were some problems with some paths but it ws easy to fix with the azureus options thingy

Monoman
February 26th, 2006, 07:01 PM
new path for wget

wget http://ftp.us.debian.org/debian/pool/contrib/a/azureus/azureus_2.3.0.6-3_all.deb

arnieboy
February 26th, 2006, 10:39 PM
First post updated.

daredevil
March 1st, 2006, 10:46 AM
arnieboy i did not require firewall to open up port for azureus. dunno y!!

Jawbreaker4Fs
March 3rd, 2006, 04:17 PM
Ok... so I've been screwing around with attempting to install Azureus for several hours, and I seem to be at a completed dead end. Following the guide here, I managed to get Azureus to load, got NAT configured correctly, and downloaded the update. Without thinking, I allowed Azureus to install some sort of SWT update... and when it tried to reload the program I got the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3139 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Libra ry.java:123)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Conve rter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Conve rter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:122)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:75)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.crea teInstance(SWTThread.java:58)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:109)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:143)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:158)


I've tried uninstalling Azureus and everything Java... then doing a reinstall of both (several times), as well as ensuring that java is set to the sun version in
update-alternatives --config java
but none of this has worked! Any help would be greatly appreciated...

Jawbreaker4Fs
March 4th, 2006, 01:58 PM
After quite a while I managed to get it running using the method described by Rory here (http://ubuntuforums.org/showpost.php?p=616305&postcount=103). Thanks a bunch!

tombott
March 5th, 2006, 09:21 AM
There's also this second method, found on the new Breezy Ubuntu Guide, that will install the tarball straight from sourceforge.
http://easylinux.info/wiki/Ubuntu#How_to_install_P2P_BitTorrent_Client_.28Azu reus.29.3F


sudo apt-get install sun-j2re1.5 (must have PLF repo added for this)

wget -c http://heanet.dl.sourceforge.net/sourceforge/azureus/Azureus_2.3.0.6_linux.tar.bz2

sudo tar jxvf Azureus_2.3.0.6_linux.tar.bz2 -C /opt

sudo gedit /usr/share/applications/azureus.desktop

* Add the following to the new file:
[Desktop Entry]
Name=Azureus
Comment=A Bittorrent client
Exec=/opt/azureus
Icon=/opt/azureus/Azureus.png
Terminal=false
Type=Application
Categories=Application;Network;


Thanks for this.
Worth noting that the link to Azureus no longer works.
But this does:

wget -c http://ovh.dl.sourceforge.net/sourceforge/azureus/Azureus_2.4.0.0_linux.tar.bz2
sudo tar jxvf Azureus_2.4.0.0_linux.tar.bz2 -C /opt

Also when creating Icon for Azureus Exec should read:

[Desktop Entry]
Name=Azureus
Comment=A Bittorrent client
Exec=/opt/azureus/azureus
Icon=/opt/azureus/Azureus.png
Terminal=false
Type=Application
Categories=Application;Network;

ubunlilluz
March 5th, 2006, 03:55 PM
mine doesn't work: it gives always "dht firewalled" but the nat is ok and i don't have a router, but a 56k analogic modem:cry:

dark_templar
March 7th, 2006, 04:16 AM
mine doesn't work: it gives always "dht firewalled" but the nat is ok and i don't have a router, but a 56k analogic modem:cry:

I have the same problem. I configured firestater already, my router has the rules set (and NAT is ok, even according to Azureus). The strangest thing is that, sometimes DHT starts to work out of the blue. :-k

Dogweazel
May 6th, 2006, 08:19 AM
Is the first post outdated, I get some error messages like (translated from dutch):
Couldn't check status sourcepakketlist at http://packages.freecontrib.org etc..
and:
A failure to get some indexfiles or the're used some old packages
and:
Couldn't find sun-j2re1.5
I want to install Azereus, maybe someone has a working tutorial.
Thanks

Alpha_Maverick
May 6th, 2006, 10:52 PM
replace all occurances of "azureus_2.3.0.6-3_all.deb" with "azureus_2.4.0.2-1_all.deb" and it worked great for me.

bitoiu
September 10th, 2006, 02:09 PM
Simply.. THANKS : Easy, simple, straigh foward...

Recommended to everyone!!!

Mujaheiden
December 20th, 2006, 11:22 AM
mmmm. the repositry isn't there, and neither is the azureus_2.4.0.2-1_all.deb file.

psycho5
September 27th, 2007, 03:53 AM
err.. i am really noob at ubuntu... can you tell me where to post what code? i have no idea what you just told us to do. Thanks alot!