If you were in the middle of installing a package or updating your system and your terminal froze, your internet cut out, or your computer lost power, you likely encountered this dreaded message:
The -f stands for "fix-broken." It attempts to repair a system with unmet dependencies. Step 5: The "Nuclear" Option (Use with caution) If you were in the middle of installing
If that fails, manually remove the package info: sudo rm -rf /var/lib/dpkg/info/[package_name].* your internet cut out