← Back to team overview

openjdk team mailing list archive

[Bug 1579791] [NEW] 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

 

Public bug reported:

sudo apt-get install openjdk-9-jdk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  openjdk-9-demo openjdk-9-source visualvm
The following NEW packages will be installed:
  openjdk-9-jdk
0 upgraded, 1 newly installed, 0 to remove and 48 not upgraded.
Need to get 0 B/16,6 kB of archives.
After this operation, 58,4 kB of additional disk space will be used.
(Reading database ... 180458 files and directories currently installed.)
Preparing to unpack .../openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb ...
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
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-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Mon May  9 10:34:30 2016
DuplicateSignature:
 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-05-06 (2 days ago)
InstallationMedia: Ubuntu 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)

** Affects: openjdk-9 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package package-conflict xenial

-- 
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/1579791

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:
  sudo apt-get install openjdk-9-jdk
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Suggested packages:
    openjdk-9-demo openjdk-9-source visualvm
  The following NEW packages will be installed:
    openjdk-9-jdk
  0 upgraded, 1 newly installed, 0 to remove and 48 not upgraded.
  Need to get 0 B/16,6 kB of archives.
  After this operation, 58,4 kB of additional disk space will be used.
  (Reading database ... 180458 files and directories currently installed.)
  Preparing to unpack .../openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb ...
  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
  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-21.37-generic 4.4.6
  Uname: Linux 4.4.0-21-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  Date: Mon May  9 10:34:30 2016
  DuplicateSignature:
   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-05-06 (2 days ago)
  InstallationMedia: Ubuntu 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)

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


Follow ups