Join Date Oct 2011 Location ZZ9 Plural Z Alpha BeansHidden! Maybe try sudo rm /var/cache/apt/archives/lock –kubahaha Sep 24 '12 at 13:56 This is not a good suggestion: blindly removing the luck may corrupt dpkg's state. –poolie Feb 2 '15 What is the difference between perspective distortion and barrel or pincushion distortion? E: E: Unable to lock directory /var/cache/apt/archives/ [email protected]:~$ What should I do? have a peek here
In your case you could run Code: sudo kill -9 1756 1758 1759 GNU/Linux Notes || Linux Command Line Learning Resources Adv Reply January 19th, 2012 #7 Bumpalot View Profile 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. What does it mean to become lost? What are those "sticks" on Jyn Erso's back? http://askubuntu.com/questions/531853/could-not-get-lock-var-cache-apt-archives-lock-open
If you think that there is nothing currently installing or uninstalling, then just reboot your system with the command sudo reboot. Followers 12.4K Following 9.3K Tweets 1.5K Copyright ©2016 It's F.O.S.S · Built on Genesis Framework current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to Done The following extra packages will be installed: python-crypto python-openssl python-pam python-pkg-resources python-pyasn1 python-serial python-twisted-bin python-twisted-conch python-twisted-core python-twisted-lore python-twisted-mail python-twisted-names python-twisted-news python-twisted-runner python-twisted-web python-twisted-words python-zope.interface Suggested You can delete the lock file with the following command: sudo rm /var/lib/apt/lists/lock You may also need to delete the lock file in the cache directory sudo rm /var/cache/apt/archives/lock sudo rm
Use Code: kill -9 process_id to terminate them. If you're facing the same error without 'Update Manager' running you have to remove it from /var/lib/dgkg/lock, which definitely you can't do it manually sudo fuser -cuk /var/lib/dpkg/lock sudo rm -f Writing a recommendation letter for a student I reported for academic dishonesty How do publish end remote events work Not able to access Internet after running sudo chown -R $USER$USER /usr/lib/ E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. Creating /etc/postfix/dynamicmaps.cf Adding tcp map entry to /etc/postfix/dynamicmaps.cf Adding sqlite map entry to /etc/postfix/dynamicmaps.cf Adding group `postdrop' (GID 116) … Done.
Read More Security and Network Tools Expert in using Security and Network tools: ManageEngine, Solarwinds, Nmap, Nagios, OpenNMS, Nessus, Cacti, GFI, Syslog, Opsview, MRTG, PRTG. Rm: Cannot Remove '/var/cache/apt/archives/lock': No Such File Or Directory You help me, thanks sir Reply Leave a reply Cancel reply CommentYou may use these HTML tags and attributes:
Here are my attempts.... If you are sure there's none, then try doing sudo mv /var/cache/apt/archives/lock /var/cache/apt/archives/lock.backup Now try running pip installation again.
I am an avid Linux lover and Open Source enthusiast. Usage: kill pid ... /var/cache/debconf/config.dat Is Locked By Another Process Any questions or suggestions are welcomed. Openmediavault Unable To Lock Directory /var/cache/apt/archives/ Has Darth Vader ever been exposed to the vacuum of space?
Here you go. navigate here Do you want to continue [Y/n]? asked 2 years ago viewed 2523 times active 2 years ago Blog Stack Overflow Gives Back 2016 Developers, Webmasters, and Ninjas: What’s in a Job Title? In any case, if the process got stuck, you probably don't have a choice but to kill it. Could Not Get Lock /var/lib/dpkg/lock Kali
Reason: If you are wondering what caused this error in the first place, the reason is quite evident in the error itself. How can I fix this? DistroUbuntu Re: Unable to lock the download directory My bad- I should have been more clear. http://netfiscal.com/unable-to/e-unable-to-lock-directory-var-cache-apt-archives-debian.html User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License.
corrupted. Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked share|improve this answer answered May 8 at 1:17 Ray 582317 add a comment| up vote 1 down vote If you have security updates set to auto-install this will happen frequently. Not the answer you're looking for?
I mean it. did you try both commands? Try adding sudo in front of the kill commands. Dpkg: Error: Dpkg Status Database Is Locked By Another Process [email protected]:~$ sudo apt-get -f install Reading package lists...
Cancel reply Search this website A Must Read For Ubuntu 14.04 Users Subscribe to Weekly Newsletter Free eBook for Download Latest on It's FOSS How To Install And Remove Software In kill signal pid ... It means you killed them. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed.
setting destinations: /etc/mailname, ip-10-48-234-13.eu-west-1.compute.internal, localhost.eu-west-1.compute.internal, localhost setting relayhost: setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 setting mailbox_size_limit: 0 setting recipient_delimiter: + setting inet_interfaces: all /etc/aliases does not exist, creating it. apt-fast MAY be responsible for not unlocking properly; this happens sometimes when you abort apt-get or dpkg too. Now the package manager lock has been released and you'll be able to install the packages without any issues. Done Correcting dependencies...
I don't recommend doing that as a first measure; maybe if there is no alternative. Error Logging Utility and Controllers Validate Random Die Tippers How to use LINQ to find a sum? Join Date Oct 2011 Location ZZ9 Plural Z Alpha BeansHidden! 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
Otherwise this is a sign that something else is installing or removing software and has locked the apt database while it performs the actions. We will think of new things to try then :) share|improve this answer answered Jun 5 '14 at 19:13 codefreak 4,05632039 add a comment| Not the answer you're looking for? The error says: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable). you used sudo to execute them), you need to be root to kill them.