TechToFreedom
Published in

TechToFreedom

3 Ways To Fix the “Could not get lock /var/lib/dpkg/lock” Issue on Linux

Understanding the locking mechanism of Linux

seagull bird looking into the distance
Image by Alexander Gresbek from Pixabay

Yesterday, when I tried to install Docker to my Ubuntu, an unexpected error appeared:

I felt upset at first, cause the Docker’s official document didn’t mention that some errors might appear when installing it. I’ve used Docker for nearly two…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store