Re: Simple way to update java on FC6?

2008-01-28 Thread Lloyd Kvam

On Sun, 2008-01-27 at 17:22 -0500, Bruce Labitt wrote:
 Um, duh. :-[   I didn't run the .bin file and agree to SUN's 
 conditions...  Onto the next issue.
 Now I have run yum and enabled the repository jpackage.repo.  Next onto 
 the install, everything goes ok, dependencies are resolved, and then 
 
 Package jdk-1_5_0_14-linux-i586.rpm is not signed
 
 What do I need to do?  

I guess you need to disable the gpgchecking in the repo file.  There's
probably a command-line switch, but changing
gpgcheck=0 
should get you past that hurdle.

 Inside jpackage.repo is the gpgkey for jpackage.  
 This appears to be Sun's package isn't signed?
 
 Bruce Labitt wrote:
  Lloyd Kvam wrote:

  On Sun, 2008-01-27 at 11:50 -0500, Bruce Labitt wrote:

  
  I'm trying to get eclipse to run on my box with FC6.  I grabbed a copy 
  of the program from eclipse.org.  It wants a version of java  1.5 to 
  run.  It seems the repos only have 1.4.2 for FC6.  Anybody know of a 
  repo that may have it?  
  

  http://www.jpackage.org/
  is probably your best bet.  
 

  
  In the past, I've tried updating java thru the 
  sun site.  I was not successful at all.
  ___
  gnhlug-discuss mailing list
  gnhlug-discuss@mail.gnhlug.org
  http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
  

  OK.  I downloaded the files jdk-1_5_0_14-linux-i586-rpm.bin
  and java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm .
 
  I am attempting to follow the outline given in:
  http://www.jpackage.org/installation.php
 
  If I am following the instructions correctly, I should then do:
  # yum localinstall java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm
 
  I get the following error message:
 
  ...
  Reading repository metadata in from local files
  Resolving Dependencies
  -- Populating transaction set with selected packages. Please wait.
  --- Package java-1.5.0-sun-compat.i586 0:1.5.0.14-1jpp set to be updated
  -- Running transaction check
  -- Processing Dependency: jdk = 2000:1.5.0_14-fcs for package: 
  java-1.5.0-sun-compat
  -- Finished Dependency Resolution
  Error: Missing Dependency: jdk = 2000:1.5.0_14-fcs is needed by package 
  java-1.5.0-sun-compat
 
  How do I tell yum that the jdk-1_5_0_14-linux-i586-rpm.bin file is in 
  the same directory???  Or do I have a different problem?
 
  ___
  gnhlug-discuss mailing list
  gnhlug-discuss@mail.gnhlug.org
  http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
 

 
 ___
 gnhlug-discuss mailing list
 gnhlug-discuss@mail.gnhlug.org
 http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Simple way to update java on FC6?

2008-01-28 Thread Lloyd Kvam

On Sun, 2008-01-27 at 16:57 -0500, Bruce Labitt wrote:
 Lloyd Kvam wrote:
  On Sun, 2008-01-27 at 11:50 -0500, Bruce Labitt wrote:

  I'm trying to get eclipse to run on my box with FC6.  I grabbed a copy 
  of the program from eclipse.org.  It wants a version of java  1.5 to 
  run.  It seems the repos only have 1.4.2 for FC6.  Anybody know of a 
  repo that may have it?  
  
 
  http://www.jpackage.org/
  is probably your best bet.  
 

  In the past, I've tried updating java thru the 
  sun site.  I was not successful at all.
  ___
  gnhlug-discuss mailing list
  gnhlug-discuss@mail.gnhlug.org
  http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
  
 OK.  I downloaded the files jdk-1_5_0_14-linux-i586-rpm.bin
 and java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm .
 
 I am attempting to follow the outline given in:
 http://www.jpackage.org/installation.php
 
 If I am following the instructions correctly, I should then do:
 # yum localinstall java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm
 
 I get the following error message:
 
 ...
 Reading repository metadata in from local files
 Resolving Dependencies
 -- Populating transaction set with selected packages. Please wait.
 --- Package java-1.5.0-sun-compat.i586 0:1.5.0.14-1jpp set to be updated
 -- Running transaction check
 -- Processing Dependency: jdk = 2000:1.5.0_14-fcs for package: 
 java-1.5.0-sun-compat
 -- Finished Dependency Resolution
 Error: Missing Dependency: jdk = 2000:1.5.0_14-fcs is needed by package 
 java-1.5.0-sun-compat
 
 How do I tell yum that the jdk-1_5_0_14-linux-i586-rpm.bin file is in 
 the same directory???  
Can you list both files on the command line?

 Or do I have a different problem?

Make sure you have jpackage-utils installed.  The yum-faq provides the
setup info for some other repositories: yum-fedorafaq-6-2007.02.03

Here's my jpackage.repo from the fedorafaq rpm.

[EMAIL PROTECTED] yum.repos.d]# cat jpackage.repo 
# JPackage is a GREAT repository for Java Software.
# Nowadays most of JPackage should work with GCJ,
# so there should be no problem with it being enabled
# by default.
#
# Note: JPackage IS compatible with Fedora Extras.
# You can use JPackage and Fedora Extras at the same time, without
# any trouble. It's also compatible with the all the other repositories,
# for the most part.

