← Back to team overview

openjdk team mailing list archive

[Bug 1615877] Re: 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

 

Installing openjdk v 8 worked fine.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-9 in Ubuntu.
https://bugs.launchpad.net/bugs/1615877

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

Status in openjdk-9 package in Ubuntu:
  New

Bug description:
  Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ...
  Processing triggers for gconf2 (3.2.6-3ubuntu6) ...
  Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
  Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
  Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160701-0ubuntu1) ...
  Rebuilding /usr/share/applications/bamf-2.index...
  Processing triggers for mime-support (3.59ubuntu1) ...
  Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: openjdk-9-jdk (not installed)
  ProcVersionSignature: Ubuntu 4.4.0-34.53-generic 4.4.15
  Uname: Linux 4.4.0-34-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  Date: Mon Aug 22 10:59:42 2016
  DuplicateSignature:
   package:openjdk-9-jdk:(not installed)
   Unpacking openjdk-9-jdk:amd64 (9~b114-0ubuntu1) ...
   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
  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-08-19 (3 days ago)
  InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.1
   apt  1.2.12~ubuntu16.04.1
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-9/+bug/1615877/+subscriptions


References