Created
May 1, 2019 05:39
-
-
Save purarue/7f4a9bfd16b8fdb37b5f5eac5cfc5e0b to your computer and use it in GitHub Desktop.
This kills all apt processes, and removes and reconfigures dpkg locks and starts apt upgrade on a new VM
This file contains 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
sudo killall apt apt-get | |
sudo rm /var/lib/apt/lists/lock | |
sudo rm /var/cache/apt/archives/lock | |
sudo rm /var/lib/dpkg/lock* | |
sudo dpkg --configure -a | |
sudo apt update && sudo apt upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment