package openjdk-8-jre 8u111-b14-2ubuntu0.16.04.2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 2
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-
ProcVersionSign
Uname: Linux 4.4.0-31-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
AptOrdering:
openjdk-8-jre: Install
openjdk-
openjdk-
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)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
SourcePackage: openjdk-8
Title: package openjdk-8-jre 8u111-b14-
UpgradeStatus: Upgraded to xenial on 2016-07-30 (99 days ago)
tags: | removed: need-duplicate-check |
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!