Package: ca-certificates-java Version: 20140324 X-Debbugs-CC: admwig...@gmail.com
I am having an issue on sid where ca-certificates-java does not find java when using jdk 8, thus leaving the '/etc/ssl/certs/java/cacerts' uncreated. Here is the command I run on a fresh system (technically a docker container, but that is unrelated): $ apt-get update && apt-get install openjdk-8-jdk='8u40~b09-1' Here is the truncated output: Setting up ca-certificates-java (20140324) ... /var/lib/dpkg/info/ca-certificates-java.postinst: line 53: java: command not found /var/lib/dpkg/info/ca-certificates-java.postinst: line 66: java: command not found done. I have made a patch of minimal changes (since you may want to tweak the ordering) to add java-8 to the search paths. *** postinst.in 2015-01-19 10:31:22.523025381 -0800 --- postinst-new.in 2015-01-19 10:32:18.909532328 -0800 *************** nsslib_name() *** 27,32 **** --- 27,33 ---- setup_path() { for jvm in java-6-openjdk-$arch java-6-openjdk \ + java-8-openjdk-$arch java-8-openjdk \ java-7-openjdk-$arch java-7-openjdk java-6-sun; do if [ -x /usr/lib/jvm/$jvm/bin/java ]; then break Here is related discussion: https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1396760 https://github.com/docker-library/java/issues/19 Thanks, Joe Ferguson (thanks to @tianon for his guidance in making this report)
__ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use debian-j...@lists.debian.org for discussions and questions.