[jpackage-generic]
name=JPackage (free), generic
mirrorlist=http://www.jpackage.org/jpackage_generic.txt
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/jpackage.asc
enabled=0

[jpackage-fedora]
name=JPackage (free) for Fedora Core $releasever
mirrorlist=http://www.jpackage.org/jpackage_fedora-$releasever.txt
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/jpackage.asc
enabled=0

[jpackage-nonfree]
name=JPackage (non-free), generic
mirrorlist=http://www.jpackage.org/jpackage_generic_nonfree.txt
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/jpackage.asc
enabled=0

You'll need to set enabled=1 as appropriate.  Hopefully that gets you
working.

I ultimately deleted the Java stuff.  Apparently I did not have enough
processing power and it was not helping me get work done.
 
 ___
 gnhlug-discuss mailing list
 gnhlug-discuss@mail.gnhlug.org
 http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Simple way to update java on FC6?

2008-01-27 Thread Bruce Labitt
I'm trying to get eclipse to run on my box with FC6.  I grabbed a copy 
of the program from eclipse.org.  It wants a version of java  1.5 to 
run.  It seems the repos only have 1.4.2 for FC6.  Anybody know of a 
repo that may have it?  In the past, I've tried updating java thru the 
sun site.  I was not successful at all.
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Simple way to update java on FC6?

2008-01-27 Thread Lloyd Kvam

On Sun, 2008-01-27 at 11:50 -0500, Bruce Labitt wrote:
 I'm trying to get eclipse to run on my box with FC6.  I grabbed a copy 
 of the program from eclipse.org.  It wants a version of java  1.5 to 
 run.  It seems the repos only have 1.4.2 for FC6.  Anybody know of a 
 repo that may have it?  

http://www.jpackage.org/
is probably your best bet.  

 In the past, I've tried updating java thru the 
 sun site.  I was not successful at all.
 ___
 gnhlug-discuss mailing list
 gnhlug-discuss@mail.gnhlug.org
 http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Simple way to update java on FC6?

2008-01-27 Thread Frank DiPrete

I install the jre binary from sun on my FC boxes:

http://www.java.com/en/download/manual.jsp

Install to /usr/local/jre-blah and set PATH or link to the binaries.


On Sun, 2008-01-27 at 11:50 -0500, Bruce Labitt wrote:
 I'm trying to get eclipse to run on my box with FC6.  I grabbed a copy 
 of the program from eclipse.org.  It wants a version of java  1.5 to 
 run.  It seems the repos only have 1.4.2 for FC6.  Anybody know of a 
 repo that may have it?  In the past, I've tried updating java thru the 
 sun site.  I was not successful at all.
 ___
 gnhlug-discuss mailing list
 gnhlug-discuss@mail.gnhlug.org
 http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
 
 

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Simple way to update java on FC6?

