Public bug reported:

 affects /distros/ubuntu/sun-java5
 
sun-java5-plugin fails to install onto a vanilla Ubuntu 6.10 Desktop
system.  A transcript demonstrating the error is "attached" below.
In particular, the lines

        Setting up sun-java5-bin (1.5.0-08-0ubuntu1) ...
        Error: could not find libjava.so
        Error: could not find Java 2 Runtime Environment.

are significant.

        $ cd /tmp
        $ wget -nv http://twb.ath.cx/~twb/canon/transmuter/transmute
        20:08:42 URL:http://twb.ath.cx/~twb/canon/transmuter/transmute 
[40059/40059] -> "transmute" [1]
        $ chmod +x transmute
        $ sudo -H ./transmute --inspect --from 
/iso/ubuntu/ubuntu-6.10-desktop-i386.iso
        /etc/transmuter/site.scm
        Outer directory is /var/tmp/30422
        Inner directory is /var/tmp/30425
        id: cannot find name for group ID 11
        id: cannot find name for group ID 2000
        [EMAIL PROTECTED]:/# echo deb 
http://apt-proxy.office.cyber.com.au:9999/ubuntu edgy main restricted universe 
multiverse >/etc/apt/sources.list
        [EMAIL PROTECTED]:/# apt-get update
        Get:1 http://apt-proxy.office.cyber.com.au edgy Release.gpg [191B]
        Get:2 http://apt-proxy.office.cyber.com.au edgy Release [34.7kB]
        Get:3 http://apt-proxy.office.cyber.com.au edgy/main Packages [940kB]
        Get:4 http://apt-proxy.office.cyber.com.au edgy/restricted Packages 
[5974B]
        Get:5 http://apt-proxy.office.cyber.com.au edgy/universe Packages 
[3559kB]
        Get:6 http://apt-proxy.office.cyber.com.au edgy/multiverse Packages 
[126kB]
        Fetched 4665kB in 14s (325kB/s)
        Reading package lists... Done
        [EMAIL PROTECTED]:/# apt-get install debconf-utils
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        The following NEW packages will be installed:
          debconf-utils
        0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
        Need to get 30.8kB of archives.
        After unpacking 119kB of additional disk space will be used.
        Get:1 http://apt-proxy.office.cyber.com.au edgy/main debconf-utils 
1.5.2ubuntu2 [30.8kB]
        Fetched 30.8kB in 0s (237kB/s)
        debconf: unable to initialize frontend: Dialog
        debconf: (Dialog frontend will not work on a dumb terminal, an emacs 
shell buffer, or without a controlling terminal.)
        debconf: falling back to frontend: Readline
        Selecting previously deselected package debconf-utils.
        (Reading database ... 96582 files and directories currently installed.)
        Unpacking debconf-utils (from .../debconf-utils_1.5.2ubuntu2_all.deb) 
...
        Setting up debconf-utils (1.5.2ubuntu2) ...
        
        [EMAIL PROTECTED]:/# echo sun-java5-bin shared/accepted-sun-dlj-v1-1 
boolean true | debconf-set-selections
        [EMAIL PROTECTED]:/# apt-get install -y sun-java5-plugin
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        The following extra packages will be installed:
          java-common libltdl3 odbcinst1debian1 sun-java5-bin sun-java5-jre 
unixodbc
        Suggested packages:
          equivs sun-java5-fonts ttf-sazanami-gothic ttf-sazanami-mincho 
libmyodbc
          odbc-postgresql libct1
        Recommended packages:
          gsfonts-x11
        The following NEW packages will be installed:
          java-common libltdl3 odbcinst1debian1 sun-java5-bin sun-java5-jre
          sun-java5-plugin unixodbc
        0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
        Need to get 30.4MB of archives.
        After unpacking 84.9MB of additional disk space will be used.
        Get:1 http://apt-proxy.office.cyber.com.au edgy/main java-common 
0.25ubuntu1 [76.8kB]
        Get:2 http://apt-proxy.office.cyber.com.au edgy/main libltdl3 1.5.22-4 
[168kB]
        Get:3 http://apt-proxy.office.cyber.com.au edgy/main odbcinst1debian1 
2.2.11-13 [64.1kB]
        Get:4 http://apt-proxy.office.cyber.com.au edgy/main unixodbc 2.2.11-13 
