sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: python3-webencodings 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 11.3 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://kali.download/kali kali-rolling/main amd64 python3-webencodings all 0.5.1-3 [11.3 kB] Fetched 11.3 kB in 2s (6,033 B/s) (Reading database ... 285023 files and directories currently installed.) Preparing to unpack .../python3-webencodings_0.5.1-3_all.deb ... Unpacking python3-webencodings (0.5.1-3) over (0.5.1-2kali1) ... Setting up python3-webencodings (0.5.1-3) ... 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 Errors were encountered while processing: atftpd E: Sub-process /usr/bin/dpkg returned an error code (1)