Installing OpenJDK9-jdk fails on fresh 16.04

Bug #1582834 reported by hasno
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openjdk-9 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Tried to install openjdk-9-jdk using apt-get on a fresh Ubuntu 16.04 64bits installation, but it gave me an error:

dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h', which is also in package openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1

This also happened to other users, see http://askubuntu.com/questions/769467/can-not-install-openjdk-9-jdk-because-it-tries-to-overwrite-file-aready-includ

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: openjdk-9-jdk (not installed)
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Tue May 17 19:39:18 2016
ErrorMessage: Versuch, »/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h« zu überschreiben, welches auch in Paket openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1 ist
InstallationDate: Installed on 2016-05-14 (3 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.10ubuntu1
SourcePackage: openjdk-9
Title: package openjdk-9-jdk (not installed) failed to install/upgrade: Versuch, »/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h« zu überschreiben, welches auch in Paket openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1 ist
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-9 (Ubuntu):
status: New → Confirmed
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.