7 Oktober 2013

Widgets

Error pada apt-get dan dpkg?

sekedar berbagi pengalaman aja ...

barusan saya mengalami error saat mau melakukan update dan install ..

pesan errornya kyk 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?


solusinya gini :

- buka terminal anda, lalu
ketikkan :

sudo rm /var/lib/dpkg/lock

(Anda bisa juga menggunakan ini… : killall aptitude && killall apt-get atau killall dpkg && killall frontend )

Setelah berhasil, anda bisa langsung mengetikkan perintah berikut :

dpkg --configure -a (posisi sebagai root)

dijamin dah, proses update akan kembali lancar ... hehe laugh

---------------------------------

klo errornya 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 begini :

sudo rm /var/cache/apt/archives/lock


Sumber : http://ubuntu-indonesia.com/forums/ubbthreads.php/topics/3695/all/Error_pada_apt_get_dan_dpkg

SHARE THIS POST   

  • Facebook
  • Twitter
  • Myspace
  • Google Buzz
  • Reddit
  • Stumnleupon
  • Delicious
  • Digg
  • Technorati
Author: Mohammad
Mohammad is the founder of STC Network which offers Web Services and Online Business Solutions to clients around the globe. Read More →
© 2012 Designed by My Blogger Tricks