Results 1 to 5 of 5

Thread: apt-get problem

  1. #1
    Join Date
    Sep 2008
    Beans
    52

    apt-get problem

    "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?"

    I get this message in terminal, it's obvious that there is another package manager being used, however I don't know what it is! I've previously used the commands 'aptitude' and 'apt-get' but thought the processes had finished.

    Question: How can I find out what the conflicting process is and terminate it?

  2. #2
    Join Date
    Aug 2006
    Beans
    12,999
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: apt-get problem

    Do you have Synaptic or Add/Remove open?

  3. #3
    Join Date
    Mar 2009
    Beans
    694

    Re: apt-get problem

    Also make sure that the automatic update icon is not active on your panel.

  4. #4
    Join Date
    Aug 2005
    Location
    Philadelphia, PA, USA
    Beans
    2,774
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: apt-get problem

    Do you have the synaptic package manager or the Add / Remove package manager open when you are using apt-get? I have seen this when I forgot to close synaptic before using apt-get.

    EDIT: Well, I guess we were all looking at this one. There were no replies when I started typing!
    Registered Linux User #422464 http://linuxcounter.net/
    Use the search engine that respects your privacy rights: https://startpage.com/

  5. #5
    Join Date
    May 2008
    Beans
    Hidden!

    Re: apt-get problem

    dpkg, apt-get, aptitude, Synaptic, or Add/Remove, could all be causing it. But if you're certain you aren't running any of these, or something else, remove the lock file manually:

    Code:
    sudo rm /var/lib/dpkg/lock

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •