[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
[Expired for openjdk-8 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: openjdk-8 (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1573673/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
Solution from #5 didn't help me. For me helpfull was: ln -s /var/log /usr/local/var/log + Answers from https://askubuntu.com/questions/383339/how-to-recover-deleted-dpkg-directory https://askubuntu.com/questions/84483/how-to-completely-uninstall-java -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1573673/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
Thank you for taking the time to report this bug and helping to make Ubuntu better. > {~} $ sudo dpkg --configure -a > Setting up openjdk-8-jre-headless:amd64 (8u121-b13-0ubuntu1.16.04.2) ... > 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 Which version of openjdk-8 did you have installed at that time? It might be helpful if you can include any history.log* and term.log* files from /var/log/apt that contain entries for openjdk-8-jre-headless package. If in doubt please just attach all the files under /var/log/apt (you might pack them in a zip or tarball file to do a single upload). > Extracting the package, I see that it's supposed > to be a link to ../jre/bin which does not exist. The rmid binary is actually in the java-8-openjdk-amd64/jre/bin directory. As for the symlink you mentioned, it links java-8-openjdk- amd64/bin/rmid to it. $ dpkg-deb -c openjdk-8-jre-headless_8u121-b13-0ubuntu1.16.04.2_amd64.deb | grep bin/rmid -rwxr-xr-x root/root 6504 2017-01-23 15:05 ./usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid lrwxrwxrwx root/root 0 2017-01-23 15:05 ./usr/lib/jvm/java-8-openjdk-amd64/bin/rmid -> ../jre/bin/rmid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1573673/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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 works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1573673/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
This still exists in 16.04.2 {~} $ sudo dpkg --configure -a Setting up openjdk-8-jre-headless:amd64 (8u121-b13-0ubuntu1.16.04.2) ... 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1573673/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
Thank you for taking the time to report this bug and helping to make Ubuntu better. However, according to this report, you are not using the most recent version of this package for your Ubuntu release. Please upgrade to the most recent version and let us know if you are still having this issue. Thanks in advance. ** Changed in: openjdk-8 (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1573673/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
** Changed in: openjdk-8 (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1573673/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openjdk-8 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1573673/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
** Tags removed: need-duplicate-check -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1573673/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs