openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #12885
[Bug 1761172] Re: package openjdk-8-jre-headless:amd64 8u162-b12-0ubuntu0.17.10.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Reviewing your dmesg attachment in this bug report it
seems that there is a problem with your hardware. I recommend
performing a back up and then investigating the situation. Measures you
might take include checking cable connections and using software tools
to investigate the health of your hardware. In the event that is is not
in fact an error with your hardware please set the bug's status back to
New. Thanks and good luck!
[This is an automated message. I apologize if it reached you
inappropriately; please just reply to this message indicating so.]
** Tags added: hardware-error
** Changed in: openjdk-8 (Ubuntu)
Importance: Undecided => Low
** Changed in: openjdk-8 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1761172
Title:
package openjdk-8-jre-headless:amd64 8u162-b12-0ubuntu0.17.10.2 failed
to install/upgrade: subprocess installed post-installation script
returned error exit status 2
Status in openjdk-8 package in Ubuntu:
Invalid
Bug description:
vc@vc-Inspiron-3520:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
fonts-noto-hinted fonts-roboto-hinted javascript-common libcec4
libcrossguid0 libjs-iscroll libjs-jquery libmicrohttpd12 libnfs8
libp8-platform2 libpcrecpp0v5 libtinyxml2.6.2v5 python-appindicator
python-asn1crypto python-attr python-cffi-backend python-click
python-colorama python-constantly python-cryptography python-enum34
python-gconf python-gi python-gobject python-idna python-incremental
python-ipaddress python-lzma python-openssl python-pam python-parsley
python-pexpect python-pkg-resources python-psutil python-ptyprocess
python-pyasn1 python-pyasn1-modules python-serial python-service-identity
python-six python-twisted python-twisted-bin python-twisted-core
python-txsocksx python-xdg python-zope.interface
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic
The following packages will be upgraded:
libraw16 linux-libc-dev openjdk-8-doc openjdk-8-jdk openjdk-8-jdk-headless
openjdk-8-jre openjdk-8-jre-headless python3-crypto
8 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 49.5 MB of archives.
After this operation, 115 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 libraw16 amd64 0.18.2-2ubuntu0.2 [253 kB]
Get:2 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 linux-libc-dev amd64 4.13.0-38.43 [958 kB]
Get:3 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 openjdk-8-jdk amd64 8u162-b12-0ubuntu0.17.10.2 [459 kB]
Get:4 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 openjdk-8-jdk-headless amd64 8u162-b12-0ubuntu0.17.10.2 [8,253 kB]
Get:5 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 openjdk-8-jre amd64 8u162-b12-0ubuntu0.17.10.2 [69.7 kB]
Get:6 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 openjdk-8-jre-headless amd64 8u162-b12-0ubuntu0.17.10.2 [27.3 MB]
Get:7 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 python3-crypto amd64 2.6.1-7ubuntu0.1 [244 kB]
Get:8 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 openjdk-8-doc all 8u162-b12-0ubuntu0.17.10.2 [12.0 MB]
Fetched 49.5 MB in 2min 57s (279 kB/s)
(Reading database ... 221912 files and directories currently installed.)
Preparing to unpack .../0-libraw16_0.18.2-2ubuntu0.2_amd64.deb ...
Unpacking libraw16:amd64 (0.18.2-2ubuntu0.2) over (0.18.2-2ubuntu0.1) ...
Preparing to unpack .../1-linux-libc-dev_4.13.0-38.43_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.13.0-38.43) over (4.13.0-37.42) ...
Preparing to unpack .../2-openjdk-8-jdk_8u162-b12-0ubuntu0.17.10.2_amd64.deb ...
Unpacking openjdk-8-jdk:amd64 (8u162-b12-0ubuntu0.17.10.2) over (8u151-b12-0ubuntu0.17.10.2) ...
Preparing to unpack .../3-openjdk-8-jdk-headless_8u162-b12-0ubuntu0.17.10.2_amd64.deb ...
Unpacking openjdk-8-jdk-headless:amd64 (8u162-b12-0ubuntu0.17.10.2) over (8u151-b12-0ubuntu0.17.10.2) ...
Preparing to unpack .../4-openjdk-8-jre_8u162-b12-0ubuntu0.17.10.2_amd64.deb ...
Unpacking openjdk-8-jre:amd64 (8u162-b12-0ubuntu0.17.10.2) over (8u151-b12-0ubuntu0.17.10.2) ...
Preparing to unpack .../5-openjdk-8-jre-headless_8u162-b12-0ubuntu0.17.10.2_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u162-b12-0ubuntu0.17.10.2) over (8u151-b12-0ubuntu0.17.10.2) ...
Preparing to unpack .../6-python3-crypto_2.6.1-7ubuntu0.1_amd64.deb ...
Unpacking python3-crypto (2.6.1-7ubuntu0.1) over (2.6.1-7build2) ...
Preparing to unpack .../7-openjdk-8-doc_8u162-b12-0ubuntu0.17.10.2_all.deb ...
Unpacking openjdk-8-doc (8u162-b12-0ubuntu0.17.10.2) over (8u151-b12-0ubuntu0.17.10.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Setting up python3-crypto (2.6.1-7ubuntu0.1) ...
Setting up linux-libc-dev:amd64 (4.13.0-38.43) ...
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 changed doc-base file...
Registering documents with scrollkeeper...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.17-1) ...
Setting up libraw16:amd64 (0.18.2-2ubuntu0.2) ...
Setting up openjdk-8-doc (8u162-b12-0ubuntu0.17.10.2) ...
Setting up openjdk-8-jre-headless:amd64 (8u162-b12-0ubuntu0.17.10.2) ...
Installing new version of config file /etc/java-8-openjdk/management/management.properties ...
Installing new version of config file /etc/java-8-openjdk/security/java.security ...
update-alternatives: warning: alternative /usr/lib/java/jdk1.8.0_162/bin/java (part of link group java) doesn't exist; removing from list of alternatives
update-alternatives: error: /var/lib/dpkg/alternatives/servertool corrupt: while reading status: Input/output error
dpkg: error processing package openjdk-8-jre-headless:amd64 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of openjdk-8-jdk-headless:amd64:
openjdk-8-jdk-headless:amd64 depends on openjdk-8-jre-headless (= 8u162-b12-0ubuntu0.17.10.2); however:
Package openjdk-8-jre-headless:amd64 is not configured yet.
dpkg: error processing package openjdk-8-jdk-headless:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-8-jdk:amd64:
openjdk-8-jdk:amd64 depends on openjdk-8-jdk-headless (= 8u162-b12-0ubuntu0.17.10.2); however:
Package openjdk-8-jdk-headless:amd64 is not configured yet.
dpkg: error processing package openjdk-8-jdk:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-8-jre:amd64:
openjdk-8-jre:amd64 depends on openjdk-8-jre-headless (= 8u162-b12-0ubuntu0.17.10.2); however:
Package openjdk-8-jre-headless:amd64 is not configured yet.
dpkg: error processing package openjdk-8-jre:amd64 (--configure):
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
Errors were encountered while processing:
openjdk-8-jre-headless:amd64
openjdk-8-jdk-headless:amd64
openjdk-8-jdk:amd64
openjdk-8-jre:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: openjdk-8-jre-headless:amd64 8u162-b12-0ubuntu0.17.10.2
ProcVersionSignature: Ubuntu 4.13.0-37.42-generic 4.13.13
Uname: Linux 4.13.0-37-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
Date: Wed Apr 4 18:38:12 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2018-03-15 (19 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1)
Python3Details: /usr/local/bin/python3.6, Python 3.6.4, unpackaged
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageVersions:
dpkg 1.18.24ubuntu1
apt 1.5.1
SourcePackage: openjdk-8
Title: package openjdk-8-jre-headless:amd64 8u162-b12-0ubuntu0.17.10.2 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-8/+bug/1761172/+subscriptions
References