Your message dated Wed, 14 Jun 2023 09:35:13 +0200
with message-id <1a82dce1-418c-afb9-85f3-df461bcdc...@klose.in-berlin.de>
and subject line Fixed in 20230613
has caused the Debian Bug report #1032464,
regarding ca-certificates-java post-install script requires bash
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1032464: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032464
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ca-certificates-java
Version: 20190909

ca-certificates-java has an undeclared dependency on bash which leads to
installation failure on systems without bash.

`openjdk-17-jre-headless` fails to install on minimal debian base, such as
gcr.io/gke-release/debian-base:bullseye-v1.4.2-gke.3, due to a failure in
`ca-certificates-java`'s post-install script:

```
# apt-get install --no-install-recommends -y openjdk-17-jre-headless
...
Setting up ca-certificates-java (20190909) ...
dpkg (subprocess): unable to execute installed ca-certificates-java package
post-installation script
(/var/lib/dpkg/info/ca-certificates-java.postinst): No such file or
directory
dpkg: error processing package ca-certificates-java (--configure):
 installed ca-certificates-java package post-installation script subprocess
returned error exit status 2
dpkg: dependency problems prevent configuration of
openjdk-17-jre-headless:amd64:
 openjdk-17-jre-headless:amd64 depends on ca-certificates-java (>=
20190405~); however:
  Package ca-certificates-java is not configured yet.
...
```

The root cause is that
/var/lib/dpkg/info/ca-certificates-java.postinst's shebang specifies
`#!/bin/bash`, but bash is not a declared dependency of the
ca-certificates-java package.

Either the ca-certificates-java package should have a dependency on bash,
or the scripts should be rewritten to not require bash.

Workaround: `apt-get install --no-install-recommends -y bash
openjdk-17-jre-headless`

--- End Message ---
--- Begin Message ---
Version: 20230613

--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to