← Back to team overview

openjdk team mailing list archive

[Bug 1998697] [NEW] package ca-certificates-java 20220719 failed to install/upgrade: installed ca-certificates-java package post-installation script subprocess returned error exit status 1

 

Public bug reported:

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-java (20220719) ...
Exception in thread "main" java.lang.InternalError: Error loading java.security file
	at java.base/java.security.Security.initialize(Security.java:93)
	at java.base/java.security.Security.lambda$static$0(Security.java:79)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
	at java.base/java.security.Security.<clinit>(Security.java:78)
	at java.base/sun.security.jca.ProviderList.<init>(ProviderList.java:179)
	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:319)
	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
dpkg: dependency problems prevent configuration of openjdk-20-jre-headless:amd64:
 openjdk-20-jre-headless:amd64 depends on ca-certificates-java (>= 20190405~); however:
  Package ca-certificates-java is not configured yet.

dpkg: error processing package openjdk-20-jre-headless:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-20-jre:amd64:
 openjdk-20-jre:amd64 depends on openjdk-20-jre-headless (= 20~17ea-2); however:
  Package openjdk-20-jre-headless:amd64 is not configured yet.

dpkg: error processing package openjdk-20-jre:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure
.
 Errors were encountered while processing:
 ca-certificates-java
 openjdk-20-jre-headless:amd64
 openjdk-20-jre:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 22.10
Package: ca-certificates-java 20220719
ProcVersionSignature: Ubuntu 5.19.0-26.27-generic 5.19.7
Uname: Linux 5.19.0-26-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sun Dec  4 14:27:00 2022
ErrorMessage: installed ca-certificates-java package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-11-30 (3 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
RebootRequiredPkgs: Error: path contained symlinks.
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: No upgrade log present (probably fresh install)

** Affects: ca-certificates-java (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package kinetic

-- 
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/1998697

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:
  New

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-java (20220719) ...
  Exception in thread "main" java.lang.InternalError: Error loading java.security file
  	at java.base/java.security.Security.initialize(Security.java:93)
  	at java.base/java.security.Security.lambda$static$0(Security.java:79)
  	at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
  	at java.base/java.security.Security.<clinit>(Security.java:78)
  	at java.base/sun.security.jca.ProviderList.<init>(ProviderList.java:179)
  	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:319)
  	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
  dpkg: dependency problems prevent configuration of openjdk-20-jre-headless:amd64:
   openjdk-20-jre-headless:amd64 depends on ca-certificates-java (>= 20190405~); however:
    Package ca-certificates-java is not configured yet.

  dpkg: error processing package openjdk-20-jre-headless:amd64 (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of openjdk-20-jre:amd64:
   openjdk-20-jre:amd64 depends on openjdk-20-jre-headless (= 20~17ea-2); however:
    Package openjdk-20-jre-headless:amd64 is not configured yet.

  dpkg: error processing package openjdk-20-jre:amd64 (--configure):
   dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                            No apport report written because the error message indicates its a followup error from a previous failure
  .
   Errors were encountered while processing:
   ca-certificates-java
   openjdk-20-jre-headless:amd64
   openjdk-20-jre:amd64
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 22.10
  Package: ca-certificates-java 20220719
  ProcVersionSignature: Ubuntu 5.19.0-26.27-generic 5.19.7
  Uname: Linux 5.19.0-26-generic x86_64
  ApportVersion: 2.23.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Sun Dec  4 14:27:00 2022
  ErrorMessage: installed ca-certificates-java package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2022-11-30 (3 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
  RebootRequiredPkgs: Error: path contained symlinks.
  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: 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/1998697/+subscriptions



Follow ups