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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-9 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
bianxu@bianxu:~$ sudo apt-get install android-studio
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在
bluefish-data bluefish-plugins libjavascriptco
libwebkitgtk-
使用'sudo apt autoremove'
将会同时安装下列软件:
libatk-
openjdk-
建议安装:
openjdk-9-demo openjdk-9-source visualvm icedtea-8-plugin
fonts-
fonts-indic
下列【新】软件包将被安装:
android-studio libatk-wrapper-java libatk-
openjdk-
升级了 0 个软件包,新安装了 7 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 184 MB 的归档。
解压缩后会消耗 308 MB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://
获取:2 http://
获取:3 http://
获取:4 http://
获取:5 http://
获取:6 http://
获取:7 http://
已下载 184 MB,耗时 1分 41秒 (1,803 kB/s)
正在选中未选择的软件包 openjdk-
(正在读取数据库 ... 系统当前共安装有 289531 个文件和目录。)
正准备解包 .../openjdk-
正在解包 openjdk-
正在选中未选择的软件包 libatk-
正准备解包 .../libatk-
正在解包 libatk-wrapper-java (0.33.3-6) ...
正在选中未选择的软件包 libatk-
正准备解包 .../libatk-
正在解包 libatk-
正在选中未选择的软件包 openjdk-
正准备解包 .../openjdk-
正在解包 openjdk-9-jre:amd64 (9~b114-0ubuntu1) ...
正在选中未选择的软件包 openjdk-
正准备解包 .../openjdk-
正在解包 openjdk-
正在选中未选择的软件包 openjdk-
正准备解包 .../openjdk-
正在解包 openjdk-9-jdk:amd64 (9~b114-0ubuntu1) ...
dpkg: 处理归档 /var/cache/
正试图覆盖 /usr/lib/
正在选中未选择的软件包 android-studio。
正准备解包 .../android-
--2016-08-09 11:21:32-- https:/
正在解析主机 dl.google.com (dl.google.com)... 203.208.41.40, 203.208.41.33, 203.208.41.38, ...
正在连接 dl.google.com (dl.google.
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 298122012 (284M) [application/zip]
正在保存至: “android-
android-studio-ide- 100%[==
2016-08-09 11:22:10 (7.57 MB/s) - 已保存 “android-
正在解包 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~
Rebuilding /usr/share/
正在处理用于 mime-support (3.59ubuntu1) 的触发器 ...
正在处理用于 hicolor-icon-theme (0.15-0ubuntu1) 的触发器 ...
在处理时有错误发生:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: openjdk-9-jdk (not installed)
ProcVersionSign
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/
InstallationDate: Installed on 2016-08-08 (0 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
SourcePackage: openjdk-9
Title: package openjdk-9-jdk (not installed) failed to install/upgrade: 正试图覆盖 /usr/lib/
UpgradeStatus: No upgrade log present (probably fresh install)
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.