java.com has changed and makes get-java6-jre ending with an empty package, this patch will fix it:
--- /usr/bin/get-java6-jre
+++ /usr/bin/get-java6-jre-fixed
@@ -7,11 +7,11 @@
PACKAGE="java6-jre"
WEB_SITE="http://www.java.com/"
-TARBALL="jre.tar.gz"
+TARBALL="jre.bin"
TEMP_DIR="/tmp/$PACKAGE.$$"
ROOT="$1"
-URL="$(wget -O - ${WEB_SITE}en/download/manual.jsp | \
+URL="$(wget -O - ${WEB_SITE}en/download/manual_v6.jsp | \
sed '/self-extracting/!d;s/.*href="\([^"]*\).*/\1/;q')"
# Check if we are root starting anything
@@ -48,8 +48,7 @@
# Run the install file user may agree to SUN EULA
chmod +x $TARBALL
-tar xvf ${TARBALL}
-
+/bin/sh $TARBALL
# Make the package
VERSION="$(ls jre?.* -d | sed 's/^jre//')"