← Back to team overview

openjdk team mailing list archive

[Bug 2012191] 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/2012191

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:
  just normal 'sudo apt update' command

  ProblemType: Package
  DistroRelease: Ubuntu 22.10
  Package: ca-certificates-java 20220719
  ProcVersionSignature: Ubuntu 5.19.0-35.36-generic 5.19.17
  Uname: Linux 5.19.0-35-generic x86_64
  ApportVersion: 2.23.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Sun Mar 19 14:10:05 2023
  ErrorMessage: installed ca-certificates-java package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2022-10-19 (150 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
  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.3
  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: Upgraded to kinetic on 2023-01-02 (75 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/2012191/+subscriptions



References