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

Bug #1999838 reported by Victor Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ca-certificates-java (Ubuntu)
New
Undecided
Unassigned

Bug Description

Unpacking openjdk-19-jre-headless:amd64 (19.0.1+10-1ubuntu1~22.04) ...
Selecting previously unselected package ca-certificates-java.
Preparing to unpack .../ca-certificates-java_20190909_all.deb ...
Unpacking ca-certificates-java (20190909) ...
Setting up java-common (0.72build2) ...
Setting up ca-certificates-java (20190909) ...
head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or dir
ectory
/var/lib/dpkg/info/ca-certificates-java.postinst: line 101: java: command not fo
und
dpkg: error processing package ca-certificates-java (--configure):
 installed ca-certificates-java package post-installation script subprocess retu
rned error exit status 127
dpkg: dependency problems prevent configuration of openjdk-19-jre-headless:amd64
:
 openjdk-19-jre-headless:amd64 depends on ca-certificates-java (>= 20190405~); h
owever:
  Package ca-certificates-java is not configured yet.

dpkg: error processing package openjdk-19-jre-headless:amd64 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.10.2-1) ...
No apport report written because the error message indicates its a followup erro
r from a previous failure.
                          Processing triggers for ca-certificates (20211016ubunt
u0.22.04.1) ...
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.
Errors were encountered while processing:
 ca-certificates-java
 openjdk-19-jre-headless:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: ca-certificates-java 20190909
ProcVersionSignature: Ubuntu 5.15.0-56.62-generic 5.15.64
Uname: Linux 5.15.0-56-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
AptOrdering:
 java-common:amd64: Install
 openjdk-19-jre-headless:amd64: Install
 ca-certificates-java:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Dec 15 21:13:38 2022
ErrorMessage: installed ca-certificates-java package post-installation script subprocess returned error exit status 127
InstallationDate: Installed on 2022-12-15 (0 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
PackageArchitecture: all
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.8
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
Victor Rodriguez (vmrodriqu) wrote :
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.