Could not get lock /var/lib/dpkg/lock | Konsultan IT dan jaringan Area Flores

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

Written on 29 December, 2008 – 6:53 pm | by dedyisn | 2,153 views

when i want to install cairo-dock, i get this error. This is because I am stop the download process while it download package :

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?

E: Could not get lock /var/cache/apt/archives/lock – open (11 Resource temporarily unavailable)
E: Unable to lock the download directory


Sometime this error come up when we open synaptic package manager at the same time or synaptic already running. To fix this problem just Close any other package managers

if that doesn’t make effect , do this
rm /var/lib/dpkg/lock
rm /var/cache/apt/archives/lock

After that, you can continue your install any packages

Share and Enjoy:
  • del.icio.us
  • Technorati
  • Digg
  • Facebook
  • Google Bookmarks
  • MySpace
  • YahooMyWeb

Related Posts

  1. 4 Responses to “Could not get lock /var/lib/dpkg/lock”

  2. pagesec1No Gravatar (1 comments.) on Sep 3, 2009

    Nice post, thanks for the info.Comment posted using Internet Explorer Internet Explorer 7.0 on Windows Windows XP

    Reply

    dedyisnNo Gravatar (77 comments.) on Sep 8, 2009

    Your welcome :D Comment posted using Mozilla Firefox Mozilla Firefox 3.5.3 on Windows Windows XP

    Reply

    r-breedNo Gravatar on May 8, 2010

    i did this and said yes to remove it and it said:
    rm cannot remove /var/lib/dpkg/lock: permission denied

    do you know what i can do?Comment posted using Mozilla Firefox Mozilla Firefox 2.0.0.14 on Linux Linux

    Reply

    dedyisnNo Gravatar (77 comments.) on May 24, 2010

    it just permission problem, you must be root user to this action

    ada sudo in front of your command

    sample :
    sudo rm /var/lib/dpkg/lock
    sudo rm /var/cache/apt/archives/lock

    If it need password, then input your login password
    that’s allComment posted using Mozilla Firefox Mozilla Firefox 3.6.3 on Windows Windows XP

    Reply

Post a Comment

:hihi: :hiks: :melet: :nangis: :ngakak: :puyeng: :sip: more »

CommentLuv Enabled

About Me

Here I'll share my knowledge, discovery and experience related to my hobby and work. Most articles on this site are related to tips , my practice result and offcourse about me too. If you want a review for your website or product, contact me via YM or email. For Consultant service in flores "Maumere, Larantuka, Ende, Ruteng, and Bajawa ", just contact me @ email : dedyisn@gmail.com More

Want to subscribe?

 Subscribe in a reader Or, subscribe via email:

Please Enter your email address:

I'm Member of :
Custom Search