Wednesday 27 February 2008 3:14:25 pm
I get the error when I try to install jre1.5 from non-free package. The error is:
:# apt-get install sun-java5-jre
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
sun-java5-bin
Suggested packages:
libnss-mdns sun-java5-plugin ia32-sun-java5-plugin sun-java5-fonts
ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-kochi-gothic
ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming
The following NEW packages will be installed:
sun-java5-bin sun-java5-jre
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/29.9MB of archives.
After unpacking 82.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously deselected package sun-java5-bin.
(Reading database ... 20193 files and directories currently installed.)
Unpacking sun-java5-bin (from .../sun-java5-bin_1.5.0-14-1etch1_i386.deb) ...
Selecting previously deselected package sun-java5-jre.
Unpacking sun-java5-jre (from .../sun-java5-jre_1.5.0-14-1etch1_all.deb) ...
sun-dlj-v1-1 license has already been accepted
Setting up sun-java5-jre (1.5.0-14-1etch1) ...
Setting up sun-java5-bin (1.5.0-14-1etch1) ...
Could not create the Java virtual machine.
dpkg: error processing sun-java5-bin (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
sun-java5-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Like I said I googled for a solution for this error, but didn't found nothing that worked. I think the error has to do with OpenVZ (I'm testing on a openvz vps in one of our dedicated server), but all the post I've found are related with memory shortage and my error seems not to be related with the vps memory.
eZ Partner in Madrid (Spain)
Web: http://www.atela.net/
|