Package: atftpd
Version: 0.7.git20210202-3
Severity: important
User: de...@kali.org
Usertags: origin-kali
X-Debbugs-Cc: hert...@debian.org

Hello,

In 0.7.git20210202-4 you fixed the syntax of /etc/default/atftpd but
anyone that installed -1, -2 or -3 has a failed upgrade due to this syntax
mistake. And the error message is very misleading for casual users
and thus not trivial to fix:

Preconfiguring packages ...
/tmp/atftpd.config.b3vwmj: 3: /etc/default/atftpd: 69: not found
atftpd failed to preconfigure, with exit status 127
[...]
Setting up atftpd (0.7.git20210202-4+b1) ...
/var/lib/dpkg/info/atftpd.config: 3: /etc/default/atftpd: 69: not found
dpkg: error processing package atftpd (--configure):
 installed atftpd package post-installation script subprocess returned error 
exit status 127


Unfortunately, the version -3 reached Debian testing (some simple
autopkgtest could have avoided this) and was thus released as part of Kali
and we have many users that have thus installed -3.

Can we please include some upgrade code that detects the broken case and
fix it up?

Thank you in advance.

-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'oldoldstable'), (500, 
'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/16 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages atftpd depends on:
ii  debconf [debconf-2.0]  1.5.77
ii  init-system-helpers    1.60
ii  libc6                  2.32-4
ii  libpcre3               2:8.39-13
ii  libwrap0               7.6.q-31
ii  lsb-base               11.1.0
ii  tcpd                   7.6.q-31
ii  update-inetd           4.51

Versions of packages atftpd recommends:
ii  openbsd-inetd [inet-superserver]  0.20160825-5

Versions of packages atftpd suggests:
ii  logrotate  3.18.1-2

Reply via email to