Package: gcj-5-jre-headless Version: 5.2.1-22 Severity: normal One has the following update-alternatives priorities:
xvii:~> update-alternatives --display java [...] /usr/bin/gij-4.6 - priority 1046 /usr/bin/gij-4.7 - priority 1047 /usr/bin/gij-4.8 - priority 1048 /usr/bin/gij-4.9 - priority 1049 /usr/bin/gij-5 - priority 105 [...] 105 for the latest version is too low. I suppose that it should be 1050 and the problem is due to out-of-date code in debian/rules.defs, which assumes that BASE_VERSION has 2 components: java_priority = 10$(subst .,,$(BASE_VERSION)) -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.0.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages gcj-5-jre-headless depends on: ii gcc-5-base 5.2.1-22 ii gcj-5-jre-lib 5.2.1-22 ii libc6 2.19-22 ii libgcc1 1:5.2.1-22 ii libgcj16 5.2.1-22 ii zlib1g 1:1.2.8.dfsg-2+b1 gcj-5-jre-headless recommends no packages. Versions of packages gcj-5-jre-headless suggests: ii fastjar 2:0.98-6 pn gcj-5-jdk <none> ii libgcj16-awt 5.2.1-22 -- no debconf information