Public bug reported:

An installation of libreoffice ends unsuccessfully, complaining about
icedtea-netx being not installable.

More precisely:

# apt install icedtea-netx
Reading package lists... Done
Building dependency tree
Reading state information... Done
icedtea-netx is already the newest version (1.6.2-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up icedtea-netx:amd64 (1.6.2-1ubuntu1) ...
update-alternatives: error: alternative 
/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws for javaws not registered; not 
setting
dpkg: error processing package icedtea-netx:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 2
No apport report written because the error message indicates its a followup 
error from a previous failure.
                                                                                
                          No apport report written because the error message 
indicates its a followu
p error from a previous failure.
                                dpkg: dependency problems prevent configuration 
of icedtea-8-plugin:amd64:
 icedtea-8-plugin:amd64 depends on icedtea-netx (= 1.6.2-1ubuntu1); however:
  Package icedtea-netx:amd64 is not configured yet.

dpkg: error processing package icedtea-8-plugin:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-java-plugin:
 default-java-plugin depends on icedtea-8-plugin; however:
  Package icedtea-8-plugin:amd64 is not configured yet.

dpkg: error processing package default-java-plugin (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 icedtea-netx:amd64
 icedtea-8-plugin:amd64
 default-java-plugin
E: Sub-process /usr/bin/dpkg returned an error code (1)

Seemingly, icedtea-netx tried to activate JDK7 even though JDK7 was not
installed (see icedtea-netx.postinst.in in the source package).

The following work-around resolves the problem:

# cd /usr/lib/jvm && ln -s java-8-openjdk-amd64 java-7-openjdk-amd64
# apt-get install -f

** Affects: icedtea-web (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1542779

Title:
  icedtea-netx version 1.6.2-1ubuntu1 is not installable on xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/icedtea-web/+bug/1542779/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to