Home > Unable To > E Could Not Get Lock /var/lib/dpkg/lock - Open 11

E Could Not Get Lock /var/lib/dpkg/lock - Open 11

Contents

All of this was very strange as I've never seen it before. Anyone else? Not the answer you're looking for? 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) his comment is here

vBulletin 2000 - 2016, Jelsoft Enterprises Ltd. asked 2 years ago viewed 18817 times active 1 year ago Related 5I cannot install new packages: “Could not get lock /var/lib/dpkg/lock”1Ubuntu Could not purge package3Weird issue with unmet dependencies when Sign in to report inappropriate content. This all happened right after system boot. http://askubuntu.com/questions/346143/e-could-not-get-lock-var-lib-dpkg-lock-open-11-resource-temporarily-unavai

Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu

Does having a finite number of generators with finite order imply that the group is finite? 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 December 19, 2016 Disable touchscreen in LinuxOctober 26, 2016Browse anonymously in Kali Linux with AnonsurfOctober 17, 2016Building updated Kali Linux ISOAugust 9, 2016 Popular Categories Kali Linux Security Linux Desktop Managers 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

Word for fake religious people Four Birds + One Output the sign Does a byte contain 8 bits, or 9? I think I would have to do like previous unlocking problem, but please tell me the exact keywords for command. Measuring Water with a Holey Cube How to change the schema of stored procedure without recreating it Is it bad form to write mysterious proofs without explaining what one intends to E: Unable To Lock Directory /var/cache/apt/archives/ Is すごく怖 bad, or good?

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 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 andres gonzales 1,398 views 2:12 how fix could not get lock /var /lib// apt/ lists/ lock/ problem ubuntu - Duration: 1:19. http://askubuntu.com/questions/452638/how-can-i-solve-unable-to-lock-the-administration-directory-var-lib-dpkg See if there is any process running as apt-get then kill that processsudo kill -9 If the error persists, apply following commands in a termina, sudo su sudo rm /var/lib/apt/lists/lock apt-get

why do they give the same output? Sudo Rm /var/lib/apt/lists/lock What is this picture in Thrawn's study of? asked 4 months ago viewed 1485 times active 4 months ago Related 2I tried installing Ubuntu 10.04 and I got this message - any ideas on what to do?0Used recursive chown Why did Sansa refuse to leave with Sandor Cleagane (Hound) during the Battle of Blackwater? "Shields at 10% one more hit and..." What?

Could Not Get Lock /var/lib/dpkg/lock Kali

ubuntu process apt dpkg share|improve this question asked Aug 1 '14 at 20:57 ArCiGo 63129 What was the exact package name you tried to install, and the actual command navigate to these guys How to include module's CSS in CMS pages with module block What are these boxes mounted inline on each of the 3 phase wires of a high voltage power line in Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu You have to close all other and run only one. E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. When hiking, why is the right of way given to people going up?

Sign in to add this to Watch Later Add to Loading playlists... this content You can force the lock off by removing the file, but it's not recommended without first closing the program that's holding the lock safely, since you could cause corruption or interrupt For me, it was almost always caused by apt-get or some GUI that called it getting hung for some reason. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked

If you read the newspaper, you're mis-informed. - Mark Twain Thinking about becoming an Ubuntu Member? Hot Network Questions Too many advisors Has my macOS Sierra system been infected by unknown users? The lock is placed when an apt process is running, and is removed when the process completes. weblink 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.

mkdir ~/beckupVarLib sudo mv /var/lib/apt/lists/* ~/beckupVarLib sudo apt-get update MooseMagnet View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Find More Posts by /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable Success! Add to Want to watch this again later?

Any help is much appreciated.

I am interested to see what has a lock on dpkg. share|improve this answer answered Nov 30 '10 at 3:08 poolie 5,96512454 8 Great hint in contrast to the half-dozen replies suggesting to just remove the file ;-) I randomly ran E.g. 12.04 LTS and 14.04 LTS.DeleteReplyjeevan reddy mandaliDecember 11, 2014 at 8:49 PMawesome this single command saved my 2days headache!boom!ReplyDeleteAjay KumarJanuary 22, 2015 at 1:20 PMsudo rm /var/lib/dpkg/lock Resolved error using Rm: Cannot Remove '/var/lib/apt/lists/lock': No Such File Or Directory when running sudo apt-get dist-upgrade again.

Quick Notepad Tutorial 315 views 1:16 Fix dpkg was interrupted you must manually - Duration: 3:59. In a determinant prove xyz = -1 Why is credit card information not stolen more often? 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. check over here See my edit on my last post on how to add the keys.

apt-get is now unlocked. –Maxime R. this is the error now i am getting –hasee Aug 1 at 6:23 sudo apt-get dist-upgrade I tried above command i got the error as shown bellow Errors were Can もとい be used as a noun describing the correction or the fact of correction? Subscribed!

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME dpkg 15004 root 3uW REG 8,1 0 7078501 /var/lib/dpkg/lock I also apologize as I am fairly new to Ubuntu, so fixing this