Package: ftp Version: 20210827-3 Severity: normal Usertags: warnings When I upgraded the ftp binary package from 0.17-35 to 20210827-3, the tnftp invocation of update-alternatives gave a warning about the netkit-ftp alternative being missing.
First tnftp was unpacked, then the old ftp package files removed, the new ftp transitional package files unpacked, then the tnftp postinst was run and then the ftp transitional package postinst was run. https://www.debian.org/doc/debian-policy/ap-flowcharts.html I think the correct solution is for the new ftp preinst to remove the netkit-ftp alternative before the old ftp files are removed. Another solution might be for the tnftp postinst to remove the netkit-ftp alternative before adding the tnftp alternative. I didn't test either of the potential solutions though. Package installation log: Log started: 2021-12-08 06:16:28 apt-listchanges: Reading changelogs... apt-listchanges: Mailing root: apt-listchanges: changelogs for chianamo apt-listchanges: Reading changelogs... Selecting previously unselected package tnftp. Preparing to unpack .../tnftp_20210827-2_amd64.deb ... Unpacking tnftp (20210827-2) ... Preparing to unpack .../ftp_20210827-3_all.deb ... Unpacking ftp (20210827-3) over (0.17-35) ... Setting up tnftp (20210827-2) ... update-alternatives: warning: alternative /usr/bin/netkit-ftp (part of link group ftp) doesn't exist; removing from list of alternatives update-alternatives: warning: /etc/alternatives/ftp is dangling; it will be updated with best choice update-alternatives: using /usr/bin/tnftp to provide /usr/bin/ftp (ftp) in auto mode Setting up ftp (20210827-3) ... Processing triggers for man-db (2.9.4-2) ... [master 4edb9812] committing changes in /etc made by "/usr/bin/python3 /usr/bin/unattended-upgrade" 5 files changed, 2 insertions(+), 5 deletions(-) delete mode 120000 alternatives/netrc.5.gz delete mode 120000 alternatives/pftp delete mode 120000 alternatives/pftp.1.gz Log ended: 2021-12-08 06:16:55 -- System Information: Debian Release: bookworm/sid APT prefers testing-debug APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 'testing-proposed-updates-debug'), (860, 'testing-proposed-updates'), (850, 'buildd-testing-proposed-updates'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.15.0-2-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ftp depends on: ii tnftp 20210827-2 ftp recommends no packages. ftp suggests no packages. -- no debconf information -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part