← Back to team overview

openjdk team mailing list archive

[Bug 1615119] Re: openjdk-9-jdk-headless and openjdk-9-jdk have conflicting files. When one is installed the other one cant be installed due it cant overwrite the other's files

 

*** This bug is a duplicate of bug 1550950 ***
    https://bugs.launchpad.net/bugs/1550950

Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug 1550950, so it is being marked as such. Please look at
the other bug report to see if there is any missing information that you
can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report. Feel free to continue to report any other bugs you may
find.

** This bug has been marked a duplicate of bug 1550950
   package openjdk-9-jdk 9~b102-1 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~b107-0ubuntu1

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

Title:
  openjdk-9-jdk-headless and openjdk-9-jdk have conflicting files. When
  one is installed the other one cant be installed due it cant overwrite
  the other's files

Status in openjdk-9 package in Ubuntu:
  New

Bug description:
  I tried to install
  openjdk-9-jdk
  This depends on
  openjdk-9-jdk-headless

  That causes openjdk-9-jdk-headless is installed first.
  The openjdk-9-jdk tries to overwrite a file which has already been installed by the headerless package.

  I guess this is just a dependency bug.
  Hope you can fix it soon as I need to install these packages to run Android Studio.

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: openjdk-9-jdk-headless 9~b114-0ubuntu1
  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
  AptOrdering:
   openjdk-9-jdk-headless: Install
   openjdk-9-jdk-headless: Configure
   openjdk-9-jdk: Configure
   NULL: ConfigurePending
  Architecture: amd64
  Date: Thu Aug 18 23:03:09 2016
  DpkgTerminalLog:
   Vorbereitung zum Entpacken von .../openjdk-9-jdk-headless_9~b114-0ubuntu1_amd64.deb ...
   Entpacken von openjdk-9-jdk-headless:amd64 (9~b114-0ubuntu1) ...
   dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/openjdk-9-jdk-headless_9~b114-0ubuntu1_amd64.deb (--unpack):
    Versuch, »/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h« zu überschreiben, welches auch in Paket openjdk-9-jdk:amd64 9~b114-0ubuntu1 ist
  ErrorMessage: Versuch, »/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h« zu überschreiben, welches auch in Paket openjdk-9-jdk:amd64 9~b114-0ubuntu1 ist
  InstallationDate: Installed on 2016-08-14 (4 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-headless 9~b114-0ubuntu1 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:amd64 9~b114-0ubuntu1 ist
  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/1615119/+subscriptions


References