Home > Unable To > E Could Not Get Lock /var/cache/apt/archives/lock - Open

E Could Not Get Lock /var/cache/apt/archives/lock - Open


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 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, Hopefully, this helps someone else! I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. his comment is here

If this is the case just wait few seconds or launch Update Manager to check the status. You have to close all other and run only one. You are currently viewing LQ as a guest. Reply ↓ tian October 27, 2012 at 5:14 PM thank's alot Reply ↓ David November 10, 2012 at 1:03 PM I had to kill the update notification too. http://askubuntu.com/questions/15433/unable-to-lock-the-administration-directory-var-lib-dpkg-is-another-process

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

Reply ↓ priyanka June 7, 2012 at 2:47 PM it's very helpful… darkcry February 25, 2012 at 9:54 PM nice … bro.. Have read and tried some solutions, but they don't do anything. I googled a bit and found the solution after spending almost an hour. It is your Gate to the the world of Linux/Unix and Opensource in General.


SHARE Facebook Twitter tweet Previous articleHow To Install LIVES In Ubuntu In UbuntuNext articleKippo - A SSH Honeypot To Monitor Brute Force Attacks On Debian 7 / Ubuntu 13.10 Hope this helps. :) –Hari Apr 6 '13 at 12:23 19 You can use sudo lsof /var/lib/dpkg/lock to find the process that owns the lock file (if empty, assume the They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked Like this:Like Loading...

How can I fix this? /var/cache/debconf/config.dat Is Locked By Another Process sudo fuser -cuk /var/lib/dpkg/lock; sudo rm -f /var/lib/dpkg/lock Oh, cool! The other answers bring up very good points about making sure no updates are currently running before doing anything drastic like removing lock files. https://ubuntuforums.org/showthread.php?t=1894744 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)

Now, when I attempt to run Synaptic, I first get a notification of a broken package. Rm: Cannot Remove '/var/cache/apt/archives/lock': No Such File Or Directory I'm not sure if you tried it or not, but a simple reboot may fix this. Why was the plane going to Dulles? Browse other questions tagged apt or ask your own question.

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

This all happened right after system boot. 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 E: Unable To Lock Directory /var/cache/apt/archives/ Done The following packages will be upgraded: base-files ca-certificates debian-archive-keyring libc-bin libc6 libkeyutils1 libperl5.14 libpq5 libsnmp-base libsnmp15 linux-image-3.2.0-4-amd64 locales multiarch-support openmediavault openmediavault-omvextrasorg perl perl-base perl-modules proftpd-basic snmpd tzdata 21 upgraded, 0 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.

It means you are trying to get packages from multiple sources. this content Are you new to LinuxQuestions.org? There's the more simple solution I was looking for. 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. E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem.

Please visit this page to clear all LQ-related cookies. Join Date Jul 2009 Location Columbus, Ohio, USA Beans 168 DistroUbuntu 12.04 Precise Pangolin Could not get lock /var/cache/apt/archives/lock - open On Ubunut 11.10, I attempted to use Muon Package Manager 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 weblink 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

Search Search for: Archives July 2011 February 2011 October 2010 July 2010 November 2009 Recent Comments Senthil Kumar on jQuery in seleniumGustav on jQuery in seleniumGustav on jQuery in seleniumDavid on Dpkg: Error: Dpkg Status Database Is Locked By Another Process 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 Four Birds + One Why do Latin nouns (like cena, -ae) include two forms?

Enrico "eNry" Carafa (mr.tennents) at https://answers.launchpad.net/ubuntu/+question/181752 referred me to http://askubuntu.com/questions/15433/fixing-could-not-get-lock-var-lib-dpkg-lock.

share|improve this answer edited Dec 31 '13 at 8:16 minerz029 13.4k84583 answered Nov 30 '10 at 4:55 karthick87 30k43145206 9 Deleting the lock file is, what I would consider, a I knew there was a problem with the date/time when I logged in, but was ignoring it. (Previously, it was setting it automatically via the Internet and NTP). Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root I then used "fuser" as described in earlier posts and apt worked, but I was getting complaints about needing to run dpkg -a -reconfigure.

How To Solve Error: "E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/" On Debian 7 By SK Share on Facebook Tweet I couldn't figure out the process name so I killed in system monitor Reply ↓ Leave a Reply Cancel reply Enter your comment here... And when I attempt to resolve the problem in the terminal, I get the following: [email protected]:~$ sudo apt-get remove mint-meta-gnome-dvd [sudo] password for randyman: Reading package lists... check over here However, once you are sure that's not the case, the following usually works for me.

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 thanks for share.. Could aliens colonize Earth without realizing humans are people too? Here are few of them:Solution 1
sudo rm /var/lib/apt/lists/*
sudo rm /var/lib/dpkg/lock
sudo rm /var/cache/apt/archives/lock
Force package to reconfig
sudo dpkg --configure -a
Solution 2Apply

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 Distribution: Ubuntu 14.04 Posts: 183 Blog Entries: 1 Original Poster Rep: This seems to have fixed it.... In a determinant prove xyz = -1 What is the truth about 1.5V "lithium" cells What does this symbol of a car balancing on two wheels mean? Enrico "eNry" Carafa (mr.tennents) at https://answers.launchpad.net/ubuntu/+question/181752 referred me to http://askubuntu.com/questions/15433/fixing-could-not-get-lock-var-lib-dpkg-lock.

I think I would have to do like previous unlocking problem, but please tell me the exact keywords for command. Would you like to answer one of these unanswered questions instead? I don't recommend doing that as a first measure; maybe if there is no alternative. Is ATC communication subject to FCC profanity regulations?

By continuing to browse this site, you are agreeing to our Cookie Policy. I want to become a living god! Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). 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

Do check if your disk drives are mounted. Having a problem logging in? However, this is a new install of 16.04 on a dual-booted system, and the lock issue persisted since startup. –user1362215 Nov 28 at 16:31 add a comment| protected by Community♦ Apr Or anyone know how to fix this?

add sudo to the beginning of the command. When hiking, why is the right of way given to people going up? Output the sign Did Donald Trump say that "global warming was a hoax invented by the Chinese"? What are those "sticks" on Jyn Erso's back?