PDA

View Full Version : Newbie- Fresh Install - Update Errors



Rafen
2021-09-21, 03:40
I have a fresh install of Kali and after doing:
apt-get update
apt update (may not be needed but this is what I did)
apt upgrade

It goes through the process but I get this at the end:
Errors were encountered while processing:
atftpd
kali-linux-headless
kali-linux-default
kali-linux-large
E: Sub-process /usr/bin/dpkg returned an error code (1)

If I run it again (just the upgrade):
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libepsilon1 libgdal28 libidn11 libntfs-3g883 libstrictures-perl libyara4
python3-ipython-genutils
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
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
dpkg: dependency problems prevent configuration of kali-linux-headless:
kali-linux-headless depends on atftpd; however:
Package atftpd is not configured yet.

dpkg: error processing package kali-linux-headless (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kali-linux-default:
kali-linux-default depends on kali-linux-headless; however:
Package kali-linux-headless is not configured yet.

dpkg: error processing package kali-linux-default (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kali-linux-large:
kali-linux-large depends on kali-linux-default; however:
Package kali-linux-default is not configured yet.

dpkg: error processing package kali-linux-large (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
atftpd
kali-linux-headless
kali-linux-default
kali-linux-large
E: Sub-process /usr/bin/dpkg returned an error code (1)


Be easy on me :) I am new but love learning this stuff. I have spent way to long trying to research this on my own without asking for help.

How can I clean up these errors?

Thanks!