← Back to team overview

openjdk team mailing list archive

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

 

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

-- 
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/1639861

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

Status in openjdk-8 package in Ubuntu:
  Incomplete

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1639861/+subscriptions


References