2008-01-27 Thread Ted Roche
Bruce Labitt wrote:
 I'm trying to get eclipse to run on my box with FC6.  I grabbed a copy 
 of the program from eclipse.org.  It wants a version of java  1.5 to 
 run.  It seems the repos only have 1.4.2 for FC6.  Anybody know of a 
 repo that may have it?  In the past, I've tried updating java thru the 
 sun site.  I was not successful at all.

I had a terrible time with it back in the FC6 days, until I realized for 
legal reasons Fedora ships GCJ rather than the Sun binary. Changes are 
afoot in the licensing,  but the most recent word on the situation seems 
to be at:

http://fedoraproject.org/wiki/JavaFAQ
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Simple way to update java on FC6?

2008-01-27 Thread Bruce Labitt
Lloyd Kvam wrote:
 On Sun, 2008-01-27 at 11:50 -0500, Bruce Labitt wrote:
   
 I'm trying to get eclipse to run on my box with FC6.  I grabbed a copy 
 of the program from eclipse.org.  It wants a version of java  1.5 to 
 run.  It seems the repos only have 1.4.2 for FC6.  Anybody know of a 
 repo that may have it?  
 

 http://www.jpackage.org/
 is probably your best bet.  

   
 In the past, I've tried updating java thru the 
 sun site.  I was not successful at all.
 ___
 gnhlug-discuss mailing list
 gnhlug-discuss@mail.gnhlug.org
 http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
 
OK.  I downloaded the files jdk-1_5_0_14-linux-i586-rpm.bin
and java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm .

I am attempting to follow the outline given in:
http://www.jpackage.org/installation.php

If I am following the instructions correctly, I should then do:
# yum localinstall java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm

I get the following error message:

...
Reading repository metadata in from local files
Resolving Dependencies
-- Populating transaction set with selected packages. Please wait.
--- Package java-1.5.0-sun-compat.i586 0:1.5.0.14-1jpp set to be updated
-- Running transaction check
-- Processing Dependency: jdk = 2000:1.5.0_14-fcs for package: 
java-1.5.0-sun-compat
-- Finished Dependency Resolution
Error: Missing Dependency: jdk = 2000:1.5.0_14-fcs is needed by package 
java-1.5.0-sun-compat

How do I tell yum that the jdk-1_5_0_14-linux-i586-rpm.bin file is in 
the same directory???  Or do I have a different problem?

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Simple way to update java on FC6?

2008-01-27 Thread Bruce Labitt
Ted Roche wrote:
 Bruce Labitt wrote:
 I'm trying to get eclipse to run on my box with FC6.  I grabbed a 
 copy of the program from eclipse.org.  It wants a version of java  
 1.5 to run.  It seems the repos only have 1.4.2 for FC6.  Anybody 
 know of a repo that may have it?  In the past, I've tried updating 
 java thru the sun site.  I was not successful at all.

 I had a terrible time with it back in the FC6 days, until I realized 
 for legal reasons Fedora ships GCJ rather than the Sun binary. Changes 
 are afoot in the licensing,  but the most recent word on the situation 
 seems to be at:

 http://fedoraproject.org/wiki/JavaFAQ

The JavaFAQ was not terribly encouraging...
All I can say is it is ugly...
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Simple way to update java on FC6?

2008-01-27 Thread Ben Scott
On Jan 27, 2008 5:22 PM, Bruce Labitt [EMAIL PROTECTED] wrote:
 Package jdk-1_5_0_14-linux-i586.rpm is not signed

  If you can track down the GPG key for the repository source, you can
add it to the trusted keys for your system with:

rpm --import /path/to/key-file

or even

rpm --import http://url/to/key-file

  On my FC6 system, I seem to have an /etc/pki/rpm-gpg/jpackage.asc
file, which is owned by package yum-fedorafaq-6-2007.02.03 (which I
installed many moons ago to activate various third-party repositories.
including jpackage).  That may not be helpful to you.  I just checked,
and I can't seem to find the magic RPM that Fedora FAQ provided.  I
suspect it's been obsoleted with the rest of Fedora 6.  I'm thinking
my next home distro may be CentOS; I hate being on the upgrade
treadmill.

  If you can't find a key file, you can try this:

