Hi, On Tue, 17 Feb 2015 11:31:57 -0600 John Goerzen <jgoer...@complete.org> wrote: > Package: icedtea-netx > Version: 1.5-2 > Severity: serious > Justification: Doesn't start > > $ javaws launch.jnlp > /usr/bin/javaws: line 102: > /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java: No such file or directory > > It seems that this package depends on openjdk 6 or 7. I did recently > remove version 6 from my system. The dependencies for this package are > still met. javaws should, in this case, either: > > 1) Be split into two packages, one depending on jdk 6 and the other > depending on jdk 7, or > > 2) have its script automatically detect which one to use. > > What's more, update-alternatives cannot even be comfigured to use JDK 7: > > # update-alternatives --config javaws > There is only one alternative in link group javaws (providing > /usr/bin/javaws): /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws > Nothing to configure. > # ls -l /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws > -rwxr-xr-x 1 root root 2660 Jun 30 2014 > /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws > > > -- System Information: > Debian Release: 8.0 > APT prefers testing > APT policy: (500, 'testing') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) > Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (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.5-2 > ii openjdk-7-jre 7u71-2.5.3-2 > > icedtea-netx recommends no packages. > > icedtea-netx suggests no packages. > > -- no debconf information
I cant' reproduce that bug: $ dpkg -l | grep openjdk ii openjdk-7-jre:amd64 7u75-2.5.4-2 amd64 OpenJDK Java runtime, using Hotspot JIT ii openjdk-7-jre-headless:amd64 7u75-2.5.4-2 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) $ dpkg -l | grep icedtea-netx ii icedtea-netx:amd64 1.5-2 amd64 NetX - implementation of the Java Network Launching Protocol (JNLP) ii icedtea-netx-common 1.5-2 all NetX - implementation of the Java Network Launching Protocol (JNLP) $ LANG=C sudo update-alternatives --config javaws There are 2 choices for the alternative javaws (providing /usr/bin/javaws). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws 1071 auto mode 1 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws 1061 manual mode 2 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws 1071 manual mode Looking at icedtea-netx's postinst script it seems the alternatives are configured only if an alternative for openjdk 6 isn't previously set: ... basedir=/usr/lib/jvm/java-6-openjdk-amd64 ... base7dir=/usr/lib/jvm/java-7-openjdk-amd64 ... case "$1" in configure) ... if [ -n "$multiarch" ] && [ -n "$2" ]; then for i in $tools; do if [ -z "$(update-alternatives --list $i 2>/dev/null | grep ^$basedir/)" ]; then update_alternatives=y break fi done fi ... Sounds like un old upgrade path bug. I suppose youl'll be able to workaround this by removing then re-installing icedtea-netx. Thanks, _g.
signature.asc
Description: OpenPGP digital signature