package openjdk-9-jdk (not installed) failed to install/upgrade: 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 happens when I first log in from lightdm to xubuntu

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

Bug Description

Hi. You're my hero because you work for canonical.

Anyway I get this issue with openjdk9 when I first log in to xubuntu from lightdm. I had openjdk8 installed, switched to 9, then switched back and this has happened since.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: openjdk-9-jdk (not installed)
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
Uname: Linux 4.4.0-31-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Sun Jul 17 00:14:27 2016
ErrorMessage: 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
InstallationDate: Installed on 2016-05-24 (57 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1
 apt 1.2.10ubuntu1
SourcePackage: openjdk-9
Title: package openjdk-9-jdk (not installed) failed to install/upgrade: 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
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jon Woffenden (jwoffenden) wrote :
Revision history for this message
Jon Woffenden (jwoffenden) wrote :

I've been too lazy/busy to even attempt to look into this, so I wouldn't be surprised if it's something simple, stupid, and/or my fault. Feel free to close as ID10t error.

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
Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Until this bug is fixed, please uninstall OpenJDK 9 completely and keep using OpenJDK 8.

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.