
Originally Posted by
Rasalom
sudo apt update && sudo apt dist-upgrade -y
If you have an issue with "not enough space" during a kernel upgrade, check your current kernel (uname -a) then remove the prior versions listed in the /boot directory (config, initrd, System.map, & vmlinuz).
So, for example, I'm on the 5.4.0-kali4 kernel. If I were to get that error, I would erase config-5.4.0-kali3, kali2,etc, then run the apt dist-upgrade -y command again. Be sure not to erase current kernel nor an updated kernel.