Ubuntu 16.04 problem - Could not get lock in folder var lib when trying to install with apt-get
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=OwXt_mKC1Kk
i'm trying to install mysql with :
sudo apt-get install mysql-server
but it getting a error :
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
--
yeah, i'm cannot install with apt-get ...
hem.. how to solving?
just run this script on terminal :
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
Other Videos By Ambar Hasbiyatmoko
Tags:
lock
ubuntu
install
apt-get
dpkb
temporary
lib
proccess
error
problem
linux
terminal
resource