LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-05-2009, 01:12 PM   #1
c0mpm5tr
LQ Newbie
 
Registered: Feb 2006
Location: Charlotte, NC
Distribution: Slackware
Posts: 9

Rep: Reputation: 1
JDK package in Slackware 13.0 /extras directory not working.


When I try to install the Java Developer Kit package: jdk-6u16-i586.txz from either the DVD or freshly downloaded from ftp.slackware.com, I get the error:
Code:
Verifying package jdk-6u16-i586-1.txz.
xz: (stdin): Unexpected end of input
Unable to install jdk-6u16-i586-1.txz:  tar archive is corrupt (tar returned error code 2)
The package seems to have installed from the original setup, however, the package showed up in /var/log/packages with the uncompressed package size showing up as 0K, and no files installed. I get the tar archive is corrupt error when I try to install the package after having removed the original failed install.

Is anyone else having this same issue?

Thanks
 
Old 09-05-2009, 01:26 PM   #2
Thursapr
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 44

Rep: Reputation: 18
Works fine with me. Installed from DVD.
 
Old 09-05-2009, 05:33 PM   #3
c0mpm5tr
LQ Newbie
 
Registered: Feb 2006
Location: Charlotte, NC
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 1
After downloading from second mirror, I got a valid package.
 
Old 09-11-2009, 08:59 PM   #4
btncix
Member
 
Registered: Aug 2009
Location: USA
Posts: 141

Rep: Reputation: 26
I came across a bad mirror as well. I'm running Slackware64 13.0.
The bad mirror I was using was ftp://ftp-linux.cc.gatech.edu/pub/sl...lackware-13.0/
The package was getting installed in /usr/lib instead of /usr/lib64. In the end I just used the package on the install DVD.

note: the mirror was not a problem when installing jdk for 32 bit system


details below, wrote a didactic response for newbies like me


Here is what I initially did as superuser:
# slackpkg update
# slackpkg install jdk-6u16-i586-1
# reboot


once system reboot
# java -version -> this would not execute
# slackpkg search jdk -> said jdk was still not installed
So I checked /usr/lib and /usr/lib64. What I found was that jre (which came from when I initially installed Slackware64) was on /usr/lib64 and the jdk was on /usr/lib


solution:
1. mounted the install dvd to /mnt/dvd
2. go to the extras directory on the dvd
3. installpkg <the-jdk-filename>.txz
4. reboot
5. #java -version -> worked this time
 
  


Reply



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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
is there a working slackware package of pygtk rob.rice Slackware 7 08-08-2008 11:31 PM
jdk not working crash_override_me Ubuntu 3 10-18-2005 12:35 PM
jdk 5.0 not working in Ubuntu crash_override_me Ubuntu 5 09-08-2005 12:13 PM
JPackage Java compatibility package for Sun's JDK satimis Programming 2 04-28-2005 09:30 PM
Slackware 10 + jdk 1.5 jorge.vargas Slackware 3 07-16-2004 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:35 AM.

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