Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-05-2009, 02:12 PM   #1
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, I get the error:
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?

Old 09-05-2009, 02:26 PM   #2
Registered: Apr 2009
Distribution: Slackware
Posts: 44

Rep: Reputation: 18
Works fine with me. Installed from DVD.
Old 09-05-2009, 06:33 PM   #3
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, 09:59 PM   #4
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
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

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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-09-2008 12:31 AM
jdk not working crash_override_me Ubuntu 3 10-18-2005 01:35 PM
jdk 5.0 not working in Ubuntu crash_override_me Ubuntu 5 09-08-2005 01:13 PM
JPackage Java compatibility package for Sun's JDK satimis Programming 2 04-28-2005 10:30 PM
Slackware 10 + jdk 1.5 jorge.vargas Slackware 3 07-16-2004 02:42 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:12 PM.

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