openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #13292
Bug#914860: openjdk-11-jre-headless: fails to install in stretch-backports: ca-certificates-java.postinst: line 56: java: command not found
Package: openjdk-11-jre-headless
Version: 11.0.1+13-2~bpo9+1
Severity: important
User: debian-qa@xxxxxxxxxxxxxxxx
Usertags: piuparts
Hi,
openjdk-11-jre-headless fails to install in a clean
stretch+stretch-backports environment. There was no previous jre from
stretch installed.
I'm assigning this to openjdk-11-jre-headless/stretch-backports even
though the failing package is ca-certificates-java/stretch, because
this only occurs in stretch-backports in the presence of the newer
package.
[...]
Setting up ca-certificates-java (20170531+nmu1) ...
/var/lib/dpkg/info/ca-certificates-java.postinst: line 56: java: command not found
dpkg: error processing package ca-certificates-java (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of openjdk-11-jre-headless:amd64:
openjdk-11-jre-headless:amd64 depends on ca-certificates-java; however:
Package ca-certificates-java is not configured yet.
dpkg: error processing package openjdk-11-jre-headless:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of piuparts-depends-dummy:
piuparts-depends-dummy depends on ca-certificates-java; however:
Package ca-certificates-java is not configured yet.
dpkg: error processing package piuparts-depends-dummy (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for ca-certificates (20161130+nmu1+deb9u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
/etc/ca-certificates/update.d/jks-keystore: 86: /etc/ca-certificates/update.d/jks-keystore: java: not found
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
done.
Errors were encountered while processing:
ca-certificates-java
openjdk-11-jre-headless:amd64
piuparts-depends-dummy
Does this require a newer version of ca-certificates-java (needs to
be backported) and a corresponding versioned dependency to work properly?
piuparts did not encounter any problems in either plain stretch or sid.
Andreas
Attachment:
openjdk-11-jre-headless_11.0.1+13-2~bpo9+1.log.gz
Description: application/gzip
Follow ups