Created
August 19, 2021 13:48
-
-
Save goforbroke1006/c55fa80bb7a965a42253fd70ee4921cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
PACKAGE_NAME=$1 # ca-certificates for example | |
cd /var/lib/dpkg/info | |
sudo rm ${PACKAGE_NAME}.* | |
sudo apt-get install -f && sudo dpkg --configure -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment