icedtea-netx dpkg error

orbea

So whenever I try to dist-upgrade i get stuck at:

Setting up icedtea-netx:amd64 (1.5.1-1) ...
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)


If I purge icedtea-netx I get:

The following packages will be REMOVED: 
  alsa-base{p} console-tools{p} libappindicator1{p}
  libass4{p} libavcodec54{p} libavcodec55{p}
  libavdevice55{p} libavfilter3{p} libavfilter4{p}
  libavformat55{p} libavresample1{p} libavutil52{p}
  libavutil53{p} libbind9-80{p}
  libcairo-script-interpreter2{p} libcolord1{p}
  libcolorhug1{p} libdb5.1{p} libdbusmenu-glib4{p}
  libdbusmenu-gtk4{p} libdirac-decoder0{p}
  libdns88{p} libdns99{p} libexiv2-12{p}
  libfftw3-long3{p} libgconfmm-2.6-1c2{p}
  libglademm-2.4-1c2a{p} libgphoto2-2{p}
  libgphoto2-port0{p} libgssglue1{p}
  libharfbuzz-gobject0{p} libharfbuzz0a{p}
  libhdb9-heimdal{p} libindicator7{p} libisc84{p}
  libisccc80{p} libisccfg82{p} libkdc2-heimdal{p}
  liblcms1{p} libllvm3.3{p} liblognorm0{p}
  liblwres80{p} libmagick++5{p} libmagickcore5{p}
  libmagickwand5{p} libmbim-glib0{p} libmozjs27d{p}
  libmozjs28d{p} libnfsidmap2{p} libopenjpeg2{p}
  libpackagekit-glib2-16{p} libparted0debian1{p}
  libpcrecpp0{p} libpostproc52{p} libprocps1{p}
  libpython3.3-minimal{p} librtmp0{p}
  libspice-server1{p} libsqlite0{p}
  libswresample0{p} libswscale2{p} libtcl8.5{p}
  libtiff4{p} libtirpc1{p} libvidstab0.9{p}
  libvorbisidec1{p} libvtv0{p} libx264-133{p}
  libx264-140{p} libx265-13{p} libx265-21{p}
  libx265-25{p} libx265-7{p} libxatracker1{p}
  nfs-common{p} pcmciautils{p} python3.3{p}
  python3.3-minimal{p} rpcbind{p} sysvinit-core{p}
  tcl8.5{p}
0 packages upgraded, 0 newly installed, 81 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?]


and reinstalling icedtea-netx:

$ agi icedtea-netx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  icedtea-netx
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/24.5 kB of archives.
After this operation, 156 kB of additional disk space will be used.
Selecting previously unselected package icedtea-netx:amd64.
(Reading database ... 122234 files and directories currently installed.)
Preparing to unpack .../icedtea-netx_1.5.1-1_amd64.deb ...
Unpacking icedtea-netx:amd64 (1.5.1-1) ...
Processing triggers for man-db (2.6.7.1-1) ...
E: Sub-process /usr/bin/dpkg returned an error code (1)


Any ideas how to fix this?

VastOne

#1
Within the last hour I have seen updates in SID to these packages...

openjdk-7-jdk openjdk-7-jre openjdk-7-jre-headless

You might want to remove all instances of the apps in question by using purge and try it all over again

Also as reported on the IRC, this is a known bug
VSIDO      VSIDO Change Blog    

    I dev VSIDO

orbea

I'm fully updated minus "live-config-sysvinit" which needs the dpkg issue resolved.  If I full remove openjdk-7 openjdk-6 gets automatically selected for installation and vica versa, both have the same issues, openjdk-8 too....

statmonkey

This may sound stupid but do you have java8 installed?  I don't have any of those folders that it is trying to create and would suspect you don't either.  Specifically looking at :
Quoteupdate-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):

Which looks frighteningly similar to the crap I am getting with lightdm where it is trying to call a file from a path that does not exist.  If I get my lightdm thing sorted I will try and duplicate this.  But seems like something in the way this is being called is amiss.  Those error codes would indicate the same that something is being asked for and isn't there to be found. fwiw

orbea

Nope, I don't have java-8, i tried installing it the other day to see if that helped, but as it didn't I removed it again...

jedi

Wow orbea, sorry your having such difficulty with this.  I know things in SID have kind of been in flux the last few weeks, however, I've only had issue with Calibre which upon a dist-upgrade just now has corrected.  I will try to do some digging as well.

I also had not rebooted this lappy in a while.  LightDM looks different (maybe?), but it's been so long since I rebooted, I can't even say that with any certainty.

I did successfully complete a dist-upgrade tonight around 10 minutes before the time stamp on this post.  It successfully upgraded icedtea-7-jre-jamvm and all of the openjdk-7-jre openjdk-7-jre-headless tools.  Now that I think about it I seem to remember a LightDM update a week or two ago?

I suppose I should reboot this lappy more, but it is my workhorse while I use the other one for VSIDO testing...
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

orbea

Thanks for the thought, I've been bashing my head against this on and off ever since I installed vsido a few weeks ago, thankfully my #! with sid is not experiencing any of this outside of the occasional 404s, but then I also didn't install that during all this release upheaval.  The lightdm issue doesn't bug me personally as much as I've been meaning to give just xinit a go for a while and if I get tired of that I've been wanting to try cdm. :)