Make sure /etc/.java/.systemPrefs does not exist or is a directory. (Out of curiosity, did you install Oracle JDK/JRE? Another reporter had that, and it’s suspect.)
** 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/1695951 Title: package openjdk-8-jre-headless:amd64 8u131-b11-0ubuntu1.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Status in openjdk-8 package in Ubuntu: Invalid Bug description: I had a problem during installing cumulative updates through Software Updater. ProblemType: Package DistroRelease: Ubuntu 16.04 Package: openjdk-8-jre-headless:amd64 8u131-b11-0ubuntu1.16.04.2 ProcVersionSignature: Ubuntu 4.4.0-78.99-generic 4.4.62 Uname: Linux 4.4.0-78-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.6 Architecture: amd64 Date: Sun Jun 4 14:14:49 2017 DuplicateSignature: package:openjdk-8-jre-headless:amd64:8u131-b11-0ubuntu1.16.04.2 Setting up openjdk-8-jre-headless:amd64 (8u131-b11-0ubuntu1.16.04.2) ... mkdir: cannot create directory ‘/etc/.java/.systemPrefs’: File exists dpkg: error processing package openjdk-8-jre-headless:amd64 (--configure): subprocess installed post-installation script returned error exit status 1 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2017-01-26 (130 days ago) InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) RelatedPackageVersions: dpkg 1.18.4ubuntu1.2 apt 1.2.20 SourcePackage: openjdk-8 Title: package openjdk-8-jre-headless:amd64 8u131-b11-0ubuntu1.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 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/1695951/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openjdk Post to : openjdk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openjdk More help : https://help.launchpad.net/ListHelp