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

Bug #1695951 reported by Andrey Shchagin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-8 (Ubuntu)
Invalid
Undecided
Unassigned

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)

Revision history for this message
Andrey Shchagin (andrey.shchagin) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Thorsten Glaser (mirabilos) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.