← Back to team overview

openjdk team mailing list archive

[Bug 1611189] Re: package openjdk-9-jdk (not installed) failed to install/upgrade: 正试图覆盖 /usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h,它同时被包含于软件包 openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1

 

*** 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/1611189

Title:
  package openjdk-9-jdk (not installed) failed to install/upgrade: 正试图覆盖
  /usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h,它同时被包含于软件包
  openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1

Status in openjdk-9 package in Ubuntu:
  New

Bug description:
  bianxu@bianxu:~$ sudo apt-get install android-studio 
  正在读取软件包列表... 完成
  正在分析软件包的依赖关系树       
  正在读取状态信息... 完成       
  下列软件包是自动安装的并且现在不需要了:
    bluefish-data bluefish-plugins libjavascriptcoregtk-3.0-0 libwebkitgtk-3.0-0
    libwebkitgtk-3.0-common python-pyinotify
  使用'sudo apt autoremove'来卸载它(它们)。
  将会同时安装下列软件:
    libatk-wrapper-java libatk-wrapper-java-jni openjdk-9-jdk
    openjdk-9-jdk-headless openjdk-9-jre openjdk-9-jre-headless
  建议安装:
    openjdk-9-demo openjdk-9-source visualvm icedtea-8-plugin
    fonts-ipafont-gothic fonts-ipafont-mincho ttf-wqy-microhei | ttf-wqy-zenhei
    fonts-indic
  下列【新】软件包将被安装:
    android-studio libatk-wrapper-java libatk-wrapper-java-jni openjdk-9-jdk
    openjdk-9-jdk-headless openjdk-9-jre openjdk-9-jre-headless
  升级了 0 个软件包,新安装了 7 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
  需要下载 184 MB 的归档。
  解压缩后会消耗 308 MB 的额外空间。
  您希望继续执行吗? [Y/n] y
  获取:1 http://mirrors.ustc.edu.cn/ubuntu xenial/universe amd64 openjdk-9-jre-headless amd64 9~b114-0ubuntu1 [183 MB]
  获取:2 http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu xenial/main amd64 android-studio all 5.2.1-ubuntu0 [40.4 kB]
  获取:3 http://mirrors.ustc.edu.cn/ubuntu xenial/universe amd64 libatk-wrapper-java all 0.33.3-6 [33.9 kB]
  获取:4 http://mirrors.ustc.edu.cn/ubuntu xenial/universe amd64 libatk-wrapper-java-jni amd64 0.33.3-6 [27.4 kB]
  获取:5 http://mirrors.ustc.edu.cn/ubuntu xenial/universe amd64 openjdk-9-jre amd64 9~b114-0ubuntu1 [51.5 kB]
  获取:6 http://mirrors.ustc.edu.cn/ubuntu xenial/universe amd64 openjdk-9-jdk-headless amd64 9~b114-0ubuntu1 [328 kB]
  获取:7 http://mirrors.ustc.edu.cn/ubuntu xenial/universe amd64 openjdk-9-jdk amd64 9~b114-0ubuntu1 [16.6 kB]
  已下载 184 MB,耗时 1分 41秒 (1,803 kB/s)                                      
  正在选中未选择的软件包 openjdk-9-jre-headless:amd64。
  (正在读取数据库 ... 系统当前共安装有 289531 个文件和目录。)
  正准备解包 .../openjdk-9-jre-headless_9~b114-0ubuntu1_amd64.deb  ...
  正在解包 openjdk-9-jre-headless:amd64 (9~b114-0ubuntu1) ...
  正在选中未选择的软件包 libatk-wrapper-java。
  正准备解包 .../libatk-wrapper-java_0.33.3-6_all.deb  ...
  正在解包 libatk-wrapper-java (0.33.3-6) ...
  正在选中未选择的软件包 libatk-wrapper-java-jni:amd64。
  正准备解包 .../libatk-wrapper-java-jni_0.33.3-6_amd64.deb  ...
  正在解包 libatk-wrapper-java-jni:amd64 (0.33.3-6) ...
  正在选中未选择的软件包 openjdk-9-jre:amd64。
  正准备解包 .../openjdk-9-jre_9~b114-0ubuntu1_amd64.deb  ...
  正在解包 openjdk-9-jre:amd64 (9~b114-0ubuntu1) ...
  正在选中未选择的软件包 openjdk-9-jdk-headless:amd64。
  正准备解包 .../openjdk-9-jdk-headless_9~b114-0ubuntu1_amd64.deb  ...
  正在解包 openjdk-9-jdk-headless:amd64 (9~b114-0ubuntu1) ...
  正在选中未选择的软件包 openjdk-9-jdk:amd64。
  正准备解包 .../openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb  ...
  正在解包 openjdk-9-jdk:amd64 (9~b114-0ubuntu1) ...
  dpkg: 处理归档 /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb (--unpack)时出错:
   正试图覆盖 /usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h,它同时被包含于软件包 openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1
  正在选中未选择的软件包 android-studio。
  正准备解包 .../android-studio_5.2.1-ubuntu0_all.deb  ...
  --2016-08-09 11:21:32--  https://dl.google.com/dl/android/studio/ide-zips/2.1.0.9/android-studio-ide-143.2790544-linux.zip
  正在解析主机 dl.google.com (dl.google.com)... 203.208.41.40, 203.208.41.33, 203.208.41.38, ...
  正在连接 dl.google.com (dl.google.com)|203.208.41.40|:443... 已连接。
  已发出 HTTP 请求,正在等待回应... 200 OK
  长度: 298122012 (284M) [application/zip]
  正在保存至: “android-studio-ide-143.2790544-linux.zip”

  android-studio-ide- 100%[===================>] 284.31M  7.09MB/s    in
  38s

  2016-08-09 11:22:10 (7.57 MB/s) - 已保存 “android-studio-
  ide-143.2790544-linux.zip” [298122012/298122012])

  正在解包 android-studio (5.2.1-ubuntu0) ...
  正在处理用于 libc-bin (2.23-0ubuntu3) 的触发器 ...
  正在处理用于 gnome-menus (3.13.3-6ubuntu3.1) 的触发器 ...
  正在处理用于 desktop-file-utils (0.22-1ubuntu5) 的触发器 ...
  正在处理用于 bamfdaemon (0.5.3~bzr0+16.04.20160701-0ubuntu1) 的触发器 ...
  Rebuilding /usr/share/applications/bamf-2.index...
  正在处理用于 mime-support (3.59ubuntu1) 的触发器 ...
  正在处理用于 hicolor-icon-theme (0.15-0ubuntu1) 的触发器 ...
  在处理时有错误发生:
   /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-31.50-generic 4.4.13
  Uname: Linux 4.4.0-31-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  Date: Tue Aug  9 11:21:32 2016
  ErrorMessage: 正试图覆盖 /usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h,它同时被包含于软件包 openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1
  InstallationDate: Installed on 2016-08-08 (0 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: 正试图覆盖 /usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h,它同时被包含于软件包 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/1611189/+subscriptions


References