Skip to content

Instantly share code, notes, and snippets.

@atulkamble
Last active August 11, 2021 06:03
Show Gist options
  • Save atulkamble/99cdaf56325ec966df65f4a961858b8a to your computer and use it in GitHub Desktop.
Save atulkamble/99cdaf56325ec966df65f4a961858b8a to your computer and use it in GitHub Desktop.
You can delete the lock file in linux with the following command:
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
sudo apt-get update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment