how fix broken packages in ubuntu 18.04 code example
Example 1: Ubuntu fix broken package
sudo apt-get update --fix-missing
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt upgrade
Example 2: fix broken packages ubuntu
sudo dpkg --configure -a