Home > Unable To > E Unable To Lock Directory /var/cache/apt/archives

E Unable To Lock Directory /var/cache/apt/archives

Contents

GNU/Linux Notes || Linux Command Line Learning Resources Adv Reply January 20th, 2012 #9 Bumpalot View Profile View Forum Posts Private Message A Carafe of Ubuntu Join Date Aug 2011 Have reinstalled Lucid since then Any ideas? However, once you are sure that's not the case, the following usually works for me. 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. have a peek here

Your browser has JavaScript disabled. Related 0pip failed to install psycopg2. vBulletin ©2000 - 2016, Jelsoft Enterprises Ltd. Kill all the processes except Code: grep --color=auto apt GNU/Linux Notes || Linux Command Line Learning Resources Adv Reply January 19th, 2012 #3 Bumpalot View Profile View Forum Posts Private

/var/cache/debconf/config.dat Is Locked By Another Process

Period. –Jay Sullivan Nov 18 '14 at 3:36 2 for me, this resulted in an error dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the If they are not, you may not be able to acquire the lock as the package installer will not be able to access the filesystem. I have been trying to install pip in python But get this error: E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) What is this error ?

If those answers do not fully address your question, please ask a new question. Yes, my password is: Password Remain logged in Lost Password Search subject only Display results as threads More Options Dashboard Forum Undone Threads Members Undone Threads Go to Page Bottom Sitemap [email protected]:~$ ps -ef |grep apt root 1756 1 0 12:12 ? 00:00:00 apt-get install auto-apt root 1758 1756 0 12:13 ? 00:00:00 /bin/sh -c /usr/sbin/dpkg-preconfigure --apt || true root 1759 1758 E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. Upload Logfile via WebGUI/CLI #openmediavault on freenode IRC | German & English | GMT+1 Absolutely no Support via PM!

E: E: Unable to lock directory /var/cache/apt/archives/ [email protected]:~$ What should I do? E: Could Not Get Lock /var/cache/apt/archives/lock - Open (11: Resource Temporarily Unavailable) Clearly I have removed some directory structure. 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 https://ubuntuforums.org/showthread.php?t=1911838 How do I respond when players stray from my prepared material?

If you want you can take part and help covering the costs by having a look at my profile page. Rm: Cannot Remove '/var/cache/apt/archives/lock': No Such File Or Directory A published paper stole my unpublished results from a science fair What encryption should I use: Blowfish, Twofish, or Threefish? Finally, sometimes if the process is crashed a stale pid file is left behind, in this case you need to rm that pid file by hand to let system know the Done Building dependency tree        Reading state information...

E: Could Not Get Lock /var/cache/apt/archives/lock - Open (11: Resource Temporarily Unavailable)

Sever-sort an array Do counters combine? https://itsfoss.com/fix-ubuntu-install-error/ You should be able to lock the download directory and use apt-get now. /var/cache/debconf/config.dat Is Locked By Another Process Send a signal to every process listed. Openmediavault Unable To Lock Directory /var/cache/apt/archives/ but why happened this? –Jaime Hablutzel May 26 '12 at 22:40 15 @jaime: probably apt-get (or some GUI frontend to it) was halted while executing, leaving apt in a locked

Please try the other answers before doing this. http://netfiscal.com/unable-to/e-unable-to-lock-the-download-directory-ubuntu.html After this operation, 16.9 MB of additional disk space will be used. Has Darth Vader ever been exposed to the vacuum of space? How do publish end remote events work Do counters combine? Could Not Get Lock /var/lib/dpkg/lock Kali

Since I did not have a lot of stuff on the laptop I finally re-installed. Ask Ubuntu works best with JavaScript enabled UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ‚ÄļAppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. I don't recommend doing that as a first measure; maybe if there is no alternative. http://netfiscal.com/unable-to/e-unable-to-lock-directory-var-cache-apt-archives-debian.html An Array of Challenges #2: Separate a Nested Array Is this sentence 'I know him a teacher.' acceptable?

Adv Reply January 19th, 2012 #2 cortman View Profile View Forum Posts Private Message HAGGIS! Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked If you think that there is nothing currently installing or uninstalling, then just reboot your system with the command sudo reboot. How can I fix this?

Join Date Oct 2011 Location ZZ9 Plural Z Alpha BeansHidden!

cleggmeister Beginner Likes Received 1 Posts 24 1 Could not get lock /var/cache/apt/archives/lock on Update Oct 19th 2014, 5:20am Greetings folks, This is the end of the output when I run Done Building dependency tree        Reading state information... Browse other questions tagged ubuntu terminal virtual-machine or ask your own question. Dpkg: Error: Dpkg Status Database Is Locked By Another Process Run the following command to unlock the apt package managers. # rm /var/cache/apt/archives/lock Now update the sources list using command: # apt-get update Finally try again to install the packages you

Here you go. Done Building dependency tree Reading state information... When hiking, why is the right of way given to people going up? http://netfiscal.com/unable-to/e-unable-to-lock-the-download-directory.html I have tried fixing read many guides and nothing.

Can the product of two nonsymmetric matrices be symmetric? If you would like to use all features of this site, it is mandatory to enable JavaScript. 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? Join Date Nov 2010 Beans 241 Re: Unable to lock the download directory You need sudo to kill processes that do not belong to you, for instance a process you started

sudo fuser -vki /var/lib/dpkg/lock sudo fuser -vki /var/cache/apt/archives/lock sudo fuser -vki /var/cache/debconf/config.dat sudo dpkg --configure -a Use for unlocking the package system after an update of some kind crashed or terminated If the Ch’in dynasty was so short-lived, why was China named for it? If there is a lock with no apparent process running, this may mean the process got stuck for some reason. Done Building dependency tree Reading state information...

lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers" Only two things are infinite, the universe and human stupidity, The other answers bring up very good points about making sure no updates are currently running before doing anything drastic like removing lock files. We managed to delete it booting from a CD, but it popped up again when starting from the harddisk. Browse other questions tagged apt or ask your own question.

Voila! 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 share|improve this answer edited Nov 5 at 8:36 Younghyo Kim 33 answered Feb 7 '12 at 2:22 zurdo 3,87511318 4 ok... Many thanks.

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 The PID is the four digit number in the second column from left. python linux ubuntu pip share|improve this question asked Jun 5 '14 at 19:08 user3708999 7019 closed as off-topic by Flexo♦ May 3 '15 at 12:26 This question appears to be off-topic. What are these boxes mounted inline on each of the 3 phase wires of a high voltage power line in Miami?

I'm an absolute beginner. –kern Jan 29 '12 at 11:38 sudo - execute command as root, rm - remove file.

© Copyright 2017 netfiscal.com. All rights reserved.