Package: dpkg Version: 1.20.11 Severity: normal File: /usr/bin/update-alternatives X-Debbugs-Cc: r...@linux-m68k.org
Dear Maintainer, on my system I have both i386 and amd64 versions of Java. I used update-alternatives to select am64 version while the proimary architecture is i386. My configuration looked like # update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/lib/jvm/java-11-openjdk-i386/bin/java 1111 auto mode * 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1110 manual mode 2 /usr/lib/jvm/java-11-openjdk-i386/bin/java 1111 manual mode While doing "apt-get dist-upgrade" I saw following messages in the console: update-alternatives: removing manually selected alternative - switching java to auto mode update-alternatives: using /usr/lib/jvm/java-11-openjdk-i386/bin/java to provide /usr/bin/java (java) in auto mode and the resulting configuration looked like this: # update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/jvm/java-11-openjdk-i386/bin/java 1111 auto mode 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1110 manual mode 2 /usr/lib/jvm/java-11-openjdk-i386/bin/java 1111 manual mode My understanding of the manpage of update-alternatives is that once manual mode is selected it should not be changed back to auto mode by an action like updating the package? Or how else should I achieve the desired effect? Best Regards Richard -- Package-specific info: System tainted due to merged-usr-via-aliased-dirs. -- System Information: Debian Release: 11.4 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable'), (100, 'testing') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 5.10.0-16-amd64 (SMP w/2 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dpkg depends on: ii libbz2-1.0 1.0.8-4 ii libc6 2.31-13+deb11u3 ii liblzma5 5.2.5-2.1~deb11u1 ii libselinux1 3.1-3 ii tar 1.34+dfsg-1 ii zlib1g 1:1.2.11.dfsg-2+deb11u1 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 2.2.4 pn debsig-verify <none> -- no debconf information