Home > Unable To > E Could Not Get Lock Var Lib Dpkg Lock Open

E Could Not Get Lock Var Lib Dpkg Lock Open


share|improve this answer edited Oct 6 '15 at 6:40 kos 20.4k55092 answered Jan 15 '15 at 9:54 Wessi 9112 This looks like a comment rather than an answer. If it is Linux Related and doesn't seem to fit in any other forum then this is the place. These commands should be run in the order presented. share|improve this answer answered Sep 24 at 11:19 Pavel Vlasov 15317 add a comment| up vote 0 down vote I have had this issue numerous times. his comment is here

Distribution: Ubuntu 14.04 Posts: 183 Blog Entries: 1 Rep: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable After the last software update I've been getting this: E: Running the command then resolved the issue. 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. Shortest auto-destructive loop How do I answer a question on graduate school applications on textbooks used in my classes, when my class didn't use a textbook? http://askubuntu.com/questions/15433/unable-to-lock-the-administration-directory-var-lib-dpkg-is-another-process

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

First try killing any running instance of apt or aptitude as described in Faheem's answer. Your question doesn't contain any history of how you got to this point or diagnostic details. For details and our forum data attribution, retention and privacy policy, see here Saturday , December 24 2016 Home How to Denial-of-Service Attack (DoS) Hacking Linux Administration VirtualBox Virtual Private Network

Browse other questions tagged apt package-management dpkg or ask your own question. Make sure that you are not running aptitude, synaptic or adept. asked 3 years ago viewed 193701 times active 2 years ago Linked 407 Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? 0 Unable to install phpmyadmin using Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked Thank YouReplyDeletejobtodayinfo comFebruary 16, 2016 at 9:34 AMVERY USEFUL FOR MEReplyDeleteDivgun SethiJuly 12, 2016 at 7:35 PMapt-get updateAfter all above steps following lines appear,help!0% [Connecting to (] [Connecting to

Open a terminal and type Code: sudo lsof /var/lib/dpkg/lock Enter your password. Could Not Get Lock /var/lib/dpkg/lock Kali The lock is placed when an apt process is running, and is removed when the process completes. Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. http://askubuntu.com/questions/452638/how-can-i-solve-unable-to-lock-the-administration-directory-var-lib-dpkg 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

What is the proper usage of "identically zero"? Unable To Lock Directory /var/cache/apt/archives/ It means you are trying to get packages from multiple sources. 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... First try killing any running instance of apt or aptitude as described in Faheem's answer.

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

Why wouldn't the part of the Earth facing the Sun a half year before be facing away from it now at noon? https://ubuntuforums.org/showthread.php?t=1858466 I love Nix! –Wayne Phipps Jun 26 '15 at 13:17 3 Note, killall apt-get does the same thing as your ps/kill combo. –Cerin Jan 15 at 22:09 | show 4 Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu Dec 4 '14 at 21:47 11 This crashed my entire server. –에이바 Jan 5 '15 at 21:28 5 Killing apt or dpkg half way through is not a great E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. Show more Language: English Content location: United States Restricted Mode: Off History Help Loading...

Adv Reply June 20th, 2012 #8 bantolo View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Jun 2012 Beans 1 Re: Problem with update- Unable to this content Turns out that there was a background process in the Ubuntu Software Center that was waiting for me to manually install some updates. –jvriesem May 12 at 21:16 add a comment| How can I fix this? This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable

Regex with sed command to parse json text Were Palpatine or Vader ever congratulatory or nice to any of their subordinates? Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started The time now is 05:03 AM. weblink Home How to Denial-of-Service Attack (DoS) Hacking Linux Administration VirtualBox Virtual Private Network (VPN) Wireless LAN (Wi-Fi) How to add RBL on Zimbra Server?

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 Sudo Rm /var/lib/apt/lists/lock If you still get a lock error, close the Ubuntu Software Center (Ubuntu 14.04) or Software application (Ubuntu 16.04) and the terminal to unlock /var/lib/dpkg/, reopen the terminal and try the Too many advisors I'm too cold, turn up the temperature Word for fake religious people Where should a galactic capital be?

Does Wand of the War Mage apply to spells cast from other magic items?

ubuntu root share|improve this question edited Aug 1 at 6:56 karel 7,11392327 asked Aug 1 at 5:31 hasee 61 1 please anyone help by solving my error. –hasee Aug 1 vBulletin 2000 - 2016, Jelsoft Enterprises Ltd. share|improve this answer answered 8 hours ago wjandrea 2,2981827 add a comment| up vote -2 down vote After running commands told by Kern in his answer, you may try this: sudo Rm: Cannot Remove ‘/var/lib/apt/lists/lock’: No Such File Or Directory By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.

Make sure that you are not running aptitude, synaptic or adept. Thanks. Sign in to make your opinion count. check over here I didn't try removing the lock file, though, since that can cause problems with the system.

share|improve this answer edited Jul 21 at 14:16 terdon♦ 44.3k688155 answered Nov 30 '10 at 2:17 Martin Owens -doctormo- 16k34395 5 I was updating my software when I got the apt-get is now unlocked. –Maxime R. While most or all of this is presented in the other answers, this distills the fix down to a few commands. Kind regards If you believe everything you read, you better not read. ~ Japanese Proverb If you don't read the newspaper, you're uninformed.

correct one. –Anwar Apr 6 '13 at 14:37 6 @AnwarShah no, there are other considerations before going around removing files of the system. –Braiam Dec 31 '13 at 14:47 10 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 Pentesting against own web service hosted on 3rd party platform Did Donald Trump say that "global warming was a hoax invented by the Chinese"? For the error mentioned in the comment: Errors were encountered while processing: /var/cache/apt/archives/libgtk-3-bin_3.18.9-1ubuntu3.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Try fixing it by running these commands: sudo apt-get clean