sudo dpkg --configure -a
If the primary command fails or hangs, you can try these additional steps to clear the package manager: Fix Broken Dependencies : If there are unmet requirements, use the Debian/Ubuntu fix-broken command sudo apt-get install -f Clear Lock Files
sudo dpkg --configure -a
If the primary command fails or hangs, you can try these additional steps to clear the package manager: Fix Broken Dependencies : If there are unmet requirements, use the Debian/Ubuntu fix-broken command sudo apt-get install -f Clear Lock Files sudo dpkg --configure -a If the primary command