Tuesday, June 12, 2012

Could not get lock /var/lib/dpkg/lock

Instal ubuntu restricted extras yang terputus gara-gara koneksi inet putus akhirnya muncul
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?
habis googling dapat tutorial berikut ini. Sudah dicoba dan berhasil (alhamdulillah..)

***
Jika setelah install ulang Ubuntu, maka yang pasti kalian akan install jdk. Apabila terdapat pesan error kayak gini  :
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?

Maka solusinya  :
- buka terminal, lalu ketikan
sudo rm /var/lib/dpkg/lock
bisa juga dengan perintah
killall aptitude && killall apt-get atau killall dpkg && killall frontend
- Setelah berhasil, lalu ketikan perintah  :
dpkg --configure -a

Jika pesan error nya kayak gini :
E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory
Solusinya  :
sudo rm /var/cache/apt/archives/lock

*** 

sumber: http://blogs.mervpolis.com/roller/robik/entry/could_not_get_lock_var 

0 comments:

Post a Comment

 

Copyright © BiruDaon Design by O Pregador | Blogger Theme by Blogger Template de luxo | Powered by Blogger