package openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-9 (Ubuntu) |
Confirmed
|
Undecided
|
Mirza Sholihul |
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-certificat
libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxt-dev openjdk-9-jdk openjdk-
openjdk-
Suggested packages:
default-jre libice-doc libsm-doc libxcb-doc libxt-doc openjdk-9-demo openjdk-9-source visualvm icedtea-8-plugin
fonts-
The following NEW packages will be installed:
android-studio ca-certificates
libpthread-
openjdk-
xorg-
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://
Get:2 http://
Get:3 http://
Fetched 183 MB in 2min 9s (1,413 kB/s)
Selecting previously unselected package ca-certificates
(Reading database ... 243026 files and directories currently installed.)
Preparing to unpack .../ca-
Unpacking ca-certificates
Selecting previously unselected package java-common.
Preparing to unpack .../java-
Unpacking java-common (0.56ubuntu2) ...
Selecting previously unselected package openjdk-
Preparing to unpack .../openjdk-
Unpacking openjdk-
Selecting previously unselected package libatk-
Preparing to unpack .../libatk-
Unpacking libatk-wrapper-java (0.33.3-6) ...
Selecting previously unselected package libatk-
Preparing to unpack .../libatk-
Unpacking libatk-
Selecting previously unselected package openjdk-
Preparing to unpack .../openjdk-
Unpacking openjdk-9-jre:amd64 (9~b114-0ubuntu1) ...
Selecting previously unselected package openjdk-
Preparing to unpack .../openjdk-
Unpacking openjdk-
Selecting previously unselected package openjdk-
Preparing to unpack .../openjdk-
Unpacking openjdk-9-jdk:amd64 (9~b114-0ubuntu1) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/lib/
Selecting previously unselected package android-studio.
Preparing to unpack .../android-
--2016-12-28 12:59:35-- https:/
Resolving dl.google.com (dl.google.com)... 216.58.192.174, 2607:f8b0:
Connecting to dl.google.com (dl.google.
HTTP request sent, awaiting response... 200 OK
Length: 298122012 (284M) [application/zip]
Saving to: ‘android-
android-
2016-12-28 13:00:57 (3.50 MB/s) - ‘android-
Unpacking android-studio (5.2.1-ubuntu0) ...
Selecting previously unselected package fonts-dejavu-extra.
Preparing to unpack .../fonts-
Unpacking fonts-dejavu-extra (2.35-1) ...
Selecting previously unselected package xorg-sgml-doctools.
Preparing to unpack .../xorg-
Unpacking xorg-sgml-doctools (1:1.11-1) ...
Selecting previously unselected package x11proto-core-dev.
Preparing to unpack .../x11proto-
Unpacking x11proto-core-dev (7.0.28-2ubuntu1) ...
Selecting previously unselected package libice-dev:amd64.
Preparing to unpack .../libice-
Unpacking libice-dev:amd64 (2:1.0.9-1) ...
Selecting previously unselected package libpthread-
Preparing to unpack .../libpthread-
Unpacking libpthread-
Selecting previously unselected package libsm-dev:amd64.
Preparing to unpack .../libsm-
Unpacking libsm-dev:amd64 (2:1.2.2-1) ...
Selecting previously unselected package libxau-dev:amd64.
Preparing to unpack .../libxau-
Unpacking libxau-dev:amd64 (1:1.0.8-1) ...
Selecting previously unselected package libxdmcp-dev:amd64.
Preparing to unpack .../libxdmcp-
Unpacking libxdmcp-dev:amd64 (1:1.1.2-1.1) ...
Selecting previously unselected package x11proto-input-dev.
Preparing to unpack .../x11proto-
Unpacking x11proto-input-dev (2.3.1-1) ...
Selecting previously unselected package x11proto-kb-dev.
Preparing to unpack .../x11proto-
Unpacking x11proto-kb-dev (1.0.7-0ubuntu1) ...
Selecting previously unselected package xtrans-dev.
Preparing to unpack .../xtrans-
Unpacking xtrans-dev (1.3.5-1) ...
Selecting previously unselected package libxcb1-dev:amd64.
Preparing to unpack .../libxcb1-
Unpacking libxcb1-dev:amd64 (1.11.1-1ubuntu1) ...
Selecting previously unselected package libx11-dev:amd64.
Preparing to unpack .../libx11-
Unpacking libx11-dev:amd64 (2:1.6.3-1ubuntu2) ...
Selecting previously unselected package libx11-doc.
Preparing to unpack .../libx11-
Unpacking libx11-doc (2:1.6.3-1ubuntu2) ...
Selecting previously unselected package libxt-dev:amd64.
Preparing to unpack .../libxt-
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-
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~
Rebuilding /usr/share/
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-
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: openjdk-
ProcVersionSign
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:
Setting up openjdk-
update-
dpkg: error processing package openjdk-
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)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.15ubuntu0.2
SourcePackage: openjdk-9
Title: package openjdk-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Changed in openjdk-9 (Ubuntu): | |
status: | New → Confirmed |
Please help