Package: ca-certificates-java Version: 20170531+nmu1 On armhf the server JVM is not available. But the postinst script assumes so and uses it to setup a temporary configuration in /etc/java-8-openjdk/jvm-armhf.cfg The installation of openjdk-8-jre-headless therefore fails!
Running hooks in /etc/ca-certificates/update.d... Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'. Please install or use the JRE or JDK that contains these missing components. E: /etc/ca-certificates/update.d/jks-keystore exited with code 1. done. Errors were encountered while processing: ca-certificates-java openjdk-8-jre-headless:armhf openjdk-9-jre-headless:armhf E: Sub-process /usr/bin/dpkg returned an error code (1) Please use the client defaults instead (jvm.cfg-client_default from the openjdk sources): -client KNOWN -server ALIASED_TO -client Thanks!