← Back to team overview

openjdk team mailing list archive

[Bug 1960096] Re: package ca-certificates-java 20190909 failed to install/upgrade: installed ca-certificates-java package post-installation script subprocess returned error exit status 127

 

I have filed https://bugs.launchpad.net/ubuntu/+source/openjdk-18/+bug/1965987
under Openjdk-18 for Jammy but it's probably the same bug. 
Imo the ca-certificates-java is not 'bugged', it's not adapted to Java 18. If Ubuntu wants to distribute Java 18 before Debian is ready to do so, it should maintain the ca-certificates-java package.

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

Title:
  package ca-certificates-java 20190909 failed to install/upgrade:
  installed ca-certificates-java package post-installation script
  subprocess returned error exit status 127

Status in ca-certificates-java package in Ubuntu:
  New

Bug description:
  The bug appeared during the *clean* installation of openjdk-18-jdk.
  The package was installed using `apt install openjdk-18-jdk --no-
  install-recommends`. It's important to mention that no previous java
  has been installed, so no `java` executable existed on post-install.

  The cause of the problem is:

  Processing triggers of ca-certificates (20210119ubuntu1) …
  Updating certificates in /etc/ssl/certs...
  0 added, 0 removed; done.
  Running hooks in /etc/ca-certificates/update.d...

  /etc/ca-certificates/update.d/jks-keystore: 82: java: not found
  E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
  done.

  ProblemType: Package
  DistroRelease: Ubuntu 21.10
  Package: ca-certificates-java 20190909
  ProcVersionSignature: Ubuntu 5.13.0-28.31-generic 5.13.19
  Uname: Linux 5.13.0-28-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Sat Feb  5 08:45:11 2022
  ErrorMessage: installed ca-certificates-java package post-installation script subprocess returned error exit status 127
  InstallationDate: Installed on 2022-02-01 (3 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.9, Python 3.9.7, python3-minimal, 3.9.4-1build1
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.20.9ubuntu2
   apt  2.3.9
  SourcePackage: ca-certificates-java
  Title: package ca-certificates-java 20190909 failed to install/upgrade: installed ca-certificates-java package post-installation script subprocess returned error exit status 127
  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/1960096/+subscriptions



References