Me too, please fix this package!

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

Title:
  package openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

Status in openjdk-9 package in Ubuntu:
  Confirmed

Bug description:
  Android-studio is trying to install dependencies and this package
  keeps returning an error

   sudo apt-get install android-studio -y
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following additional packages will be installed:
    ca-certificates-java fonts-dejavu-extra java-common libatk-wrapper-java 
libatk-wrapper-java-jni libice-dev libpthread-stubs0-dev
    libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev 
libxt-dev openjdk-9-jdk openjdk-9-jdk-headless openjdk-9-jre
    openjdk-9-jre-headless x11proto-core-dev x11proto-input-dev x11proto-kb-dev 
xorg-sgml-doctools xtrans-dev
  Suggested packages:
    default-jre libice-doc libsm-doc libxcb-doc libxt-doc openjdk-9-demo 
openjdk-9-source visualvm icedtea-8-plugin
    fonts-ipafont-gothic fonts-ipafont-mincho fonts-indic
  The following NEW packages will be installed:
    android-studio ca-certificates-java fonts-dejavu-extra java-common 
libatk-wrapper-java libatk-wrapper-java-jni libice-dev
    libpthread-stubs0-dev libsm-dev libx11-dev libx11-doc libxau-dev 
libxcb1-dev libxdmcp-dev libxt-dev openjdk-9-jdk
    openjdk-9-jdk-headless openjdk-9-jre openjdk-9-jre-headless 
x11proto-core-dev x11proto-input-dev x11proto-kb-dev
    xorg-sgml-doctools xtrans-dev
  0 upgraded, 24 newly installed, 0 to remove and 19 not upgraded.
  Need to get 183 MB/189 MB of archives.
  After this operation, 333 MB of additional disk space will be used.
  Get:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 
openjdk-9-jre-headless amd64 9~b114-0ubuntu1 [183 MB]
  Get:2 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 openjdk-9-jre 
amd64 9~b114-0ubuntu1 [51.5 kB]                       
  Get:3 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 
openjdk-9-jdk-headless amd64 9~b114-0ubuntu1 [328 kB]               
  Fetched 183 MB in 2min 9s (1,413 kB/s)                                        
                                                      
  Selecting previously unselected package ca-certificates-java.
  (Reading database ... 243026 files and directories currently installed.)
  Preparing to unpack .../ca-certificates-java_20160321_all.deb ...
  Unpacking ca-certificates-java (20160321) ...
  Selecting previously unselected package java-common.
  Preparing to unpack .../java-common_0.56ubuntu2_all.deb ...
  Unpacking java-common (0.56ubuntu2) ...
  Selecting previously unselected package openjdk-9-jre-headless:amd64.
  Preparing to unpack .../openjdk-9-jre-headless_9~b114-0ubuntu1_amd64.deb ...
  Unpacking openjdk-9-jre-headless:amd64 (9~b114-0ubuntu1) ...
  Selecting previously unselected package libatk-wrapper-java.
  Preparing to unpack .../libatk-wrapper-java_0.33.3-6_all.deb ...
  Unpacking libatk-wrapper-java (0.33.3-6) ...
  Selecting previously unselected package libatk-wrapper-java-jni:amd64.
  Preparing to unpack .../libatk-wrapper-java-jni_0.33.3-6_amd64.deb ...
  Unpacking libatk-wrapper-java-jni:amd64 (0.33.3-6) ...
  Selecting previously unselected package openjdk-9-jre:amd64.
  Preparing to unpack .../openjdk-9-jre_9~b114-0ubuntu1_amd64.deb ...
  Unpacking openjdk-9-jre:amd64 (9~b114-0ubuntu1) ...
  Selecting previously unselected package openjdk-9-jdk-headless:amd64.
  Preparing to unpack .../openjdk-9-jdk-headless_9~b114-0ubuntu1_amd64.deb ...
  Unpacking openjdk-9-jdk-headless:amd64 (9~b114-0ubuntu1) ...
  Selecting previously unselected package openjdk-9-jdk:amd64.
  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
  Selecting previously unselected package android-studio.
  Preparing to unpack .../android-studio_5.2.1-ubuntu0_all.deb ...
  --2016-12-28 12:59:35--  
https://dl.google.com/dl/android/studio/ide-zips/2.1.0.9/android-studio-ide-143.2790544-linux.zip
  Resolving dl.google.com (dl.google.com)... 216.58.192.174, 
