Your message dated Wed, 12 Jul 2023 12:07:19 +0200
with message-id <af4dca47-1a4a-5ba6-74b1-503518f0a...@debian.org>
and subject line Re: ca-certificates-java: post-inst fails on bullseye when 
installed as openjdk dependency
has caused the Debian Bug report #1038635,
regarding ca-certificates-java: post-inst fails on bullseye when installed as 
openjdk dependency
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1038635: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038635
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ca-certificates-java
Version: 20190909
Severity: important
X-Debbugs-Cc: m...@ixod.org

Dear Maintainer,

If I do,

$ docker run -it debian:bullseye
# apt-get update
# apt-get install openjdk-17-jre-headless

then the installation fails with,

Setting up ca-certificates-java (20190909) ...
head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or 
directory
Exception in thread "main" java.lang.InternalError: Error loading java.security 
file
        at java.base/java.security.Security.initialize(Security.java:106)
        at java.base/java.security.Security$1.run(Security.java:84)
        at java.base/java.security.Security$1.run(Security.java:82)
        at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
        at java.base/java.security.Security.<clinit>(Security.java:82)
        at java.base/sun.security.jca.ProviderList.<init>(ProviderList.java:178)
        at java.base/sun.security.jca.ProviderList$2.run(ProviderList.java:96)
        at java.base/sun.security.jca.ProviderList$2.run(ProviderList.java:94)
        at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
        at 
java.base/sun.security.jca.ProviderList.fromSecurityProperties(ProviderList.java:93)
        at java.base/sun.security.jca.Providers.<clinit>(Providers.java:55)
        at 
java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:156)
        at 
java.base/java.security.cert.CertificateFactory.getInstance(CertificateFactory.java:193)
        at org.debian.security.KeyStoreHandler.<init>(KeyStoreHandler.java:50)
        at 
org.debian.security.UpdateCertificates.<init>(UpdateCertificates.java:65)
        at 
org.debian.security.UpdateCertificates.main(UpdateCertificates.java:51)
dpkg: error processing package ca-certificates-java (--configure):
 installed ca-certificates-java package post-installation script subprocess 
returned error exit status 1

It works fine if I install ca-certificates-java before attempting to
install openjdk-17-jre-headless.

I wonder if this bug is somehow related to #999377.

Cheers,
Mark


-- System Information:
Debian Release: 11.7
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.2.6-76060206-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
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+deb11u3
ii  openjdk-17-jre-headless [java8-runtime-headless]  17.0.7+7-1~deb11u1

ca-certificates-java recommends no packages.

ca-certificates-java suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 20230710

Now fixed.

--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to