← Back to team overview

openjdk team mailing list archive

[Bug 1573673] Re: package openjdk-8-jre-headless:amd64 8u77-b03-3ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

 

dpkg thinks the file exists, but it's not there..

{~} $ dpkg -L openjdk-8-jre-headless:amd64|grep /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmiregistry
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/unpack200
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/pack200
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/jjs

{~} $ ls -lah /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid
ls: cannot access '/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid': No such file or directory

{~} $ ls -lah /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/
total 28K
drwxr-xr-x 2 root root 4.0K Feb 21 19:06 .
drwxr-xr-x 5 root root 4.0K Feb 21 19:06 ..
-rwxr-xr-x 1 root root 2.8K Apr 16  2016 itweb-settings
-rwxr-xr-x 1 root root 2.7K Apr 16  2016 javaws
-rwxr-xr-x 1 root root 6.4K Jan 23 12:05 jjs
-rwxr-xr-x 1 root root 2.8K Apr 16  2016 policyeditor

Extracting the package, I see that it's supposed to be a link to
../jre/bin which does not exist.

Manually downloading the package from
http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-8/openjdk-8-jre-
headless_8u121-b13-0ubuntu1.16.04.2_amd64.deb

and installing it via: dpkg -i <filename> works.

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

Title:
  package openjdk-8-jre-headless:amd64 8u77-b03-3ubuntu3 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

Status in openjdk-8 package in Ubuntu:
  Incomplete

Bug description:
  by installation of Ubutun 16 LTS

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: openjdk-8-jre-headless:amd64 8u77-b03-3ubuntu3
  Uname: Linux 4.4.0-040400-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  Date: Fri Apr 22 17:21:24 2016
  DuplicateSignature:
   Installing new version of config file /etc/java-8-openjdk/security/java.security ...
   update-alternatives: error: alternative path /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid doesn't exist
   dpkg: error processing package openjdk-8-jre-headless:amd64 (--configure):
    subprocess installed post-installation script returned error exit status 2
  ErrorMessage: subprocess installed post-installation script returned error exit status 2
  InstallationDate: Installed on 2014-09-27 (572 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140923)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1
   apt  1.2.10ubuntu1
  SourcePackage: openjdk-8
  Title: package openjdk-8-jre-headless:amd64 8u77-b03-3ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
  UpgradeStatus: Upgraded to xenial on 2016-04-22 (0 days ago)

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


References