package openjdk-9-jre-headless:amd64 9~b114-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1809244 reported by Rohit Kapoor
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-9 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Tried to install openjdk-9 in Ubuntu 16.04 but it returned exit status 1.
I believe this is due to improper packaging in the jdk-9 source.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: openjdk-9-jre-headless:amd64 9~b114-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-42.45~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-42-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Thu Dec 20 16:27:54 2018
DuplicateSignature:
 package:openjdk-9-jre-headless:amd64:9~b114-0ubuntu1
 Setting up openjdk-9-jre-headless:amd64 (9~b114-0ubuntu1) ...
 update-alternatives: error: alternative path /usr/lib/jvm/java-9-openjdk-amd64/bin/rmid doesn't exist
 dpkg: error processing package openjdk-9-jre-headless:amd64 (--configure):
  subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2018-05-31 (202 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.5
 apt 1.2.29
SourcePackage: openjdk-9
Title: package openjdk-9-jre-headless:amd64 9~b114-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rohit Kapoor (radioactive1) wrote :
tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.