openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #14565
[Bug 2003822] Re: package ca-certificates-java 20220719 failed to install/upgrade: installed ca-certificates-java package post-installation script subprocess returned error exit status 1
Issue seems to exist if only JDK > 11 is used (i.e. JDK17 or JDK20). If
JDK11 is installed ca-certificates-java succeeds
$ docker run -it --rm ubuntu:22.10
root@3427ff791ec5:/# apt update && apt install -y openjdk-17-jdk-headless
...
Setting up ca-certificates-java (20220719) ...
Exception in thread "main" java.lang.InternalError: Error loading java.security file
...
dpkg: error processing package ca-certificates-java (--configure):
installed ca-certificates-java package post-installation script subprocess returned error exit status 1
Workaround:
apt update && apt install -y openjdk-11-jre-headless ca-certificates-java && apt remove -y openjdk-11-jre-headless && apt install -y openjdk-17-jdk-headless
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to ca-certificates-java in Ubuntu.
https://bugs.launchpad.net/bugs/2003822
Title:
package ca-certificates-java 20220719 failed to install/upgrade:
installed ca-certificates-java package post-installation script
subprocess returned error exit status 1
Status in ca-certificates-java package in Ubuntu:
Confirmed
Bug description:
installing jdk20
ProblemType: Package
DistroRelease: Ubuntu 22.10
Package: ca-certificates-java 20220719
ProcVersionSignature: Ubuntu 5.19.0-31.32-generic 5.19.17
Uname: Linux 5.19.0-31-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
Date: Tue Jan 24 17:11:14 2023
ErrorMessage: installed ca-certificates-java package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2023-01-20 (4 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
PackageArchitecture: all
Python3Details: /usr/bin/python3.10, Python 3.10.7, python3-minimal, 3.10.6-1
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.21.9ubuntu1
apt 2.5.3ubuntu0.1
SourcePackage: ca-certificates-java
Title: package ca-certificates-java 20220719 failed to install/upgrade: installed ca-certificates-java package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/2003822/+subscriptions
References