If the first command fails due to missing dependencies, run: sudo apt-get install -f Use code with caution. Copied to clipboard Clear the Lock Files