Closed diolwe closed 12 years ago
I also get the same error on Ubuntu 10.04.3 LTS
rm -rf jdk1.6.0_35
binsize=$(wc -c jdk-6u35-linux-i586.bin | awk '{print $1}'); \
zipstart=$(unzip -ql jdk-6u35-linux-i586.bin 2>&1 >/dev/null | sed -n -e 's/.* \([0-9][0-9]*\) extra bytes.*/\1/p'); \
tail -c $(expr $binsize - $zipstart) jdk-6u35-linux-i586.bin > tmp-jdk.zip
expr: syntax error
tail: jdk-6u35-linux-i586.bin: invalid number of bytes
make: *** [unpack-i586-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
^H^H5985's retcode: 2
success
There is a patch for this in issue #56
Thank you! That solved it.
I get the following errormessage after applying the fix to adjust to Oracles website changes for 6u35:
Any ideas what's going wrong and how I can fix it? It used to work on this machine ...