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

Bug #1998065 reported by Daffa Pandu Dewanata
146
This bug affects 27 people
Affects Status Importance Assigned to Milestone
ca-certificates-java (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

It is impossible to install JRE 19 in Ubuntu 22.04 (jammy) from scratch.

A system with a pre-installed JRE (e.g. JRE 11) is not affected.

See https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1998065/comments/2

[Out of scope]

The package relies on keytool to convert PKCS12 keystore to JSK.
Attempt to install JRE on a machine with PKCS12 store fails both in Jammy and Kinetic, LP #1999103

[Test Plan]

On a clean system, execute `sudo apt install openjdk-19-jre-headless`

The installation should succeed.

`
$lxc launch images:ubuntu/jammy lp1998065 && lxc exec lp1998065 /bin/bash
#apt install openjdk-19-jre-headless
`

[ Where problems could occur ]

The patch changes the search path for the Java home. A regression may occur which can be tested
by trying to install all published java versions into a clean image
`
for version in 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ; do
        lxc launch images:ubuntu/jammy lp1998065
        lxc exec lp1998065 -- /bin/bash -c "echo deb http://archive.ubuntu.com/ubuntu/ jammy-proposed restricted main multiverse universe >> /etc/apt/sources.list"
 lxc exec lp1998065 -- apt-get update
        lxc exec lp1998065 -- apt-get -y install openjdk-${version}-jre-headless
        lxc stop lp1998065
        lxc delete lp1998065
done
`
The test log should not contain failed installation attempts such as:

`
/var/lib/dpkg/info/ca-certificates-java.postinst: line 101: java: command not found
dpkg: error processing package ca-certificates-java (--configure):
 installed ca-certificates-java package post-installation script subprocess returned 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~); however:
  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 libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for ca-certificates (20211016ubuntu0.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:
`

[Original Report]

I don't know what's going on, please fix the bug, developer, the problem is I can't enter Linux when I boot circular loading, once again asking for help fixing the bug, developer, thank you :)

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: ca-certificates-java 20190909
ProcVersionSignature: Ubuntu 5.15.0-53.59-generic 5.15.64
Uname: Linux 5.15.0-53-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: Tue Nov 22 18:19:09 2022
ErrorMessage: installed ca-certificates-java package post-installation script subprocess returned error exit status 127
InstallationDate: Installed on 2022-11-22 (5 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
Daffa Pandu Dewanata (daffapandu2304) wrote :
Revision history for this message
Vladimir Petko (vpa1977) wrote (last edit ):
Download full text (3.4 KiB)

Steps to reproduce:

```
sudo apt install openjdk-19-jre-headless

```

```
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libflashrom1 libftdi1-2
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  ca-certificates-java java-common
Suggested packages:
  default-jre fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho
  fonts-wqy-microhei | fonts-wqy-zenhei
The following NEW packages will be installed:
  ca-certificates-java java-common openjdk-19-jre-headless
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 50.4 MB of archives.
After this operation, 203 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://nz.archive.ubuntu.com/ubuntu jammy/main amd64 java-common all 0.72build2 [6,782 B]
Get:2 http://nz.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 openjdk-19-jre-headless amd64 19.0.1+10-1ubuntu1~22.04 [50.4 MB]
Get:3 http://nz.archive.ubuntu.com/ubuntu jammy/main amd64 ca-certificates-java all 20190909 [12.1 kB]
Fetched 50.4 MB in 2s (33.0 MB/s)
Selecting previously unselected package java-common.
(Reading database ... 196551 files and directories currently installed.)
Preparing to unpack .../java-common_0.72build2_all.deb ...
Unpacking java-common (0.72build2) ...
Selecting previously unselected package openjdk-19-jre-headless:amd64.
Preparing to unpack .../openjdk-19-jre-headless_19.0.1+10-1ubuntu1~22.04_amd64.d
eb ...
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 (20211016) ...
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-head...

Read more...

Revision history for this message
Vladimir Petko (vpa1977) wrote :

workaround

```
sudo apt install ca-certificates-java
```

this will bring in ca-certificates-java package and jre 11

then you can run

```
sudo apt install openjdk-19-jre-headless

```

which will bring jre 19 and make it default.

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 :

Bug cannot be reproduced with ca-certificates-java_20220719_all.deb (next package version) installed manually at the same time as JRE 19.

Vladimir Petko (vpa1977)
description: updated
Vladimir Petko (vpa1977)
description: updated
summary: - package ca-certificates-java 20190909 failed to install/upgrade:
- installed ca-certificates-java package post-installation script
- subprocess returned error exit status 127
+ JRE 19/Jammy: package ca-certificates-java 20190909 failed to
+ install/upgrade: installed ca-certificates-java package post-
+ installation script subprocess returned error exit status 127
Revision history for this message
Vladimir Petko (vpa1977) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Use setup_path() function from 20220719 version of the package" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Benjamin Drung (bdrung) wrote :

The logic in setup_path() from 20220719 looks good. Sponsored the SRU upload (after removing ~ppa3 from the version making it 20190909ubuntu1).

Changed in ca-certificates-java (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Daffa, or anyone else affected,

Accepted ca-certificates-java into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ca-certificates-java/20190909ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ca-certificates-java (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Vladimir Petko (vpa1977) wrote :
Download full text (8.9 KiB)

Installing in clean VM with proposed enabled:

# apt install openjdk-19-jre-headless
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libflashrom1 libftdi1-2
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  ca-certificates-java java-common
Suggested packages:
  default-jre fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho
  fonts-wqy-microhei | fonts-wqy-zenhei
The following NEW packages will be installed:
  ca-certificates-java java-common openjdk-19-jre-headless
0 upgraded, 3 newly installed, 0 to remove and 67 not upgraded.
Need to get 50.4 MB of archives.
After this operation, 203 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://nz.archive.ubuntu.com/ubuntu jammy/main amd64 java-common all 0.72build2 [6,782 B]
Get:2 http://nz.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 openjdk-19-jre-headless amd64 19.0.1+10-1ubuntu1~22.04 [50.4 MB]
Get:3 http://nz.archive.ubuntu.com/ubuntu jammy-proposed/main amd64 ca-certificates-java all 20190909ubuntu1 [12.0 kB]
Fetched 50.4 MB in 5s (9,983 kB/s)
Selecting previously unselected package java-common.
(Reading database ... 196559 files and directories currently installed.)
Preparing to unpack .../java-common_0.72build2_all.deb ...
Unpacking java-common (0.72build2) ...
Selecting previously unselected package openjdk-19-jre-headless:amd64.
Preparing to unpack .../openjdk-19-jre-headless_19.0.1+10-1ubuntu1~22.04_amd64.deb ...
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_20190909ubuntu1_all.deb ...
Unpacking ca-certificates-java (20190909ubuntu1) ...
Setting up java-common (0.72build2) ...
Setting up ca-certificates-java (20190909ubuntu1) ...
head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or directory
Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem
Adding debian:Comodo_AAA_Services_root.pem
Adding debian:DigiCert_Global_Root_G2.pem
Adding debian:Entrust_Root_Certification_Authority_-_G4.pem
Adding debian:Trustwave_Global_Certification_Authority.pem
Adding debian:emSign_ECC_Root_CA_-_C3.pem
Adding debian:Trustwave_Global_ECC_P256_Certification_Authority.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem
Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem
Adding debian:ssl-cert-snakeoil.pem
Adding debian:GTS_Root_R1.pem
Adding debian:GDCA_TrustAUTH_R5_ROOT.pem
Adding debian:GTS_Root_R2.pem
Adding debian:QuoVadis_Root_CA_2_G3.pem
Adding debian:CA_Disig_Root_R2.pem
Adding debian:DigiCert_Global_Root_G3.pem
Adding debian:SSL.com_Root_Certification_Authority_RSA.pem
Adding debian:QuoVadis_Root_CA_3_G3.pem
Adding debian:Hongkong_Post_Root_CA_1.pem
Adding debian:GlobalSign_Root_E46.pem
Adding debian:Amazon_Root_CA_2.pem
Adding debian:T-TeleSec_GlobalRoot_Class_3.pem
Adding debian:AffirmTrust_Premium.pem
Adding debian:Secure_Global_CA.pem
Adding debian:T-T...

Read more...

Revision history for this message
Vladimir Petko (vpa1977) wrote :
Download full text (10.6 KiB)

Recovering from broken install:

# apt install openjdk-19-jre-headless
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libflashrom1 libftdi1-2
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  ca-certificates-java java-common
Suggested packages:
  default-jre fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho
  fonts-wqy-microhei | fonts-wqy-zenhei
The following NEW packages will be installed:
  ca-certificates-java java-common openjdk-19-jre-headless
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 50.4 MB of archives.
After this operation, 203 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://nz.archive.ubuntu.com/ubuntu jammy/main amd64 java-common all 0.72build2 [6,782 B]
Get:2 http://nz.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 openjdk-19-jre-headless amd64 19.0.1+10-1ubuntu1~22.04 [50.4 MB]
Get:3 http://nz.archive.ubuntu.com/ubuntu jammy/main amd64 ca-certificates-java all 20190909 [12.1 kB]
Fetched 50.4 MB in 4s (11.7 MB/s)
Selecting previously unselected package java-common.
(Reading database ... 196551 files and directories currently installed.)
Preparing to unpack .../java-common_0.72build2_all.deb ...
Unpacking java-common (0.72build2) ...
Selecting previously unselected package openjdk-19-jre-headless:amd64.
Preparing to unpack .../openjdk-19-jre-headless_19.0.1+10-1ubuntu1~22.04_amd64.d
eb ...
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 (20211016) ...
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-...

Vladimir Petko (vpa1977)
description: updated
description: updated
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Updated test steps to add proposed pocket to the image for fix validation.

Running the script does not produce any ca-certificates-java install failures.

Vladimir Petko (vpa1977)
tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Robie Basak (racb) wrote :

Thank you for verifying this.

> Running the script does not produce any ca-certificates-java install failures.

Can I just confirm that you're referring to the script in the "Where problems could occur" section in the bug description please? It looks like this was intended to be part of the test plan, and I just want to be sure that you've tested this rather than just literally what's written under the "Test Plan" section.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hi Vladimir,

this is almost ready to go, if you could respond to comment #14 please :)

Revision history for this message
Vladimir Petko (vpa1977) wrote :

>Can I just confirm that you're referring to the script in the "Where problems could occur" section in the bug description please

Yes, I was referring to [Where the problems could occur] section.
I've assumed that it is actually a regression test plan, I apologise for the confusion.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

As noted in comment #11, all first installs have this error:

(...)
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.
Setting up openjdk-19-jre-headless:amd64 (19.0.1+10-1ubuntu1~22.04) ...
update-alternatives: using /usr/lib/jvm/java-19-openjdk-amd64/bin/java to provide /usr/bin/java (java) in auto mode
update-alternatives: using /usr/lib/jvm/java-19-openjdk-amd64/bin/jpackage to provide /usr/bin/jpackage (jpackage) in auto mode
update-alternatives: using /usr/lib/jvm/java-19-openjdk-amd64/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
update-alternatives: using /usr/lib/jvm/java-19-openjdk-amd64/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
update-alternatives: using /usr/lib/jvm/java-19-openjdk-amd64/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode

Shouldn't the jks-keystore hook (/etc/ca-certificates/update.d/jks-keystore) also be updated wrt the java version search? In the jammy package it only searches for version 7 through 11:

or jvm in java-7-openjdk-$arch java-7-openjdk \
           oracle-java7-jre-$arch oracle-java7-server-jre-$arch oracle-java7-jdk-$arch \
           java-8-openjdk-$arch java-8-openjdk \
           oracle-java8-jre-$arch oracle-java8-server-jre-$arch oracle-java8-jdk-$arch \
           java-9-openjdk-$arch java-9-openjdk \
           oracle-java9-jre-$arch oracle-java9-server-jre-$arch oracle-java9-jdk-$arch \
           java-10-openjdk-$arch java-10-openjdk \
           oracle-java10-jre-$arch oracle-java10-server-jre-$arch oracle-java10-jdk-$arch \
           java-11-openjdk-$arch java-11-openjdk \
           oracle-java11-jre-$arch oracle-java11-server-jre-$arch oracle-java11-jdk-$arch; do
    if [ -x /usr/lib/jvm/$jvm/bin/java ]; then
        export JAVA_HOME=/usr/lib/jvm/$jvm
        PATH=$JAVA_HOME/bin:$PATH
        break
    fi
done

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Marking verification-failed to patch `java not found` message on the first run of jks-keystore hook

tags: added: verification-failed-jammy
removed: verification-done verification-done-jammy
Revision history for this message
Vladimir Petko (vpa1977) wrote :
Download full text (9.1 KiB)

I have added a patch as per review comments to update jks-keystore hook.

Validated with ppa: ppa:vpa1977/ca-certificates-java-fix

Installation succeeds without following error in jks-keystore hook.

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

```
$ sudo apt install openjdk-19-jre-headless
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libflashrom1 libftdi1-2
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  ca-certificates-java java-common
Suggested packages:
  default-jre fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho
  fonts-wqy-microhei | fonts-wqy-zenhei
The following NEW packages will be installed:
  ca-certificates-java java-common openjdk-19-jre-headless
0 upgraded, 3 newly installed, 0 to remove and 69 not upgraded.
Need to get 50.4 MB of archives.
After this operation, 203 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://nz.archive.ubuntu.com/ubuntu jammy/main amd64 java-common all 0.72build2 [6,782 B]
Get:2 http://nz.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 openjdk-19-jre-headless amd64 19.0.1+10-1ubuntu1~22.04 [50.4 MB]
Get:3 https://ppa.launchpadcontent.net/vpa1977/ca-certificates-java-fix/ubuntu jammy/main amd64 ca-certificates-java all 20190909ubuntu1.1~ppa2 [15.8 kB]
Fetched 50.4 MB in 2s (21.9 MB/s)
Selecting previously unselected package java-common.
(Reading database ... 196551 files and directories currently installed.)
Preparing to unpack .../java-common_0.72build2_all.deb ...
Unpacking java-common (0.72build2) ...
Selecting previously unselected package openjdk-19-jre-headless:amd64.
Preparing to unpack .../openjdk-19-jre-headless_19.0.1+10-1ubuntu1~22.04_amd64.deb ...
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_20190909ubuntu1.1~ppa2_all.deb ...
Unpacking ca-certificates-java (20190909ubuntu1.1~ppa2) ...
Setting up java-common (0.72build2) ...
Setting up ca-certificates-java (20190909ubuntu1.1~ppa2) ...
head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or directory
Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem
Adding debian:Comodo_AAA_Services_root.pem
Adding debian:DigiCert_Global_Root_G2.pem
Adding debian:Entrust_Root_Certification_Authority_-_G4.pem
Adding debian:Trustwave_Global_Certification_Authority.pem
Adding debian:emSign_ECC_Root_CA_-_C3.pem
Adding debian:Trustwave_Global_ECC_P256_Certification_Authority.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem
Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem
Adding debian:ssl-cert-snakeoil.pem
Adding debian:GTS_Root_R1.pem
Adding debian:GDCA_TrustAUTH_R5_ROOT.pem
Adding debian:GTS_Root_R2.pem
Adding debian:QuoVadis_Root_CA_2_G3.pem
Adding debian:CA_Disig_Root_R2.pem
Add...

Read more...

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Sponsored:
Uploading ca-certificates-java_20190909ubuntu1.1.dsc
Uploading ca-certificates-java_20190909ubuntu1.1.tar.xz
Uploading ca-certificates-java_20190909ubuntu1.1_source.buildinfo
Uploading ca-certificates-java_20190909ubuntu1.1_source.changes

Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Daffa, or anyone else affected,

Accepted ca-certificates-java into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ca-certificates-java/20190909ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-jammy
removed: verification-failed-jammy
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Test: regression - install all available jre packages: no errors observed

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Test: install new version of package: passes

Revision history for this message
Vladimir Petko (vpa1977) wrote :
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Test: remove package: Passes

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Test: upgrade package with default jre (11) installed: passes

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Test: upgrade with JRE 19 (fixes install) : passes

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ca-certificates-java - 20190909ubuntu1.1

---------------
ca-certificates-java (20190909ubuntu1.1) jammy; urgency=medium

  * debian/jks-keystore.hook: Support locating Java 18-21 to avoid java
    not found message (LP: #1998065).

ca-certificates-java (20190909ubuntu1) jammy; urgency=medium

  * debian/postinst: Support locating Java 18-21. Use setup_path() from
    20220719. (Closes LP: #1998065)

 -- Vladimir Petko <email address hidden> Fri, 06 Jan 2023 10:48:27 +1300

Changed in ca-certificates-java (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for ca-certificates-java has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.