2022-11-28 02:56:05 |
Daffa Pandu Dewanata |
bug |
|
|
added bug |
2022-12-06 02:21:25 |
Launchpad Janitor |
ca-certificates-java (Ubuntu): status |
New |
Confirmed |
|
2022-12-08 03:38:40 |
Vladimir Petko |
description |
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) |
[Impact]
It is impossible to install JDK 19 in Ubuntu 22.04 (jammy) from scratch.
A system with a pre-installed JDK (e.g. JDK 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 JDK on 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 -- 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) |
|
2022-12-08 04:15:47 |
Vladimir Petko |
description |
[Impact]
It is impossible to install JDK 19 in Ubuntu 22.04 (jammy) from scratch.
A system with a pre-installed JDK (e.g. JDK 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 JDK on 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 -- 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) |
[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 -- 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) |
|
2022-12-08 04:16:05 |
Vladimir Petko |
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 |
|
2022-12-09 04:21:06 |
Vladimir Petko |
attachment added |
|
Use setup_path() function from 20220719 version of the package https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1998065/+attachment/5635215/+files/lp1998065-setup-path.debdiff |
|
2022-12-09 04:21:08 |
Vladimir Petko |
attachment added |
|
Use setup_path() function from 20220719 version of the package https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1998065/+attachment/5635216/+files/lp1998065-setup-path.debdiff |
|
2022-12-09 04:25:18 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-package jammy |
amd64 apport-package jammy patch |
|
2022-12-09 04:25:22 |
Vladimir Petko |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2022-12-09 14:16:19 |
Benjamin Drung |
nominated for series |
|
Ubuntu Jammy |
|
2022-12-09 14:16:19 |
Benjamin Drung |
bug task added |
|
ca-certificates-java (Ubuntu Jammy) |
|
2022-12-09 14:21:04 |
Benjamin Drung |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2022-12-09 14:21:08 |
Benjamin Drung |
ca-certificates-java (Ubuntu): status |
Confirmed |
Fix Released |
|
2022-12-13 22:12:11 |
Brian Murray |
ca-certificates-java (Ubuntu Jammy): status |
New |
Fix Committed |
|
2022-12-13 22:12:12 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2022-12-13 22:12:14 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2022-12-13 22:12:17 |
Brian Murray |
tags |
amd64 apport-package jammy patch |
amd64 apport-package jammy patch verification-needed verification-needed-jammy |
|
2022-12-14 20:05:36 |
Vladimir Petko |
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 -- 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) |
[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) |
|
2022-12-14 20:08:09 |
Vladimir Petko |
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) |
[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) |
|
2022-12-15 22:57:42 |
Vladimir Petko |
tags |
amd64 apport-package jammy patch verification-needed verification-needed-jammy |
amd64 apport-package jammy patch verification-done verification-done-jammy |
|
2023-01-05 21:35:20 |
Vladimir Petko |
tags |
amd64 apport-package jammy patch verification-done verification-done-jammy |
amd64 apport-package jammy patch verification-failed-jammy |
|
2023-01-06 00:42:07 |
Vladimir Petko |
attachment added |
|
lp1998065-jks-keystore.debdiff https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1998065/+attachment/5639454/+files/lp1998065-jks-keystore.debdiff |
|
2023-01-09 11:53:12 |
Philipp Wendler |
bug |
|
|
added subscriber Philipp Wendler |
2023-01-10 21:43:46 |
Brian Murray |
tags |
amd64 apport-package jammy patch verification-failed-jammy |
amd64 apport-package jammy patch verification-needed verification-needed-jammy |
|
2023-01-11 01:04:11 |
Vladimir Petko |
attachment added |
|
install-all-jres.txt https://bugs.launchpad.net/ubuntu/jammy/+source/ca-certificates-java/+bug/1998065/+attachment/5640554/+files/install-all-jres.txt |
|
2023-01-11 01:05:12 |
Vladimir Petko |
attachment added |
|
install-ca-certificates.txt https://bugs.launchpad.net/ubuntu/jammy/+source/ca-certificates-java/+bug/1998065/+attachment/5640555/+files/install-ca-certificates.txt |
|
2023-01-11 01:05:14 |
Vladimir Petko |
attachment added |
|
install-ca-certificates.txt https://bugs.launchpad.net/ubuntu/jammy/+source/ca-certificates-java/+bug/1998065/+attachment/5640556/+files/install-ca-certificates.txt |
|
2023-01-11 01:06:58 |
Vladimir Petko |
attachment added |
|
remove-ca-certificates.txt https://bugs.launchpad.net/ubuntu/jammy/+source/ca-certificates-java/+bug/1998065/+attachment/5640557/+files/remove-ca-certificates.txt |
|
2023-01-11 01:07:35 |
Vladimir Petko |
attachment added |
|
upgrade-default-jre11.txt https://bugs.launchpad.net/ubuntu/jammy/+source/ca-certificates-java/+bug/1998065/+attachment/5640558/+files/upgrade-default-jre11.txt |
|
2023-01-11 01:08:09 |
Vladimir Petko |
attachment added |
|
upgrade-with-jre19.txt https://bugs.launchpad.net/ubuntu/jammy/+source/ca-certificates-java/+bug/1998065/+attachment/5640559/+files/upgrade-with-jre19.txt |
|
2023-01-11 01:08:37 |
Vladimir Petko |
tags |
amd64 apport-package jammy patch verification-needed verification-needed-jammy |
amd64 apport-package jammy patch verification-done verification-done-jammy |
|
2023-01-12 05:04:42 |
Vladimir Petko |
bug |
|
|
added subscriber Vladimir Petko |
2023-01-19 18:03:44 |
Launchpad Janitor |
ca-certificates-java (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2023-01-19 18:03:48 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|