dpkg: error processing package kali-menu (--configure):installed kali-menu package post-installation script subprocess returned error exit status 2Errors were encountered while processing:kali-menu code example
Example 1: E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo dpkg --configure -a
Example 2: Sub-process /usr/bin/dpkg returned an error code
sudo apt-get remove --purge package_name