← Back to team overview

openjdk team mailing list archive

[Bug 1750293] [NEW] Intallation error, cannot overwrite jawt_md.h in package openjdk-9-jdk-headless

 

Public bug reported:

Cannot install openjdk-9-jdk on Xenial because of error:

$ sudo apt install openjdk-9-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
  openjdk-9-jdk-headless
Suggested packages:
  openjdk-9-demo openjdk-9-source visualvm
The following NEW packages will be installed:
  openjdk-9-jdk openjdk-9-jdk-headless
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/345 kB of archives.
After this operation, 831 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package openjdk-9-jdk-headless:amd64.
(Reading database ... 393657 files and directories currently installed.)
Preparing to unpack .../openjdk-9-jdk-headless_9~b114-0ubuntu1_amd64.deb ...
Unpacking openjdk-9-jdk-headless:amd64 (9~b114-0ubuntu1) ...
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
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)

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

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

Title:
  Intallation error, cannot overwrite jawt_md.h in package openjdk-9
  -jdk-headless

Status in openjdk-9 package in Ubuntu:
  New

Bug description:
  Cannot install openjdk-9-jdk on Xenial because of error:

  $ sudo apt install openjdk-9-jdk
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Starting pkgProblemResolver with broken count: 0
  Starting 2 pkgProblemResolver with broken count: 0
  Done
  The following additional packages will be installed:
    openjdk-9-jdk-headless
  Suggested packages:
    openjdk-9-demo openjdk-9-source visualvm
  The following NEW packages will be installed:
    openjdk-9-jdk openjdk-9-jdk-headless
  0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
  Need to get 0 B/345 kB of archives.
  After this operation, 831 kB of additional disk space will be used.
  Do you want to continue? [Y/n]
  Selecting previously unselected package openjdk-9-jdk-headless:amd64.
  (Reading database ... 393657 files and directories currently installed.)
  Preparing to unpack .../openjdk-9-jdk-headless_9~b114-0ubuntu1_amd64.deb ...
  Unpacking openjdk-9-jdk-headless:amd64 (9~b114-0ubuntu1) ...
  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
  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)

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


Follow ups