I'm getting error messages for icedtea-netx:amd64

Asked by jason

jason@lordryanshire1:~$ sudo apt-get install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  icedtea-netx icedtea-netx-common libept1.4.12
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  fonts-horai-umefont fonts-unfonts-core gnome-exe-thumbnailer icoutils odbcinst odbcinst1debian2 p7zip unixodbc wine-gecko2.21
  wine-mono0.0.8 wine1.6 wine1.6-amd64 wine1.6-i386:i386 winetricks
Suggested packages:
  libterm-readline-gnu-perl libterm-readline-perl-perl p7zip-full dosbox:any winbind
Recommended packages:
  unixodbc:i386 wine-mono0.0.8:i386
The following NEW packages will be installed:
  fonts-horai-umefont fonts-unfonts-core gnome-exe-thumbnailer icoutils odbcinst odbcinst1debian2 p7zip unixodbc wine wine-gecko2.21
  wine-mono0.0.8 wine1.6 wine1.6-amd64 wine1.6-i386:i386 winetricks
0 upgraded, 15 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
Need to get 121 MB of archives.
After this operation, 438 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu/ utopic/universe fonts-horai-umefont all 463-1 [5,541 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ utopic/main fonts-unfonts-core all 1.0.3.is.1.0.2-080608-10ubuntu1 [14.4 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ utopic/main odbcinst amd64 2.3.1-3 [13.1 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ utopic/main odbcinst1debian2 amd64 2.3.1-3 [40.6 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ utopic/multiverse wine-gecko2.21 amd64 2.21-0ubuntu1 [21.5 MB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ utopic/multiverse wine-mono0.0.8 all 0.0.8-0ubuntu1 [46.5 MB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ utopic/universe wine1.6-amd64 amd64 1:1.6.2-0ubuntu6 [16.3 MB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ utopic/universe wine1.6-i386 i386 1:1.6.2-0ubuntu6 [15.7 MB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ utopic/universe wine1.6 amd64 1:1.6.2-0ubuntu6 [865 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ utopic/universe icoutils amd64 0.31.0-2 [56.1 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ utopic/universe p7zip amd64 9.20.1~dfsg.1-4.1 [297 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu/ utopic/main unixodbc amd64 2.3.1-3 [20.0 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu/ utopic/universe winetricks all 0.0+20140302-0ubuntu2 [131 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu/ utopic/universe gnome-exe-thumbnailer all 0.9.3-0ubuntu1 [30.9 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu/ utopic/universe wine amd64 1:1.6.2-0ubuntu6 [1,020 B]
Fetched 121 MB in 4min 1s (503 kB/s)
Selecting previously unselected package fonts-horai-umefont.
(Reading database ... 204167 files and directories currently installed.)
Preparing to unpack .../fonts-horai-umefont_463-1_all.deb ...
Unpacking fonts-horai-umefont (463-1) ...
Selecting previously unselected package fonts-unfonts-core.
Preparing to unpack .../fonts-unfonts-core_1.0.3.is.1.0.2-080608-10ubuntu1_all.deb ...
Unpacking fonts-unfonts-core (1.0.3.is.1.0.2-080608-10ubuntu1) ...
Selecting previously unselected package odbcinst.
Preparing to unpack .../odbcinst_2.3.1-3_amd64.deb ...
Unpacking odbcinst (2.3.1-3) ...
Selecting previously unselected package odbcinst1debian2:amd64.
Preparing to unpack .../odbcinst1debian2_2.3.1-3_amd64.deb ...
Unpacking odbcinst1debian2:amd64 (2.3.1-3) ...
Selecting previously unselected package wine-gecko2.21:amd64.
Preparing to unpack .../wine-gecko2.21_2.21-0ubuntu1_amd64.deb ...
Unpacking wine-gecko2.21:amd64 (2.21-0ubuntu1) ...
Selecting previously unselected package wine-mono0.0.8.
Preparing to unpack .../wine-mono0.0.8_0.0.8-0ubuntu1_all.deb ...
Unpacking wine-mono0.0.8 (0.0.8-0ubuntu1) ...
Selecting previously unselected package wine1.6-amd64.
Preparing to unpack .../wine1.6-amd64_1%3a1.6.2-0ubuntu6_amd64.deb ...
Unpacking wine1.6-amd64 (1:1.6.2-0ubuntu6) ...
Selecting previously unselected package wine1.6-i386.
Preparing to unpack .../wine1.6-i386_1%3a1.6.2-0ubuntu6_i386.deb ...
Unpacking wine1.6-i386 (1:1.6.2-0ubuntu6) ...
Selecting previously unselected package wine1.6.
Preparing to unpack .../wine1.6_1%3a1.6.2-0ubuntu6_amd64.deb ...
Unpacking wine1.6 (1:1.6.2-0ubuntu6) ...
Selecting previously unselected package icoutils.
Preparing to unpack .../icoutils_0.31.0-2_amd64.deb ...
Unpacking icoutils (0.31.0-2) ...
Selecting previously unselected package p7zip.
Preparing to unpack .../p7zip_9.20.1~dfsg.1-4.1_amd64.deb ...
Unpacking p7zip (9.20.1~dfsg.1-4.1) ...
Selecting previously unselected package unixodbc.
Preparing to unpack .../unixodbc_2.3.1-3_amd64.deb ...
Unpacking unixodbc (2.3.1-3) ...
Selecting previously unselected package winetricks.
Preparing to unpack .../winetricks_0.0+20140302-0ubuntu2_all.deb ...
Unpacking winetricks (0.0+20140302-0ubuntu2) ...
Selecting previously unselected package gnome-exe-thumbnailer.
Preparing to unpack .../gnome-exe-thumbnailer_0.9.3-0ubuntu1_all.deb ...
Unpacking gnome-exe-thumbnailer (0.9.3-0ubuntu1) ...
Selecting previously unselected package wine.
Preparing to unpack .../wine_1%3a1.6.2-0ubuntu6_amd64.deb ...
Unpacking wine (1:1.6.2-0ubuntu6) ...
Processing triggers for fontconfig (2.11.1-0ubuntu3) ...
Processing triggers for man-db (2.7.0.2-2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for bamfdaemon (0.5.1+14.10.20140925-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu2) ...
Processing triggers for mime-support (3.55ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for gconf2 (3.2.6-2ubuntu1) ...
Setting up icedtea-netx:amd64 (1.5.1-1ubuntu1) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings because link group itweb-settings is broken
update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings because link group itweb-settings is broken
update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link
update-alternatives: error: alternative path /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/javaws doesn't exist
dpkg: error processing package icedtea-netx:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up fonts-horai-umefont (463-1) ...
Setting up fonts-unfonts-core (1.0.3.is.1.0.2-080608-10ubuntu1) ...
Setting up wine-gecko2.21:amd64 (2.21-0ubuntu1) ...
Setting up wine-mono0.0.8 (0.0.8-0ubuntu1) ...
Setting up icoutils (0.31.0-2) ...
Setting up p7zip (9.20.1~dfsg.1-4.1) ...
Setting up winetricks (0.0+20140302-0ubuntu2) ...
Setting up gnome-exe-thumbnailer (0.9.3-0ubuntu1) ...
Setting up odbcinst1debian2:amd64 (2.3.1-3) ...
Setting up wine1.6 (1:1.6.2-0ubuntu6) ...
Setting up wine1.6-i386 (1:1.6.2-0ubuntu6) ...
Setting up unixodbc (2.3.1-3) ...
Setting up wine (1:1.6.2-0ubuntu6) ...
Setting up odbcinst (2.3.1-3) ...
Setting up wine1.6-amd64 (1:1.6.2-0ubuntu6) ...
Processing triggers for libc-bin (2.19-10ubuntu2) ...
Errors were encountered while processing:
 icedtea-netx:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
jason
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of :

file /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/javaws; cat /etc/issue; uname -a

Thanks

Revision history for this message
jason (jasonryanjryan) said :
#2

Thanks for the reply. Here is the info.

jason@lordryanshire1:~$ /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/javaws
bash: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/javaws: No such file or directory
jason@lordryanshire1:~$ cat /etc/issue
Ubuntu 14.10 \n \l

jason@lordryanshire1:~$ uname -a
Linux lordryanshire1 3.16.0-25-generic #33-Ubuntu SMP Tue Nov 4 12:06:54 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
jason@lordryanshire1:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

What is the output of the terminal commands

sudo apt-get update
sudo apt-get install icedtea-netx:amd64- icedtea-netx:amd64

Revision history for this message
jason (jasonryanjryan) said :
#4

jason@lordryanshire1:~$ sudo apt-get update
[sudo] password for jason:
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://us.archive.ubuntu.com utopic InRelease
Hit http://dl.google.com stable Release
Ign http://us.archive.ubuntu.com utopic-updates InRelease
Ign http://extras.ubuntu.com utopic InRelease
Hit http://dl.google.com stable/main amd64 Packages
Ign http://ppa.launchpad.net utopic InRelease
Ign http://us.archive.ubuntu.com utopic-backports InRelease
Ign http://security.ubuntu.com utopic-security InRelease
Hit http://dl.google.com stable/main i386 Packages
Hit http://us.archive.ubuntu.com utopic Release.gpg
Hit http://extras.ubuntu.com utopic Release.gpg
Get:1 http://security.ubuntu.com utopic-security Release.gpg [933 B]
Ign http://ppa.launchpad.net utopic InRelease
Get:2 http://us.archive.ubuntu.com utopic-updates Release.gpg [933 B]
Hit http://extras.ubuntu.com utopic Release
Hit http://us.archive.ubuntu.com utopic-backports Release.gpg
Get:3 http://security.ubuntu.com utopic-security Release [62.0 kB]
Ign http://ppa.launchpad.net utopic InRelease
Hit http://us.archive.ubuntu.com utopic Release
Get:4 http://us.archive.ubuntu.com utopic-updates Release [62.0 kB]
Hit http://extras.ubuntu.com utopic/main Sources
Ign http://dl.google.com stable/main Translation-en_US
Ign http://ppa.launchpad.net utopic InRelease
Ign http://dl.google.com stable/main Translation-en
Hit http://extras.ubuntu.com utopic/main amd64 Packages
Ign http://ppa.launchpad.net utopic InRelease
Hit http://us.archive.ubuntu.com utopic-backports Release
Hit http://extras.ubuntu.com utopic/main i386 Packages
Hit http://us.archive.ubuntu.com utopic/main Sources
Hit http://ppa.launchpad.net utopic Release.gpg
Get:5 http://security.ubuntu.com utopic-security/main Sources [19.3 kB]
Hit http://us.archive.ubuntu.com utopic/restricted Sources
Hit http://us.archive.ubuntu.com utopic/universe Sources
Hit http://ppa.launchpad.net utopic Release.gpg
Get:6 http://security.ubuntu.com utopic-security/restricted Sources [14 B]
Hit http://us.archive.ubuntu.com utopic/multiverse Sources
Hit http://us.archive.ubuntu.com utopic/main amd64 Packages
Hit http://ppa.launchpad.net utopic Release.gpg
Get:7 http://security.ubuntu.com utopic-security/universe Sources [6,286 B]
Hit http://us.archive.ubuntu.com utopic/restricted amd64 Packages
Hit http://us.archive.ubuntu.com utopic/universe amd64 Packages
Hit http://ppa.launchpad.net utopic Release.gpg
Get:8 http://security.ubuntu.com utopic-security/multiverse Sources [703 B]
Hit http://us.archive.ubuntu.com utopic/multiverse amd64 Packages
Get:9 http://security.ubuntu.com utopic-security/main amd64 Packages [54.2 kB]
Hit http://us.archive.ubuntu.com utopic/main i386 Packages
Hit http://ppa.launchpad.net utopic Release.gpg
Hit http://us.archive.ubuntu.com utopic/restricted i386 Packages
Hit http://ppa.launchpad.net utopic Release
Get:10 http://security.ubuntu.com utopic-security/restricted amd64 Packages [14 B]
Hit http://us.archive.ubuntu.com utopic/universe i386 Packages
Hit http://ppa.launchpad.net utopic Release
Hit http://us.archive.ubuntu.com utopic/multiverse i386 Packages
Get:11 http://security.ubuntu.com utopic-security/universe amd64 Packages [28.2 kB]
Hit http://us.archive.ubuntu.com utopic/main Translation-en
Hit http://ppa.launchpad.net utopic Release
Get:12 http://security.ubuntu.com utopic-security/multiverse amd64 Packages [1,143 B]
Hit http://us.archive.ubuntu.com utopic/multiverse Translation-en
Ign http://extras.ubuntu.com utopic/main Translation-en_US
Hit http://us.archive.ubuntu.com utopic/restricted Translation-en
Hit http://ppa.launchpad.net utopic Release
Get:13 http://security.ubuntu.com utopic-security/main i386 Packages [53.7 kB]
Hit http://us.archive.ubuntu.com utopic/universe Translation-en
Ign http://extras.ubuntu.com utopic/main Translation-en
Get:14 http://us.archive.ubuntu.com utopic-updates/main Sources [26.2 kB]
Hit http://ppa.launchpad.net utopic Release
Get:15 http://us.archive.ubuntu.com utopic-updates/restricted Sources [14 B]
Get:16 http://security.ubuntu.com utopic-security/restricted i386 Packages [14 B]
Get:17 http://us.archive.ubuntu.com utopic-updates/universe Sources [8,754 B]
Hit http://ppa.launchpad.net utopic/main amd64 Packages
Get:18 http://us.archive.ubuntu.com utopic-updates/multiverse Sources [703 B]
Get:19 http://security.ubuntu.com utopic-security/universe i386 Packages [28.1 kB]
Get:20 http://us.archive.ubuntu.com utopic-updates/main amd64 Packages [66.8 kB]
Hit http://ppa.launchpad.net utopic/main i386 Packages
Get:21 http://security.ubuntu.com utopic-security/multiverse i386 Packages [1,394 B]
Get:22 http://us.archive.ubuntu.com utopic-updates/restricted amd64 Packages [14 B]
Get:23 http://security.ubuntu.com utopic-security/main Translation-en [27.0 kB]
Hit http://ppa.launchpad.net utopic/main Translation-en
Get:24 http://us.archive.ubuntu.com utopic-updates/universe amd64 Packages [34.9 kB]
Get:25 http://us.archive.ubuntu.com utopic-updates/multiverse amd64 Packages [1,143 B]
Hit http://security.ubuntu.com utopic-security/multiverse Translation-en
Hit http://ppa.launchpad.net utopic/main amd64 Packages
Get:26 http://us.archive.ubuntu.com utopic-updates/main i386 Packages [65.7 kB]
Hit http://security.ubuntu.com utopic-security/restricted Translation-en
Get:27 http://us.archive.ubuntu.com utopic-updates/restricted i386 Packages [14 B]
Get:28 http://us.archive.ubuntu.com utopic-updates/universe i386 Packages [34.8 kB]
Hit http://ppa.launchpad.net utopic/main i386 Packages
Hit http://security.ubuntu.com utopic-security/universe Translation-en
Get:29 http://us.archive.ubuntu.com utopic-updates/multiverse i386 Packages [1,394 B]
Hit http://ppa.launchpad.net utopic/main Translation-en
Get:30 http://us.archive.ubuntu.com utopic-updates/main Translation-en [32.1 kB]
Hit http://ppa.launchpad.net utopic/main amd64 Packages
Hit http://us.archive.ubuntu.com utopic-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com utopic-updates/restricted Translation-en
Hit http://ppa.launchpad.net utopic/main i386 Packages
Hit http://us.archive.ubuntu.com utopic-updates/universe Translation-en
Hit http://us.archive.ubuntu.com utopic-backports/main Sources
Hit http://ppa.launchpad.net utopic/main Translation-en
Hit http://us.archive.ubuntu.com utopic-backports/restricted Sources
Hit http://us.archive.ubuntu.com utopic-backports/universe Sources
Hit http://ppa.launchpad.net utopic/main amd64 Packages
Hit http://us.archive.ubuntu.com utopic-backports/multiverse Sources
Hit http://us.archive.ubuntu.com utopic-backports/main amd64 Packages
Hit http://ppa.launchpad.net utopic/main i386 Packages
Hit http://us.archive.ubuntu.com utopic-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com utopic-backports/universe amd64 Packages
Hit http://ppa.launchpad.net utopic/main Translation-en
Hit http://us.archive.ubuntu.com utopic-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com utopic-backports/main i386 Packages
Hit http://ppa.launchpad.net utopic/main amd64 Packages
Hit http://us.archive.ubuntu.com utopic-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com utopic-backports/universe i386 Packages
Hit http://ppa.launchpad.net utopic/main i386 Packages
Hit http://us.archive.ubuntu.com utopic-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com utopic-backports/main Translation-en
Hit http://ppa.launchpad.net utopic/main Translation-en
Hit http://us.archive.ubuntu.com utopic-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com utopic-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com utopic-backports/universe Translation-en
Fetched 618 kB in 6s (94.2 kB/s)
Reading package lists... Done
jason@lordryanshire1:~$ sudo apt-get install icedtea-netx:amd64- icedtea-netx:amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
icedtea-netx is already the newest version.
The following package was automatically installed and is no longer required:
  libept1.4.12
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
1 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.5.1-1ubuntu1) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings because link group itweb-settings is broken
update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings because link group itweb-settings is broken
update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link
update-alternatives: error: alternative path /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/javaws doesn't exist
dpkg: error processing package icedtea-netx:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 icedtea-netx:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Try

sudo dpkg --purge icedtea-netx:amd64

If that fails with a dependency error, try

sudo dpkg --purge --force-depends icedtea-netx:amd64

and finally issue

sudo apt-get install icedtea-netx:amd64

Please copy/paste all output as done before.

Revision history for this message
jason (jasonryanjryan) said :
#6

Thanks, here it is.

jason@lordryanshire1:~$ sudo dpkg --purge icedtea-netx:amd64
[sudo] password for jason:
(Reading database ... 208147 files and directories currently installed.)
Removing icedtea-netx:amd64 (1.5.1-1ubuntu1) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings because link group itweb-settings is broken
update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link
Processing triggers for man-db (2.7.0.2-2) ...
jason@lordryanshire1:~$ sudo dpkg --purge --force-depends icedtea-netx:amd64
dpkg: warning: ignoring request to remove icedtea-netx which isn't installed
jason@lordryanshire1:~$ sudo apt-get install icedtea-netx:amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libept1.4.12
Use 'apt-get autoremove' to remove it.
The following NEW packages will be installed:
  icedtea-netx
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 20.1 kB of archives.
After this operation, 156 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ utopic/main icedtea-netx amd64 1.5.1-1ubuntu1 [20.1 kB]
Fetched 20.1 kB in 0s (42.6 kB/s)
Selecting previously unselected package icedtea-netx:amd64.
(Reading database ... 208117 files and directories currently installed.)
Preparing to unpack .../icedtea-netx_1.5.1-1ubuntu1_amd64.deb ...
Unpacking icedtea-netx:amd64 (1.5.1-1ubuntu1) ...
Processing triggers for man-db (2.7.0.2-2) ...
Setting up icedtea-netx:amd64 (1.5.1-1ubuntu1) ...
update-alternatives: using /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/itweb-settings to provide /usr/bin/itweb-settings (itweb-settings) in auto mode
update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link
update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings to provide /usr/bin/itweb-settings (itweb-settings) in auto mode
update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link
update-alternatives: error: alternative path /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/javaws doesn't exist
dpkg: error processing package icedtea-netx:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 icedtea-netx:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
jason@lordryanshire1:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

There seems to be a problem with an incomplete java-8 installation.
Try (re-)installing java-8-openjdk with the command

sudo apt-get install --reinstall openjdk-8-jre
sudo dpkg --configure -a

If that still fails, you might try using a hack:

sudo ln -sv /usr/lib/jvm/java-7-openjdk-amd64 /usr/lib/jvm/java-8-openjdk-amd64
sudo dpkg --configure -a

(source: https://bugs.launchpad.net/ubuntu/+source/icedtea-web/+bug/1363785/comments/14 )

Revision history for this message
jason (jasonryanjryan) said :
#8

Thank you everybody for your help! I purged all java-8 and now I'm not getting any errors.