package openjdk-8-jre 8u111-b14-2ubuntu0.16.04.2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 2

Bug #1639861 reported by Durga P Choudhury
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-8 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Issue happens while doing 'apt-get upgrade'

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: openjdk-8-jre 8u111-b14-2ubuntu0.16.04.2
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
Uname: Linux 4.4.0-31-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2.1
AptOrdering:
 openjdk-8-jre: Install
 openjdk-8-jre-headless: Install
 openjdk-8-jre-headless: Configure
 openjdk-8-jre: Configure
 NULL: ConfigurePending
Architecture: amd64
Date: Thu Nov 3 02:40:06 2016
ErrorMessage: subprocess new pre-removal script returned error exit status 2
InstallationDate: Installed on 2013-12-24 (1049 days ago)
InstallationMedia: Ubuntu-Server 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.2)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: openjdk-8
Title: package openjdk-8-jre 8u111-b14-2ubuntu0.16.04.2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 2
UpgradeStatus: Upgraded to xenial on 2016-07-30 (99 days ago)

Revision history for this message
Durga P Choudhury (dpchoudh) wrote :
Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

Thank you for taking the time to report this bug and helping to make
Ubuntu better. It seems that there was an error on your system when
trying to uninstall the openjdk 8 package. Please execute the following
commands, as it will clear your package cache and try to install openjdk
again, in a terminal:

sudo apt-get clean
sudo apt-get install -f

This will likely resolve your issue, but the failure could be caused by
wrong permission on the files or the partition. If the problem persists,
please execute the following commands in a terminal and copy&paste their
output here:

ls -l /var/lib/dpkg/info/openjdk-8-jre:amd64.prerm
mount | grep var

Thanks in advance!

Changed in openjdk-8 (Ubuntu):
status: New → Incomplete
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openjdk-8 (Ubuntu) because there has been no activity for 60 days.]

Changed in openjdk-8 (Ubuntu):
status: Incomplete → Expired
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.