Killing a dpkg process directly, if present, is not a good idea, because if dpkg is active, it is probably manipulating the package database, and killing it may leave the package User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. Copy sent to APT Development Team
Would society of simultaneous hermaphrodites have gender roles? This worked for me, as it was trying to finish something it stared before the machine was stopped previously, and couldn't figure it out on his own. –morynicz Sep 14 '13 asked 3 years ago viewed 193255 times active 2 years ago Blog Stack Overflow Gives Back 2016 Developers, Webmasters, and Ninjas: What’s in a Job Title?
What is the difference between perspective distortion and barrel or pincushion distortion? Try this command in terminal to find what is running ps -e | grep -e apt -e adept | grep -v grep Note: If that doesn’t print anything, type the following I literally wait 30 seconds and it fixes the issue. Could Not Get Lock /var/lib/dpkg/lock Kali E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ Solution: If you encounter with the same error, do the following steps.
asked 2 years ago viewed 210042 times active 2 months ago Blog Stack Overflow Gives Back 2016 Developers, Webmasters, and Ninjas: What’s in a Job Title? up vote 407 down vote favorite 166 I get this error when trying to use apt-get: E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to Unable To Lock The Administration Directory (/var/lib/dpkg/) I can manually delete /var/cache/apt/archives/lock, in which case apt-get will recreate the file before issuing the error message. Unable To Lock Directory /var/cache/apt/archives/ Make sure that you are not running aptitude, synaptic or adept.
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. navigate here If another process is locking for a valid reason - and you remove that lock file and force an install with what you were doing prior - you could seriously, in Full disk problem on Ubuntu 16.04 (Xenial Xerus) A published paper stole my unpublished results from a science fair more hot questions question feed about us tour help blog chat data Browse other questions tagged apt package-management dpkg or ask your own question. E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem.
What is the purpose of the AT-ACT? three-letter codes for countries What does it mean to become lost? Taken from: http://askubuntu.com/a/15469/68707 share|improve this answer edited Jun 7 '12 at 10:04 Yi Jiang 91611227 answered Jun 6 '12 at 7:17 Nabeel Ahmed 28534 1 This was the problem in Check This Out Maybe you upgraded some of the NFS client/server software?
Would society of simultaneous hermaphrodites have gender roles? Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked Bayes regression: how is it done in comparison to standard regression? Word for fake religious people Does "Excuse him." make sense?
ps -e | grep -e apt -e adept | grep -v grep Then open the System Monitor application and kill the process that has the same process ID as the results No further changes may be made. Silly, but it might still explain the error for some. Sudo Rm /var/lib/apt/lists/lock Explain it to me like I'm a physics grad: Global Warming simulation with kinetic friction, weird results How to respond to a ridiculous request from a senior colleague?
Did Donald Trump say that "global warming was a hoax invented by the Chinese"? add a comment| 1 Answer 1 active oldest votes up vote 15 down vote If there is only one terminal running apt-get, or no Synaptic and Ubuntu Software Center; You can Would you like to answer one of these unanswered questions instead? this contact form Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] E: Unable to lock the
Full text and rfc822 format available.