Could large but sparsely populated country control its borders? Please try again later. Count the characters - bit by bit! If this is the case just wait few seconds or launch Update Manager to check the status. http://sinistro.org/unable-to/could-not-get-lock-var-lib-dpkg-lock-open-11-resource.html
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Working... Sign in to add this video to a playlist. share|improve this answer edited Apr 6 '14 at 21:14 answered Oct 4 '13 at 12:39 Batsu 1593 I had this right after installing Ubuntu 16.04.
If you read the newspaper, you're mis-informed. - Mark Twain Thinking about becoming an Ubuntu Member? Abha Network 28,298 views 1:56 How to fix Cydia Error: Wow, you exceeded the number of package names this APT is capable of - Duration: 1:03. Loading... If you try ps aux | grep apt that will catch processes containing the word apt, at least.
Before it did so, it ran apt-get -yqq update, and this failed with error:==> default: Could not get lock /var/lib/dpkg/lock — open (11: Resource temporarily unavailable)While troubleshooting I found Ubuntu apt-daily Loading... So, I thought these were symptoms and changed my data and time manually. Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked Maybe some old apt thread is locking the file, you need to find out which and kill it or just rebooting will do it. –Bruno Pereira Jan 29 '12 at 11:19
share|improve this answer answered Jun 11 '12 at 21:47 izx 93.8k22220264 add a comment| up vote 1 down vote I don't see this answer anywhere above but on Ubuntu 16.04, I Sudo Rm /var/lib/apt/lists/lock Sign in to add this to Watch Later Add to Loading playlists... How does ssh run a command? To add to his solution, 1.
The programs that can do this are: The Software Center The Update Manager The apt link installer (I think this now goes through SC) The apt-get or aptitude command line utilities. https://www.blackmoreops.com/2015/08/17/fixing-e-could-not-get-lock-varlibdpkglock-open-11-resource-temporarily-unavailable-error/ This may leave the user stranded with a broken system. Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu corrupted. E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or directory) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Code: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2EBC26B60C5A2783 then type Code: sudo apt-get update Kind regards Last edited by matt_symes; October 12th, 2011 at 04:40 PM. Check This Out apt package-management dpkg share|improve this question edited Jul 2 at 10:33 Volker Siegel 6,37122145 asked Nov 30 '10 at 2:12 La Ode Adam Saputra 2,2203108 6 This is also true What are these boxes mounted inline on each of the 3 phase wires of a high voltage power line in Miami? It might be better to find out which process has the lock and kill that process. /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable
Add to Want to watch this again later? Hope this helps. :) –Hari Apr 6 '13 at 12:23 19 You can use sudo lsof /var/lib/dpkg/lock to find the process that owns the lock file (if empty, assume the Sign in Share More Report Need to report the video? Source I then used "fuser" as described in earlier posts and apt worked, but I was getting complaints about needing to run dpkg -a -reconfigure.
That should resolve the issue. Unable To Lock Directory /var/cache/apt/archives/ This feature is not available right now. shafiqueksg 958 views 3:30 Kernel headers problem solved (linux-headers-$(uname -r)) - Duration: 5:51.
You may link to the original discussion in the new thread if you think it may be helpful. Why is credit card information not stolen more often? Killing an apt or aptitude process is harmless unless it is actually in the middle of package installation. Rm: Cannot Remove ‘/var/lib/apt/lists/lock’: No Such File Or Directory more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
What does the author want to convey by ending his letter with »Tschüssikowsky«? I got it by reading many answers to questions like this one. See this for more info: ubuntuforums.org/showthread.php?t=1858466 –user3728501 Oct 10 '15 at 18:46 add a comment| 1 Answer 1 active oldest votes up vote 40 down vote search for processes. have a peek here Thank you very much.
Join Date May 2010 Location uk Beans 9,374 DistroXubuntu 14.04 Trusty Tahr Re: Problem with update- Unable to lock Administration directory Hi Originally Posted by majordread lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon sudo rm /var/lib/dpkg/lock sudo dpkg --configure -a It should work after this.