Jump to content

Frostwire and java installation went wrong


Recommended Posts

Hello Guys,

I want to install Frostwire-4.10.9-0.i586.rpm which I downloaded from SourceForge. Before I install Frostwire I installed java-1.4.2-gcj-compat-1.4.2.0-40.16mdk.i586 : JPackage runtime scripts for GCJ (to install) with 'urpmi' which gave me 3 options and I choose the second option.

All together 14 packages and 66 MB. I get this messages:

 

The following packages have bad signatures:

/var/cache/urpmi/rpms/eclipse-ecj-3.1.0-8mdk.i586.rpm: Invalid Key ID (DSA/SHA1, Sun 18 Sep 2005 04:53:45 PM ICT, Key ID 445935f878d019f5)

/var/cache/urpmi/rpms/gjdoc-0.7.5-2mdk.i586.rpm: Invalid Key ID (DSA/SHA1, Mon 12 Sep 2005 09:14:06 PM ICT, Key ID 445935f878d019f5)

/var/cache/urpmi/rpms/gnu-crypto-2.0.1-1.1mdk.noarch.rpm: Invalid Key ID (DSA/SHA1, Mon 12 Sep 2005 09:31:14 PM ICT, Key ID 445935f878d019f5)

/var/cache/urpmi/rpms/gnu-crypto-jce-jdk1.4-2.0.1-1.1mdk.noarch.rpm: Invalid Key ID (DSA/SHA1, Mon 12 Sep 2005 09:32:45 PM ICT, Key ID 445935f878d019f5)

/var/cache/urpmi/rpms/gnu-crypto-sasl-jdk1.4-2.0.1-1.1mdk.noarch.rpm: Invalid Key ID (DSA/SHA1, Mon 12 Sep 2005 09:32:47 PM ICT, Key ID 445935f878d019f5)

/var/cache/urpmi/rpms/jessie-1.0.0-6mdk.noarch.rpm: Invalid Key ID (DSA/SHA1, Mon 12 Sep 2005 08:50:31 PM ICT, Key ID 445935f878d019f5)

Do you want to continue installation ? (y/N) y

 

During the urpmi final installation I get this error messages:

Preparing... #############################################

1/14: jpackage-utils #############################################

2/14: zlib1-devel #############################################

3/14: libgcj6-base #############################################

4/14: libgcj6 #############################################

5/14: libgcj6-devel #############################################

6/14: gcj-tools #############################################

7/14: gcc-java #############################################

8/14: gnu-crypto-jce-jdk1.4 #############################################

9/14: gnu-crypto-sasl-jdk1.4#############################################

10/14: gnu-crypto #############################################

/var/tmp/rpm-tmp.55251: line 1: rebuild-security-providers: command not found

error: %post(gnu-crypto-2.0.1-1.1mdk.noarch) scriptlet failed, exit status 127

11/14: gjdoc #############################################

12/14: jessie #############################################

/var/tmp/rpm-tmp.892: line 1: rebuild-security-providers: command not found

