To manually update and upgrade Debian-based Linux packages, run the following command and type in your password in Terminal:
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y
Need to clean things up?
sudo apt-get autoclean && sudo apt-get clean && sudo apt-get autoremove
Are things broken?
sudo dpkg --configure -a
Still broken?
sudo apt-get install -f
This was tested and working on Ubuntu, Kubuntu, Debian, Parrot OS, Kali, and Kodachi