2607:f8b0:4009:809::200e
  Connecting to dl.google.com (dl.google.com)|216.58.192.174|:443... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 298122012 (284M) [application/zip]
  Saving to: ‘android-studio-ide-143.2790544-linux.zip.1’

  android-studio-ide-143.2790544-li
  100%[==========================================================>]
  284.31M  2.37MB/s    in 81s

  2016-12-28 13:00:57 (3.50 MB/s) - ‘android-studio-
  ide-143.2790544-linux.zip.1’ saved [298122012/298122012]

  Unpacking android-studio (5.2.1-ubuntu0) ...
  Selecting previously unselected package fonts-dejavu-extra.
  Preparing to unpack .../fonts-dejavu-extra_2.35-1_all.deb ...
  Unpacking fonts-dejavu-extra (2.35-1) ...
  Selecting previously unselected package xorg-sgml-doctools.
  Preparing to unpack .../xorg-sgml-doctools_1%3a1.11-1_all.deb ...
  Unpacking xorg-sgml-doctools (1:1.11-1) ...
  Selecting previously unselected package x11proto-core-dev.
  Preparing to unpack .../x11proto-core-dev_7.0.28-2ubuntu1_all.deb ...
  Unpacking x11proto-core-dev (7.0.28-2ubuntu1) ...
  Selecting previously unselected package libice-dev:amd64.
  Preparing to unpack .../libice-dev_2%3a1.0.9-1_amd64.deb ...
  Unpacking libice-dev:amd64 (2:1.0.9-1) ...
  Selecting previously unselected package libpthread-stubs0-dev:amd64.
  Preparing to unpack .../libpthread-stubs0-dev_0.3-4_amd64.deb ...
  Unpacking libpthread-stubs0-dev:amd64 (0.3-4) ...
  Selecting previously unselected package libsm-dev:amd64.
  Preparing to unpack .../libsm-dev_2%3a1.2.2-1_amd64.deb ...
  Unpacking libsm-dev:amd64 (2:1.2.2-1) ...
  Selecting previously unselected package libxau-dev:amd64.
  Preparing to unpack .../libxau-dev_1%3a1.0.8-1_amd64.deb ...
  Unpacking libxau-dev:amd64 (1:1.0.8-1) ...
  Selecting previously unselected package libxdmcp-dev:amd64.
  Preparing to unpack .../libxdmcp-dev_1%3a1.1.2-1.1_amd64.deb ...
  Unpacking libxdmcp-dev:amd64 (1:1.1.2-1.1) ...
  Selecting previously unselected package x11proto-input-dev.
  Preparing to unpack .../x11proto-input-dev_2.3.1-1_all.deb ...
  Unpacking x11proto-input-dev (2.3.1-1) ...
  Selecting previously unselected package x11proto-kb-dev.
  Preparing to unpack .../x11proto-kb-dev_1.0.7-0ubuntu1_all.deb ...
  Unpacking x11proto-kb-dev (1.0.7-0ubuntu1) ...
  Selecting previously unselected package xtrans-dev.
  Preparing to unpack .../xtrans-dev_1.3.5-1_all.deb ...
  Unpacking xtrans-dev (1.3.5-1) ...
  Selecting previously unselected package libxcb1-dev:amd64.
  Preparing to unpack .../libxcb1-dev_1.11.1-1ubuntu1_amd64.deb ...
  Unpacking libxcb1-dev:amd64 (1.11.1-1ubuntu1) ...
  Selecting previously unselected package libx11-dev:amd64.
  Preparing to unpack .../libx11-dev_2%3a1.6.3-1ubuntu2_amd64.deb ...
  Unpacking libx11-dev:amd64 (2:1.6.3-1ubuntu2) ...
  Selecting previously unselected package libx11-doc.
  Preparing to unpack .../libx11-doc_2%3a1.6.3-1ubuntu2_all.deb ...
  Unpacking libx11-doc (2:1.6.3-1ubuntu2) ...
  Selecting previously unselected package libxt-dev:amd64.
  Preparing to unpack .../libxt-dev_1%3a1.1.5-0ubuntu1_amd64.deb ...
  Unpacking libxt-dev:amd64 (1:1.1.5-0ubuntu1) ...
  Processing triggers for ca-certificates (20160104ubuntu1) ...
  Updating certificates in /etc/ssl/certs...
  0 added, 0 removed; done.
  Running hooks in /etc/ca-certificates/update.d...

  done.
  Updating Mono key store
  Linux Cert Store Sync - version 4.2.1.0
  Synchronize local certs with certs from local Linux trust store.
  Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD 
licensed.

  I already trust 173, your new list has 173
  Import process completed.
  Done
  done.
  Processing triggers for man-db (2.7.5-1) ...
  Processing triggers for libc-bin (2.23-0ubuntu5) ...
  Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
  Rebuilding /usr/share/applications/bamf-2.index...
  Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
  Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
  Processing triggers for mime-support (3.59ubuntu1) ...
  Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
  Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ...
  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-headless:amd64 9~b114-0ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-57.78-generic 4.4.35
  Uname: Linux 4.4.0-57-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.4
  Architecture: amd64
  Date: Wed Dec 28 12:51:11 2016
  DuplicateSignature:
   package:openjdk-9-jdk-headless:amd64:9~b114-0ubuntu1
   Setting up openjdk-9-jdk-headless:amd64 (9~b114-0ubuntu1) ...
   update-alternatives: error: alternative path 
/usr/lib/jvm/java-9-openjdk-amd64/bin/jlink doesn't exist
   dpkg: error processing package openjdk-9-jdk-headless:amd64 (--configure):
    subprocess installed post-installation script returned error exit status 2
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 2
  InstallationDate: Installed on 2016-10-21 (68 days ago)
  InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.1
   apt  1.2.15ubuntu0.2
  SourcePackage: openjdk-9
  Title: package openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1 failed to 
install/upgrade: subprocess installed post-installation script returned error 
exit status 2
  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/1653008/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openjdk
Post to     : openjdk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openjdk
More help   : https://help.launchpad.net/ListHelp

Reply via email to