How to Fix Broken Packages?

My standard commands when trying to fix packages:

sudo apt-get update
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get check
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update

sudo apt-get install -f

or if it does not work (somehow deb did not finish installing)

sudo dpkg --configure -a