Package: sun-java5-bin
Version: 1.5.0-06-1

When trying to install sun-java5-jdk, the installation failed with
"subprocess pre-installation script returned error exit status 10" for
sun-java5-bin.  I have no idea what went wrong.  This is the output
from when I tried to install it.

# aptitude install sun-java5-jdk
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be automatically installed:
  gsfonts-x11 sun-java5-bin sun-java5-demo sun-java5-jre
The following NEW packages will be installed:
  gsfonts-x11 sun-java5-bin sun-java5-demo sun-java5-jdk sun-java5-jre
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 44.4MB of archives. After unpacking 113MB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Get:1 http://ftp.se.debian.org unstable/non-free sun-java5-bin 1.5.0-06-1 
[22.1MB]
Get:2 http://ftp.se.debian.org unstable/non-free sun-java5-jre 1.5.0-06-1 
[7341kB]
Get:3 http://ftp.se.debian.org unstable/non-free sun-java5-demo 1.5.0-06-1 
[9870kB]
Get:4 http://ftp.se.debian.org unstable/non-free sun-java5-jdk 1.5.0-06-1 
[4985kB]
Get:5 http://ftp.se.debian.org unstable/main gsfonts-x11 0.19 [9412B]
Fetched 44.4MB in 10m28s (70.5kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package sun-java5-bin.
(Reading database ... 132825 files and directories currently installed.)
Unpacking sun-java5-bin (from .../sun-java5-bin_1.5.0-06-1_i386.deb) ...
dpkg: error processing 
/var/cache/apt/archives/sun-java5-bin_1.5.0-06-1_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 10
Selecting previously deselected package sun-java5-jre.
Unpacking sun-java5-jre (from .../sun-java5-jre_1.5.0-06-1_all.deb) ...
Selecting previously deselected package sun-java5-demo.
Unpacking sun-java5-demo (from .../sun-java5-demo_1.5.0-06-1_i386.deb) ...
Selecting previously deselected package sun-java5-jdk.
Unpacking sun-java5-jdk (from .../sun-java5-jdk_1.5.0-06-1_i386.deb) ...
sun-dlj-v1-1 license has already been accepted
Selecting previously deselected package gsfonts-x11.
Unpacking gsfonts-x11 (from .../gsfonts-x11_0.19_all.deb) ...
dpkg: warning - unable to delete old directory 
`/usr/X11R6/lib/X11/fonts/Type1': Directory not empty
Errors were encountered while processing:
 /var/cache/apt/archives/sun-java5-bin_1.5.0-06-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up gsfonts-x11 (0.19) ...

dpkg: dependency problems prevent configuration of sun-java5-jre:
 sun-java5-jre depends on sun-java5-bin (= 1.5.0-06-1) | ia32-sun-java5-bin (= 
1.5.0-06-1); however:
  Package sun-java5-bin is not installed.
  Package ia32-sun-java5-bin is not installed.
dpkg: error processing sun-java5-jre (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sun-java5-jdk:
 sun-java5-jdk depends on sun-java5-jre (= 1.5.0-06-1); however:
  Package sun-java5-jre is not configured yet.
dpkg: error processing sun-java5-jdk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sun-java5-demo:
 sun-java5-demo depends on sun-java5-jre (= 1.5.0-06-1); however:
  Package sun-java5-jre is not configured yet.
 sun-java5-demo depends on sun-java5-jdk (= 1.5.0-06-1); however:
  Package sun-java5-jdk is not configured yet.
dpkg: error processing sun-java5-demo (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 sun-java5-jre
 sun-java5-jdk
 sun-java5-demo
#

After this failing attemt, I tried again using 'apt-get install
sun-java5-bin', and now it installed as it should:

# apt-get install sun-java5-bin
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  sun-java5-bin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B/22.1MB of archives.
After unpacking 66.6MB of additional disk space will be used.
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 135316 files and directories currently installed.)
Unpacking sun-java5-bin (from .../sun-java5-bin_1.5.0-06-1_i386.deb) ...
sun-dlj-v1-1 license has already been accepted
Setting up sun-java5-jre (1.5.0-06-1) ...
Setting up sun-java5-bin (1.5.0-06-1) ...

Setting up sun-java5-jdk (1.5.0-06-1) ...

Setting up sun-java5-demo (1.5.0-06-1) ...

minerva:/# ls /var/lib/dpkg/info/sun-java5-bin.
sun-java5-bin.conffiles  sun-java5-bin.postinst   sun-java5-bin.prerm
sun-java5-bin.list       sun-java5-bin.postrm
sun-java5-bin.md5sums    sun-java5-bin.preinst
#


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to