rpm --upgrade --nosignature dk-1_5_0_14-linux-i586.rpm

  That tells RPM to install the package but ignore signature check
failures.  Not always a good idea, but if you got the package file
from a trustworthy source, you should be okay.

-- Ben
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Simple way to update java on FC6?

2008-01-27 Thread Bruce Labitt
Um, duh. :-[   I didn't run the .bin file and agree to SUN's 
conditions...  Onto the next issue.
Now I have run yum and enabled the repository jpackage.repo.  Next onto 
the install, everything goes ok, dependencies are resolved, and then 

Package jdk-1_5_0_14-linux-i586.rpm is not signed

What do I need to do?  Inside jpackage.repo is the gpgkey for jpackage.  
This appears to be Sun's package isn't signed?

Bruce Labitt wrote:
 Lloyd Kvam wrote:
   
 On Sun, 2008-01-27 at 11:50 -0500, Bruce Labitt wrote:
   
 
 I'm trying to get eclipse to run on my box with FC6.  I grabbed a copy 
 of the program from eclipse.org.  It wants a version of java  1.5 to 
 run.  It seems the repos only have 1.4.2 for FC6.  Anybody know of a 
 repo that may have it?  
 
   
 http://www.jpackage.org/
 is probably your best bet.  

   
 
 In the past, I've tried updating java thru the 
 sun site.  I was not successful at all.
 ___
 gnhlug-discuss mailing list
 gnhlug-discuss@mail.gnhlug.org
 http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
 
   
 OK.  I downloaded the files jdk-1_5_0_14-linux-i586-rpm.bin
 and java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm .

 I am attempting to follow the outline given in:
 http://www.jpackage.org/installation.php

 If I am following the instructions correctly, I should then do:
 # yum localinstall java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm

 I get the following error message:

 ...
 Reading repository metadata in from local files
 Resolving Dependencies
 -- Populating transaction set with selected packages. Please wait.
 --- Package java-1.5.0-sun-compat.i586 0:1.5.0.14-1jpp set to be updated
 -- Running transaction check
 -- Processing Dependency: jdk = 2000:1.5.0_14-fcs for package: 
 java-1.5.0-sun-compat
 -- Finished Dependency Resolution
 Error: Missing Dependency: jdk = 2000:1.5.0_14-fcs is needed by package 
 java-1.5.0-sun-compat

 How do I tell yum that the jdk-1_5_0_14-linux-i586-rpm.bin file is in 
 the same directory???  Or do I have a different problem?

 ___
 gnhlug-discuss mailing list
 gnhlug-discuss@mail.gnhlug.org
 http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

   

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Simple way to update java on FC6?

2008-01-27 Thread Bruce Labitt
Ben Scott wrote:
 On Jan 27, 2008 5:22 PM, Bruce Labitt [EMAIL PROTECTED] wrote:
   
 Package jdk-1_5_0_14-linux-i586.rpm is not signed
 

   If you can track down the GPG key for the repository source, you can
 add it to the trusted keys for your system with:

   rpm --import /path/to/key-file

 or even

   rpm --import http://url/to/key-file

   On my FC6 system, I seem to have an /etc/pki/rpm-gpg/jpackage.asc
 file, which is owned by package yum-fedorafaq-6-2007.02.03 (which I
 installed many moons ago to activate various third-party repositories.
 including jpackage).  That may not be helpful to you.  I just checked,
 and I can't seem to find the magic RPM that Fedora FAQ provided.  I
 suspect it's been obsoleted with the rest of Fedora 6.  I'm thinking
 my next home distro may be CentOS; I hate being on the upgrade
 treadmill.

   If you can't find a key file, you can try this:

   rpm --upgrade --nosignature dk-1_5_0_14-linux-i586.rpm

   That tells RPM to install the package but ignore signature check
 failures.  Not always a good idea, but if you got the package file
 from a trustworthy source, you should be okay.

 -- Ben
 ___
 gnhlug-discuss mailing list
 gnhlug-discuss@mail.gnhlug.org
 http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

   
Thanks all, especially Lloyd and Ben.  Finally got eclipse running.  Now 
I've got to repeat this at work...  Should be much easier this time...
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/