13/14: java-1.4.2-gcj-compat error: %post(j#####essie-1.0.0-6mdk.noarch) scriptlet failed, exit status 127

########################################

14/14: eclipse-ecj #############################################

 

What caused this errors?????

Did I choose the wrong java???? I think the run-time version was enough.

I run linux 2.6.12-12mdk

I have tried to use 'urpme java' but the command is not able to clean my PC. Some Jave items and dependencies is still there. How do i clean it all????

 

The Java options I was presented was:

1- java-1.4.2-sun-compat-1.4.2.05-2jpp.noarch : JPackage Java compatibility package for Sun's JDK (to install)

2- java-1.4.2-gcj-compat-1.4.2.0-40.16mdk.i586 : JPackage runtime scripts for GCJ (to install)

3- java-1.4.2-kaffe-1.4.2.00-2mdk.i586 : A free virtual machine for running Java code (to install)

What is your choice? (1-3) 2

 

Please help me :wall:

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Thank's for your reply aioshin,

 

After update repos.. I run:

[root@TOT Desktop]# urpmi --clean

[root@TOT Desktop]# urpmi java

The package(s) are already installed

The following package names were assumed: java-1.4.2-kaffe

[root@TOT Desktop]# urpme java-1.4.2-kaffe

unknown package: java-1.4.2-kaffe

 

Java-1.4.2-kaffe comes there from one of my previous attempt's because a believed this should be enough to run Frostwire, but no luck.

 

How can I de-install this package?????

Link to comment
Share on other sites

Thank's for reply both of you,

aioshin

I run:

[root@TOT arne]# rpm -e eclipse-ecj-3.1.0-8mdk.i586 java-1.4.2-gcj-compat-1.4.2.0-40.16mdk.i586

/var/tmp/rpm-tmp.14192: line 1: /usr/bin/rebuild-gcj-db: No such file or directory

error: %postun(eclipse-ecj-3.1.0-8mdk.i586) scriptlet failed, exit status 127

/var/tmp/rpm-tmp.14192: line 13: /usr/bin/rebuild-security-providers: No such file or directory

error: %postun(java-1.4.2-gcj-compat-1.4.2.0-40.16mdk.i586) scriptlet failed, exit status 127

I would like to understand why this script fails??????

 

Then I run:

[root@TOT arne]# rpm -e --noscripts java-1.4.2-gcj-compat-1.4.2.0-40.16mdk eclipse-ecj-3.1.0-8mdk.i586

and I think this confirm it's un-installed:

[root@TOT arne]# whereis eclipse-ecj-3.1.0-8mdk.i586

eclipse-ecj-3.1.0-8mdk:

[root@TOT arne]# whereis java-1.4.2-gcj-compat-1.4.2.0-40.16mdk.i586

java-1.4.2-gcj-compat-1.4.2.0-40.16mdk:

Do you agree?????

 

scarecrow,

I have downloaded

j2re-1.5.0.5-1.2006mcnl.i586.rpm #from october 2005 and

j2re-1.5.0.6-1.2006mcnl.i586.rpm #from december 2005

 

Which one should I use????

Should it be installed with 'rpm -i' or 'urpmi'????

Edited by Arne
Link to comment
Share on other sites

Hi Arne,

 

The best way to check if something is installed or not, would be this command:

 

rpm -qa | grep java

 

will filter results of those containing java or replace with j2re in your example above. Replace "java" with eclipse, or anything else you want to search for to find out if the package is installed or not.

 

I usually download java directly from http://www.java.com

 

They also provide a rpm to install, which works a treat. Normally it's in an rpm.bin file, which you then extract, and install the rpm file afterwards. If you're unsure of instructions, here are ones I wrote a while ago when doing it under Mandrake 10.1, but the procedure is still the same:

 

http://www.buziaks.com/ian/jreinstall.htm

 

Hope it helps a bit if you're still experiencing some problems.

Link to comment
Share on other sites

I'd rather install it like:

 

urpmi.addmedia mcnl http://www.mandrivaclub.nl/sources/official/2006/i586/ with hdlist.cz

urpmi j2re

Before doing "urpmi j2re" put the newer downloaded RPM at urpmi's cache directory, unless you don't mind downloading the same thing for a third time...

 

If you don't like using urpmi, then look for another distro- all that is good about Mandriva is urpmi and nothing else...

Edited by scarecrow
Link to comment
Share on other sites

Thank's for reply Ian and scarecow.

I added the club nedia, A god idee for the future.

 

Ok, I added media and downloaded 'j2re' and installed it. No error messages.

Then I installed FrostWire latest which I had downloaded a few days ago. No error messages.

 

When I use the kde run command I am told:

FrostWire

Could not run the specified command.

When I run it from terminal I am told:

[root@TOT Desktop]# FrostWire

bash: FrostWire: command not found

 

What am I missing???????

Link to comment
Share on other sites

You could try:

 

whereis frostwire

 

or if that doesn't yield any results:

 

su
updatedb
slocate frostwire

 

and that should pull back lots more results. Providing the executable is called frostwire for the application you've installed.

Link to comment
Share on other sites

Ok Guys,

When I in a terminal (not as root) I get this:

[arne@TOT ~]$ frostwire

: command not found:

: No such file or directory

: command not found:

: command not found3:

'unFrost.sh: line 24: syntax error near unexpected token `

'unFrost.sh: line 24: `look_for_java()

 

and

[arne@TOT ~]$ whereis frostwire

frostwire: /usr/bin/frostwire /usr/lib/frostwire

 

I go to Java website where I can test if Java is installed correctly.

The message is: Java is not installed correctly.

 

I believed this club version was pre-compiled for 2006.0. So why is it not working. Is it like this "Skype" work right out of the box and rt2500 wireless chip work right out the box shit from mandriva or am I taking my mouth to full.

 

I think the best ting for me is to install the rpm from Java website but I will wait for your reply, please.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...