openjdk-20-jre: package ca-certificates-java 20220719 failed to install/upgrade: installed ca-certificates-java package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ca-certificates-java (Debian) |
Unknown
|
Unknown
|
|||
ca-certificates-java (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Error occurs upon trying to install openjdk-20-jre
~$ sudo apt install openjdk-20-jre
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
openjdk-20-jre is already the newest version (20~17ea-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up ca-certificates
Exception in thread "main" java.lang.
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
at org.debian.
at org.debian.
at org.debian.
dpkg: error processing package ca-certificates
installed ca-certificates
dpkg: dependency problems prevent configuration of openjdk-
openjdk-
Package ca-certificates
dpkg: error processing package openjdk-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-
openjdk-
Package openjdk-
dpkg: error processing package openjdk-
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
.
Errors were encountered while processing:
ca-certificate
openjdk-
openjdk-
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 22.10
Package: ca-certificates
ProcVersionSign
Uname: Linux 5.19.0-26-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
Date: Sun Dec 4 14:27:00 2022
ErrorMessage: installed ca-certificates
InstallationDate: Installed on 2022-11-30 (3 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
PackageArchitec
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.21.9ubuntu1
apt 2.5.3
SourcePackage: ca-certificates
Title: package ca-certificates
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- package ca-certificates-java 20220719 failed to install/upgrade: - installed ca-certificates-java package post-installation script - subprocess returned error exit status 1 + openjdk-20-jre: package ca-certificates-java 20220719 failed to + install/upgrade: installed ca-certificates-java package post- + installation script subprocess returned error exit status 1 |
tags: | added: fr-3220 |
This is caused by https:/ /github. com/openjdk/ jdk/commit/ 1f9ff413126fb68 e07b8fc1f36dd3c b17093a484
There is a change in behaviour: previously accessing java.security. Security did not require java.security properties file to be present, now (and maybe accidentally) JDK 20 requires it.
See https:/ /bugs.openjdk. org/browse/ JDK-8292297