Cara Mengatasi Error "Could not get lock" Pada Ubuntu

Cara mengatasi 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?

You can delete the lock file with the following command:

sudo rm /var/lib/apt/lists/lock
You may also need to delete the lock file in the cache directory
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock

Subscribe to receive free email updates: