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

Bug #1960096 reported by Alexey Morozov
54
This bug affects 12 people
Affects Status Importance Assigned to Milestone
ca-certificates-java (Ubuntu)
Invalid
Undecided
Unassigned

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)

Revision history for this message
Alexey Morozov (morozov-ml) wrote :
Revision history for this message
Patel (gp451ly) wrote :

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ca-certificates-java (Ubuntu):
status: New → Confirmed
Revision history for this message
Vladimir Petko (vpa1977) wrote :

21.10 EOL July, 2022

Changed in ca-certificates-java (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.