← Back to team overview

openjdk team mailing list archive

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

 

Public bug reported:

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)

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


** Tags: amd64 apport-package jammy

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

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

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



Follow ups