Hi, I found the issue. The list for the for loop was extended in this commit: https://salsa.debian.org/java-team/ca-certificates-java/-/commit/f956fed5d45cbdc47a923dfd737d4d68330b6c19
However, 5 months later in this commit the file was renamed from .in (I guess include?) to regular file: https://salsa.debian.org/java-team/ca-certificates-java/-/commit/9a467d1ac4d903a284c80843de719fff1d053731 This made the modifications in postinst.in irrelevant and the modifications weren't moved over to the (now regular) jks-keystore.hook. However, this has been solved 8 months ago in the most recent commit by completely rewriting the file structure: https://salsa.debian.org/java-team/ca-certificates-java/-/commit/ed71672c67c56836e551e12264ff74091e62e2eb If possible, please provide an ETA for the fix. Best regards, Mátyás On Wed, 10 Nov 2021 15:24:21 +0000 =?utf-8?b?TcOhdHnDoXMgU3pvbWJhdGh5?= < matyas.szomba...@gmail.com> wrote: > Package: ca-certificates-java > Version: 20190909 > Severity: important > X-Debbugs-Cc: matyas.szomba...@gmail.com > > Dear Maintainer, > > The ca-certificates-java hook script goes through a for loop to find the > first suitable java installation. > The script doesn't list java12-18 as a possibility at all, hence the > script fails. > This was fixed with the previous update on 20190405, which closed the > ticket #925431. > Somehow this got removed and reset back to only support java7-11. > > * What led up to the situation? > Tried to install openjdk-17-jre-headless > * What exactly did you do (or not do) that was effective (or > ineffective)? > Ran update-ca-certificates -f after package install finished. > * What was the outcome of this action? > As alternatives set-up java in PATH, the 86th line (java -jar > ...) was able to find "java". > * What outcome did you expect instead? > The hook should list java 12-18 versions to be set-up as well. > > -- System Information: > Debian Release: 11.1 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') > Architecture: amd64 (x86_64) > > Kernel: Linux 5.4.0-90-generic (SMP w/4 CPU threads) > Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set > Shell: /bin/sh linked to /bin/dash > Init: unable to detect > > Versions of packages ca-certificates-java depends on: > ii ca-certificates 20210119 > ii libnss3 2:3.61-1 > ii openjdk-17-jre-headless [java8-runtime-headless] 17~19-1 > > ca-certificates-java recommends no packages. > > ca-certificates-java suggests no packages. > > -- no debconf information > >