← Back to team overview

openjdk team mailing list archive

[Bug 103933] Re: Java install via Add/Remove crashed

 

Hello me again:

Nop, with or without ln I have the same result, so, I have something
wrong. The error I posted before don't appear exactly the same because I
have LD_LIBRARY_PATH pointing to libjli.so directory then appear about
libjava.so, but if I comment that line on my .profile the original error
appear. Can someone explain me how to correct this error?

Thanks in advance

-- 
Java install via Add/Remove crashed
https://bugs.launchpad.net/bugs/103933
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in Source Package "openjdk-6" in Ubuntu: New
Status in Source Package "sun-java5" in Ubuntu: Confirmed
Status in Source Package "sun-java6" in Ubuntu: Confirmed
Status in Source Package "sun-java6" in Debian GNU/Linux: New

Bug description:
Binary package hint: ubuntu-restricted-extras

Just picked a bunch of restricted stuff to install while running from the livecd. Here's the error output.
Setting up sun-java6-jre (6-00-2ubuntu2) ...

Setting up sun-java6-bin (6-00-2ubuntu2) ...
/usr/lib/jvm/java-6-sun-1.6.0.00/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
dpkg: error processing sun-java6-bin (--configure):
 subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of sun-java6-plugin:
 sun-java6-plugin depends on sun-java6-bin (= 6-00-2ubuntu2); however:
  Package sun-java6-bin is not configured yet.
dpkg: error processing sun-java6-plugin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-restricted-extras:
 ubuntu-restricted-extras depends on sun-java6-plugin; however:
  Package sun-java6-plugin is not configured yet.
dpkg: error processing ubuntu-restricted-extras (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 sun-java6-bin
 sun-java6-plugin
 ubuntu-restricted-extras
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up sun-java6-bin (6-00-2ubuntu2) ...
/usr/lib/jvm/java-6-sun-1.6.0.00/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
dpkg: error processing sun-java6-bin (--configure):
 subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of sun-java6-plugin:
 sun-java6-plugin depends on sun-java6-bin (= 6-00-2ubuntu2); however:
  Package sun-java6-bin is not configured yet.
dpkg: error processing sun-java6-plugin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-restricted-extras:
 ubuntu-restricted-extras depends on sun-java6-plugin; however:
  Package sun-java6-plugin is not configured yet.
dpkg: error processing ubuntu-restricted-extras (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 sun-java6-bin
 sun-java6-plugin
 ubuntu-restricted-extras

ProblemType: Bug
Architecture: i386
Date: Fri Apr  6 22:57:27 2007
DistroRelease: Ubuntu 7.04
Uname: Linux ubuntu 2.6.20-12-generic #2 SMP Wed Mar 21 20:55:46 UTC 2007 i686 GNU/Linux