Debian Bug report logs - #914860
openjdk-11-jre-headless: fails to install in stretch-backports: ca-certificates-java.postinst: line 56: java: command not found

version graph

Package: openjdk-11-jre-headless; Maintainer for openjdk-11-jre-headless is OpenJDK Team <[email protected]>; Source for openjdk-11-jre-headless is src:openjdk-11 (PTS, buildd, popcon).

Affects: openjdk-11-dbg, openjdk-11-jre, openjdk-11-jre-zero

Reported by: Andreas Beckmann <[email protected]>

Date: Wed, 28 Nov 2018 02:51:01 UTC

Severity: important

Found in versions openjdk-11/11.0.3+1-1, openjdk-11/11.0.3+1-1~bpo9+1, openjdk-11/11.0.1+13-2~bpo9+1, openjdk-11/11.0.4+11-1~bpo9+1

Fixed in version openjdk-11/11.0.4+2-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], OpenJDK Team <[email protected]>:
Bug#914860; Package openjdk-11-jre-headless. (Wed, 28 Nov 2018 02:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <[email protected]>:
New Bug report received and forwarded. Copy sent to OpenJDK Team <[email protected]>. (Wed, 28 Nov 2018 02:51:05 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Andreas Beckmann <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: openjdk-11-jre-headless: fails to install in stretch-backports: ca-certificates-java.postinst: line 56: java: command not found
Date: Wed, 28 Nov 2018 03:48:25 +0100
[Message part 1 (text/plain, inline)]
Package: openjdk-11-jre-headless
Version: 11.0.1+13-2~bpo9+1
Severity: important
User: [email protected]
Usertags: piuparts

Hi,

openjdk-11-jre-headless fails to install in a clean
stretch+stretch-backports environment. There was no previous jre from
stretch installed.

I'm assigning this to openjdk-11-jre-headless/stretch-backports even
though the failing package is ca-certificates-java/stretch, because
this only occurs in stretch-backports in the presence of the newer
package.

[...]
  Setting up ca-certificates-java (20170531+nmu1) ...
  /var/lib/dpkg/info/ca-certificates-java.postinst: line 56: java: command not found
  dpkg: error processing package ca-certificates-java (--configure):
   subprocess installed post-installation script returned error exit status 127
  dpkg: dependency problems prevent configuration of openjdk-11-jre-headless:amd64:
   openjdk-11-jre-headless:amd64 depends on ca-certificates-java; however:
    Package ca-certificates-java is not configured yet.
  
  dpkg: error processing package openjdk-11-jre-headless:amd64 (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of piuparts-depends-dummy:
   piuparts-depends-dummy depends on ca-certificates-java; however:
    Package ca-certificates-java is not configured yet.
  
  dpkg: error processing package piuparts-depends-dummy (--configure):
   dependency problems - leaving unconfigured
  Processing triggers for libc-bin (2.24-11+deb9u3) ...
  Processing triggers for ca-certificates (20161130+nmu1+deb9u1) ...
  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: 86: /etc/ca-certificates/update.d/jks-keystore: 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-11-jre-headless:amd64
   piuparts-depends-dummy


Does this require a newer version of ca-certificates-java (needs to
be backported) and a corresponding versioned dependency to work properly?

piuparts did not encounter any problems in either plain stretch or sid.


Andreas
[openjdk-11-jre-headless_11.0.1+13-2~bpo9+1.log.gz (application/gzip, attachment)]

Information forwarded to [email protected], OpenJDK Team <[email protected]>:
Bug#914860; Package openjdk-11-jre-headless. (Sat, 04 May 2019 08:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <[email protected]>:
Extra info received and forwarded to list. Copy sent to OpenJDK Team <[email protected]>. (Sat, 04 May 2019 08:18:03 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Andreas Beckmann <[email protected]>
To: [email protected]
Subject: Re: openjdk-11-jre-headless: fails to install in stretch-backports: ca-certificates-java.postinst: line 56: java: command not found
Date: Sat, 4 May 2019 10:14:00 +0200
Control: found -1 11.0.3+1-1~bpo9+1
Control: affects -1 + openjdk-11-jre openjdk-11-dbg openjdk-11-jre-zero

On Wed, 28 Nov 2018 03:48:25 +0100 Andreas Beckmann <[email protected]> wrote:
> Does this require a newer version of ca-certificates-java (needs to
> be backported) and a corresponding versioned dependency to work properly?

which seems to be ca-certificates-java (>= 20180413)

ca-certificates-java (20180413) unstable; urgency=medium
...
  * Look for Java 10 and Java 11 when detecting the JRE

Please also fix this for sid/buster to prevent partial upgrade paths
that are not working.


Andreas



Marked as found in versions openjdk-11/11.0.3+1-1~bpo9+1. Request was from Andreas Beckmann <[email protected]> to [email protected]. (Sat, 04 May 2019 08:18:03 GMT) (full text, mbox, link).


Added indication that 914860 affects openjdk-11-jre, openjdk-11-dbg, and openjdk-11-jre-zero Request was from Andreas Beckmann <[email protected]> to [email protected]. (Sat, 04 May 2019 08:18:04 GMT) (full text, mbox, link).


Marked as found in versions openjdk-11/11.0.3+1-1. Request was from Andreas Beckmann <[email protected]> to [email protected]. (Sun, 12 May 2019 23:45:03 GMT) (full text, mbox, link).


Reply sent to Matthias Klose <[email protected]>:
You have taken responsibility. (Tue, 14 May 2019 16:39:03 GMT) (full text, mbox, link).


Notification sent to Andreas Beckmann <[email protected]>:
Bug acknowledged by developer. (Tue, 14 May 2019 16:39:03 GMT) (full text, mbox, link).


Message #21 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: Bug#914860: fixed in openjdk-11 11.0.4+2-1
Date: Tue, 14 May 2019 16:37:56 +0000
Source: openjdk-11
Source-Version: 11.0.4+2-1

We believe that the bug you reported is fixed in the latest version of
openjdk-11, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated openjdk-11 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 14 May 2019 17:42:59 +0200
Source: openjdk-11
Architecture: source
Version: 11.0.4+2-1
Distribution: unstable
Urgency: medium
Maintainer: OpenJDK Team <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Closes: 914860 928369
Changes:
 openjdk-11 (11.0.4+2-1) unstable; urgency=medium
 .
   * OpenJDK 11.0.4+2 build.
   * Fix src.zip symlink. Closes: #928369.
   * Tighten dependency on ca-certificates-java. Closes: #914860.
   * Refresh patches.
Checksums-Sha1:
 d4cce3037789e5af600180a61bcb7ad5ed66bae3 4692 openjdk-11_11.0.4+2-1.dsc
 d5cc2490324daaa4ccf583bae8f714cc68057c08 75356352 openjdk-11_11.0.4+2.orig.tar.xz
 b68becaea82401ed584c9e6666a48c0363d122c4 168492 openjdk-11_11.0.4+2-1.debian.tar.xz
 8a473ce2a1750b535bcea57d15f7911ea214f678 17684 openjdk-11_11.0.4+2-1_source.buildinfo
Checksums-Sha256:
 06a2b09a9d9d441d393820f87445434b8a2f66f25200cbacb57d69ca3ac0ba0c 4692 openjdk-11_11.0.4+2-1.dsc
 4957b349174df485ed149121b2731d611677d8ad5d753c847e0706a6d41d945c 75356352 openjdk-11_11.0.4+2.orig.tar.xz
 3ddbc6226b53601a5f9a74b70c61e95b096327ab2d657e8bd7241683c7893922 168492 openjdk-11_11.0.4+2-1.debian.tar.xz
 b507ad5a32dc151bf5aff1a013179228981dfcfe16d2f4a484cf7b732db44ee3 17684 openjdk-11_11.0.4+2-1_source.buildinfo
Files:
 f03ce1664781852031b68bc71dc10456 4692 java optional openjdk-11_11.0.4+2-1.dsc
 50e217b2abf338004d2adb180320f61e 75356352 java optional openjdk-11_11.0.4+2.orig.tar.xz
 deca48bf7e447a38106ff358fe6c7132 168492 java optional openjdk-11_11.0.4+2-1.debian.tar.xz
 ece8b005488bea6b6e2e09a5503a7e08 17684 java optional openjdk-11_11.0.4+2-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlza6F0QHGRva29AdWJ1
bnR1LmNvbQAKCRC9fqpgd4+m9TH0D/sHqhYn6X/dX3rhMUOuBByeyPlpiFnK08p1
PRdnkcIHHZGfaRWYwOu6oIVBWxfrnF2X5erKUClO66YOqYxR64WP14ogG5YMaSCn
7eK2iDPat51KofoMf2mmuBnPEIcoPZRhRLOH7qS+lEVTgvIcduW6CRai+7LWefzp
P3ivsfp3nYNlOiCeYbCsBq7U1QLrgrVz+ntexjQsHEE/6pLEfKK8SMfzU8JB6EOw
iJZqxiFsNoajmkN3h9yU5zXU3G0UIR3/U4kh3bpEFm+eB2Rb4sJuR4Mgxjc4ETo7
5J2/yNLsFFbLkzoTHRY+KSzXxYsyTlyLZjVToI2hWY9vf4a0PwsBEurw/fozX+Fs
2AtjkKnWM/yVeQkpFXieCdrDdhtqG8sb5mFgHEeERm4pUeLB8OL5eSVrziIUefN+
H4teMeHk4ZAPLwm5cVehNeyDp3y+ZSnbWF+1cUFuxeZwmK8HRTwNSg/nN7ieCGzu
vNtmNqYZXjeKqJaxBJo1XkjoSxXpBU7/YYzzhVna7WPZEfde42PF/5m5IYyenDXT
dM8fUHTkyqoLFNBUmNr4lVc1soYjiiKHt+ilmHQl2btW5gIE5Enc2RnwgtQpgJqf
eKaxKkNQg9KdsBmjLAYYl1/Due2c7koxWp0v1Ja7STUeUkAXdVSoDp3kMQWu1m0W
iGWWXp4cXw==
=2iMg
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <[email protected]> to [email protected]. (Tue, 25 Jun 2019 07:29:19 GMT) (full text, mbox, link).


Bug unarchived. Request was from Andreas Beckmann <[email protected]> to [email protected]. (Sun, 25 Aug 2019 20:42:03 GMT) (full text, mbox, link).


Marked as found in versions openjdk-11/11.0.4+11-1~bpo9+1 and reopened. Request was from Andreas Beckmann <[email protected]> to [email protected]. (Sun, 25 Aug 2019 20:42:04 GMT) (full text, mbox, link).


Information forwarded to [email protected], OpenJDK Team <[email protected]>:
Bug#914860; Package openjdk-11-jre-headless. (Sun, 25 Aug 2019 20:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <[email protected]>:
Extra info received and forwarded to list. Copy sent to OpenJDK Team <[email protected]>. (Sun, 25 Aug 2019 20:51:03 GMT) (full text, mbox, link).


Message #32 received at [email protected] (full text, mbox, reply):

From: Andreas Beckmann <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: openjdk-11-jre-headless: fails to install in stretch-backports: ca-certificates-java.postinst: line 56: java: command not found
Date: Sun, 25 Aug 2019 22:46:30 +0200
Followup-For: Bug #914860

The versioned ca-certificates-java dependency was dropped in the most
recent stretch-backports upload, rendering the package uninstallable in
stretch-backports. Please reinstate it and upload a backport of the
required ca-certificates-java, too.


Andreas



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:20:54 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.