[269kB]
        Get:5 http://apt-proxy.office.cyber.com.au edgy/multiverse 
sun-java5-bin 1.5.0-08-0ubuntu1 [22.3MB]
        Get:6 http://apt-proxy.office.cyber.com.au edgy/multiverse 
sun-java5-jre 1.5.0-08-0ubuntu1 [7454kB]
        Get:7 http://apt-proxy.office.cyber.com.au edgy/multiverse 
sun-java5-plugin 1.5.0-08-0ubuntu1 [1352B]
        Fetched 30.4MB in 8s (3629kB/s)
        debconf: unable to initialize frontend: Dialog
        debconf: (Dialog frontend will not work on a dumb terminal, an emacs 
shell buffer, or without a controlling terminal.)
        debconf: falling back to frontend: Readline
        Preconfiguring packages ...
        Selecting previously deselected package java-common.
        (Reading database ... 96597 files and directories currently installed.)
        Unpacking java-common (from .../java-common_0.25ubuntu1_all.deb) ...
        Selecting previously deselected package libltdl3.
        Unpacking libltdl3 (from .../libltdl3_1.5.22-4_i386.deb) ...
        Selecting previously deselected package odbcinst1debian1.
        Unpacking odbcinst1debian1 (from 
.../odbcinst1debian1_2.2.11-13_i386.deb) ...
        Selecting previously deselected package unixodbc.
        Unpacking unixodbc (from .../unixodbc_2.2.11-13_i386.deb) ...
        Selecting previously deselected package sun-java5-bin.
        Unpacking sun-java5-bin (from 
.../sun-java5-bin_1.5.0-08-0ubuntu1_i386.deb) ...
        debconf: unable to initialize frontend: Dialog
        debconf: (Dialog frontend will not work on a dumb terminal, an emacs 
shell buffer, or without a controlling terminal.)
        debconf: falling back to frontend: Readline
        sun-dlj-v1-1 license has already been accepted
        Selecting previously deselected package sun-java5-jre.
        Unpacking sun-java5-jre (from 
.../sun-java5-jre_1.5.0-08-0ubuntu1_all.deb) ...
        debconf: unable to initialize frontend: Dialog
        debconf: (Dialog frontend will not work on a dumb terminal, an emacs 
shell buffer, or without a controlling terminal.)
        debconf: falling back to frontend: Readline
        sun-dlj-v1-1 license has already been accepted
        Selecting previously deselected package sun-java5-plugin.
        Unpacking sun-java5-plugin (from 
.../sun-java5-plugin_1.5.0-08-0ubuntu1_i386.deb) ...
        Setting up java-common (0.25ubuntu1) ...
        
        Setting up libltdl3 (1.5.22-4) ...
        
        Setting up odbcinst1debian1 (2.2.11-13) ...
        
        Setting up unixodbc (2.2.11-13) ...
        
        Setting up sun-java5-bin (1.5.0-08-0ubuntu1) ...
        Error: could not find libjava.so
        Error: could not find Java 2 Runtime Environment.
        dpkg: error processing sun-java5-bin (--configure):
         subprocess post-installation script returned error exit status 2
        dpkg: dependency problems prevent configuration of sun-java5-plugin:
         sun-java5-plugin depends on sun-java5-bin (= 1.5.0-08-0ubuntu1); 
however:
          Package sun-java5-bin is not configured yet.
        dpkg: error processing sun-java5-plugin (--configure):
         dependency problems - leaving unconfigured
        dpkg: dependency problems prevent configuration of sun-java5-jre:
         sun-java5-jre depends on sun-java5-bin (= 1.5.0-08-0ubuntu1) | 
ia32-sun-java5-bin (= 1.5.0-08-0ubuntu1); however:
          Package sun-java5-bin is not configured yet.
          Package ia32-sun-java5-bin is not installed.
        dpkg: error processing sun-java5-jre (--configure):
         dependency problems - leaving unconfigured
        Errors were encountered while processing:
         sun-java5-bin
         sun-java5-plugin
         sun-java5-jre
        E: Sub-process /usr/bin/dpkg returned an error code (1)
        [EMAIL PROTECTED]:/# 


-- 
Trent Buck, Student Errant

** Affects: sun-java5 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
sun-java5-bin can't find libjava.so
https://launchpad.net/bugs/74787

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to