Ubuntu Geek

Ubuntu Linux Tips,Howtos&Tutorials|Feisty,Gutsy,Hardy,Intrepid

  • RSS Feed

    subscribe to the ubuntu Geek RSS feed


  • Sponsor

  • Categories

  • Meta

  • Sponsor

  • Archives

  • Support Ubuntugeek

    Amount $:
    Website(Optional):


  • Favourite Sites

How to fix lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) Error

Posted by admin on March 30th, 2007 Email This Post Email This Post

If you are getting the following error when you try to install any packages use the following tip to fix this

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?

Solution

First thing you need to check Synaptic Package Manager open at the same time

or

That happens when synaptic or another package update / installation application is already running. Close any other package managers (including Add/Remove application, language pack installer, etc.) and retry.

Share/Save/Bookmark

If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!

Related Articles

9 Responses to “How to fix lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) Error”

  1. kobewan Says:

    I’ve actually found that recently my apt-get isn’t closing cleanly either, so that it keeps running even if I close the terminal window. A quick “sudo killall apt-get” fixes that, although I’m guessing that this isn’t most proper way of doing things.

  2. Bob Says:

    I’m unable to find anything running, system monitor says everything is sleeping. I even ran sudo killall for apt-get and synaptic and it says “apt-get: no process killed” etc. In the mean time I can’t update my 7.04 alpha system, it says run “dpkg –configure -a”. I ran it but don’t know what to do when it opens. var/lib/dpkg/lock with white X in brown box in the upper right corner, 0 bytes. Help me Ubuntu Geek, your my only hope.

    Newbie

  3. admin Says:

    bob

    could you please provide the exact error message and what you are trying to do

  4. viga Says:

    Thanks!!!!!!!!!

  5. Job Says:

    hahaha, i had synaptic open, i’m such an idiot, thank you :)

  6. JaBa Says:

    rm /var/lib/dpkg/lock

  7. Zangwei Says:

    If we remove the lock file, Is there any influence of the system?

  8. sandeep Says:

    Thanks Q !!!!

  9. cody Says:

    thanks!

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>