The other answers bring up very good points about making sure no updates are currently running before doing anything drastic like removing lock files. Any questions or suggestions are welcomed. Try 'apt-get -f install' with no packages (or specify a solution). I want to become a living god! have a peek at this web-site
Deals from It's FOSS Shop See all deals Comments Tommy says September 17, 2014 at 11:42 pm Hi It doesnt work for me. Thanks. Get out of the transit airport at Schengen area and the counting of Schengen period Is the effect of dollar sign the same as textit? Reading package lists...
These commands should be run in the order presented. How should night time be determined and logged in a fast westbound plane? The command provided by João should close the program that holds the lock and then remove the lock but won't protect you from install interruption: sudo fuser -cuk /var/lib/dpkg/lock; sudo rm How can I fix this?
I'll have to try that next time. Then, all of the above problems were fixed... Now the package manager lock has been released and you'll be able to install the packages without any issues. Rm: Cannot Remove '/var/cache/apt/archives/lock': No Such File Or Directory 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,
Here's a run down of the issues: "E: Could not get lock /var/lib/dpkg/lock" error This happens when I tried to use apt-get update
Archives Archives Select Month December 2016 (4) ubuntu terminal virtual-machine share|improve this question asked Jul 13 '12 at 17:45 Rdx 124111 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote Do you have Output the first position in your program for each input character Why do Latin nouns (like cena, -ae) include two forms? What is the truth about 1.5V "lithium" cells Is there a non-medical name for the curve where index finger and thumb meet?
share|improve this answer answered Mar 31 at 2:43 BluePython 1114 add a comment| up vote 0 down vote In my case I just waited for several minutes and the lock has E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. Make sure that you are not running aptitude, synaptic or adept. There are various reasons you may get an error while updating or upgrading Ubuntu by apt-get update command. READ ME: Upgrading to a new Major Version of OpenMediaVault Greetings David "Well...
So if you try again in a few minutes that should fix it. Everything was fine once the process finished. E: Unable To Lock Directory /var/cache/apt/archives/ asked 2 years ago viewed 29611 times active 2 years ago Linked 407 Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? 0 Dpkg not working! 0 Im Could Not Get Lock /var/lib/dpkg/lock Kali First try killing any running instance of apt or aptitude as described in Faheem's answer.
What is the purpose of Subject-Verb agreement? http://sinistro.org/unable-to/could-not-lock-the-cache-file.html Apart from Linux, I love classic detective mystery. 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 We will think of new things to try then :) share|improve this answer answered Jun 5 '14 at 19:13 codefreak 4,08632039 add a comment| Not the answer you're looking for? Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked
Solution: The first and foremost thing is to do nothing. Dpkg: Error: Dpkg Status Database Is Locked By Another Process Reason:
Is it bad form to write mysterious proofs without explaining what one intends to do?
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 If you see an apt-get process or an aptitude process that looks stuck, you can try kill processnumber and if that doesn't work try kill -9 processnumber This should kill the share|improve this answer edited Feb 13 at 14:04 answered Jul 3 '13 at 9:01 Faheem Mitha 2,6541810 1 Also, I would kill dpkg. Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Problem: Here what i did to install to python libraries. # apt-get install python-twisted Sample output: Reading package lists...
I think I would have to do like previous unlocking problem, but please tell me the exact keywords for command. add sudo to the beginning of the command. Installed via apt-get, but build folder remains3PHP fopen “failed to open stream: resource temporarily unavailable”-2How to update apt-get when error “could not resolve 'us.archive.ubuntu.com'” comes up in ubuntu linux?1I'm getting “Resource http://sinistro.org/unable-to/could-not-get-lock-var-cache-apt-archives-lock.html 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
Reply Sudeepto Dutta says February 3, 2014 at 8:13 pm Thanks man. why do they give the same output? And this is what precisely happening. While you are trying to install some package with APT, some other package manager is running or an update is going on.
Please click the link in the confirmation email to activate your subscription. If you want you can take part and help covering the costs by having a look at my profile page.