package openjdk-8-jdk:amd64 8u171-b11-0ubuntu0.18.04.1 failed to install/upgrade: installed openjdk-8-jdk:amd64 package post-installation script subprocess returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-8 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I ran a script which probably messed up my OpenJDK 8 JDK installation, so that re-installation and `sudo apt-get install -f` fails due to
```
> sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libandroid-
libjgoodies-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
openjdk-8-jre
Suggested packages:
icedtea-8-plugin
The following NEW packages will be installed:
openjdk-8-jre
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/69,5 kB of archives.
After this operation, 257 kB of additional disk space will be used.
Do you want to continue? [J/n] j
(Reading database ... 1128791 files and directories currently installed.)
Preparing to unpack .../openjdk-
Unpacking openjdk-8-jre:amd64 (8u171-
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.
Processing triggers for bamfdaemon (0.5.3+
Rebuilding /usr/share/
Setting up openjdk-8-jre:amd64 (8u171-
update-
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up openjdk-8-jdk:amd64 (8u171-
update-
dpkg: error processing package openjdk-8-jdk:amd64 (--configure):
installed openjdk-8-jdk:amd64 package post-installation script subprocess returned error exit status 2
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: openjdk-8-jdk:amd64 8u171-b11-
ProcVersionSign
Uname: Linux 4.15.0-29-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.2
AptOrdering:
openjdk-
NULL: ConfigurePending
Architecture: amd64
Date: Sun Jul 29 12:43:50 2018
DuplicateSignature:
package:
Setting up openjdk-8-jdk:amd64 (8u171-
update-
dpkg: error processing package openjdk-8-jdk:amd64 (--configure):
installed openjdk-8-jdk:amd64 package post-installation script subprocess returned error exit status 2
ErrorMessage: installed openjdk-8-jdk:amd64 package post-installation script subprocess returned error exit status 2
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.3
SourcePackage: openjdk-8
Title: package openjdk-8-jdk:amd64 8u171-b11-
UpgradeStatus: Upgraded to bionic on 2018-04-30 (90 days ago)
mtime.conffile.
tags: | removed: need-duplicate-check |