← Back to team overview

openjdk team mailing list archive

Bug#813906: icedtea-netx: Fails to upgrade if openjdk-7-jre-headless is removed: "alternative /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws for javaws not registered; not setting"

 

Package: icedtea-netx
Version: 1.6.2-1
Severity: serious

Hi,

upgrading icedtea-netx from 1.6.1-4 to 1.6.2-1 while removing all
openjdk7 packages (which is allowed according to the dependencies) fails
for me as follows:

Setting up icedtea-netx:amd64 (1.6.2-1) ...
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
dpkg: dependency problems prevent configuration of icedtea-8-plugin:amd64:
 icedtea-8-plugin:amd64 depends on icedtea-netx (= 1.6.2-1); 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 icedtea-plugin:
 icedtea-plugin depends on icedtea-8-plugin; however:
  Package icedtea-8-plugin:amd64 is not configured yet.

dpkg: error processing package icedtea-plugin (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 icedtea-netx:amd64
 icedtea-8-plugin:amd64
 icedtea-plugin

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), (105, 'experimental-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages icedtea-netx depends on:
ii  icedtea-netx-common  1.6.2-1
ii  openjdk-7-jre        7u95-2.6.4-1
ii  openjdk-8-jre        8u72-b15-2

icedtea-netx recommends no packages.

icedtea-netx suggests no packages.

-- no debconf information