← Back to team overview

openjdk team mailing list archive

Bug#901674: postinst: line 112: /usr/lib/jvm/java-11-openjdk-amd64/bin/java: No such file or directory

 

On Sun, 17 Jun 2018 00:05:03 +0800 Dan Jacobson <jidanni@xxxxxxxxxxx> wrote:
> Setting up openjdk-11-jre-headless:amd64 (11~18-1) ...
> /var/lib/dpkg/info/openjdk-11-jre-headless:amd64.postinst: line 112: /usr/lib/jvm/java-11-openjdk-amd64/bin/java: No such file or directory
> ignoring dump failure

Looks like the "java" binary got somehow installed in
"openjdk-11-jdk-headless" instead of "openjdk-11-jre-headless" for
src:openjdk-11:

| $ dpkg -L openjdk-11-jdk-headless | grep -E '/java$'
| /usr/lib/jvm/java-11-openjdk-amd64/bin/java

(Although looking at the diff of "debian/" from the latest
src:openjdk-10 to src:openjdk-11, I can't figure out where the issue
is, so I think there's something subtle going on.)

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4


References