Home > Unable To > I Could Not Get Lock /var/cache/apt/archives/lock

I Could Not Get Lock /var/cache/apt/archives/lock

Contents

Done Building dependency tree Reading state information... Since I did not have a lot of stuff on the laptop I finally re-installed. Adv Reply Quick Navigation General Help Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New to Who were the red-robed citizens of Jedha City? navigate here

I have no idea what else to try other than a clean install. If you try ps aux | grep apt that will catch processes containing the word apt, at least. What is the truth about 1.5V "lithium" cells Output the first position in your program for each input character Why is credit card information not stolen more often? vBulletin ©2000 - 2016, Jelsoft Enterprises Ltd. http://askubuntu.com/questions/531853/could-not-get-lock-var-cache-apt-archives-lock-open

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 Done Building data structures... Checking package manager Reading package lists... 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

I had to kill it which left various locks in place. 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. 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 Who were the red-robed citizens of Jedha City?

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) /var/cache/debconf/config.dat Is Locked By Another Process Let us see how to fix this problem.For a better understanding here are the message that you encounter when you try to run apt-get update command in Ubuntu:E: Could not get While you are trying to install some package with APT, some other package manager is running or an update is going on. In any case, if the process got stuck, you probably don't have a choice but to kill it.

When hiking, why is the right of way given to people going up? E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. Reason: HP Compaq tc4400 (notebook/tablet), 2.0 GHz, 3.0 GB ram, 160 GB hdd, Windows 8.1; Ubuntu 14.04; Linux Mint 17.3/Mate. apt-get is now unlocked. –Maxime R. [email protected]:~$ sudo apt-get -f install Reading package lists...

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

Done Building dependency tree Reading state information... 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 E: Unable To Lock Directory /var/cache/apt/archives/ Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Rm: Cannot Remove '/var/cache/apt/archives/lock': No Such File Or Directory The lock is placed when an apt process is running, and is removed when the process completes.

This problem is quite frequent with me too. check over here Why did Tarkin undertake this course of action at the end of Rogue One? Browse other questions tagged upgrade apt lock or ask your own question. 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. Could Not Get Lock /var/lib/dpkg/lock Kali

Hopefully, this helps someone else! How to find punctures in inner tubes? 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 his comment is here These Aren't Roasted!

Done Correcting dependencies... Dpkg: Error: Dpkg Status Database Is Locked By Another Process 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 you would like to use all features of this site, it is mandatory to enable JavaScript.

The following extra packages will be installed: sun-java6-bin sun-java6-jre Suggested packages: sun-java6-fonts ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming The following NEW packages will be installed: sun-java6-bin sun-java6-jre 0 upgraded, 2 newly installed,

Join Date Jul 2009 Location Columbus, Ohio, USA Beans 168 DistroUbuntu 12.04 Precise Pangolin Re: Could not get lock /var/cache/apt/archives/lock - open Thank you for the quick reply. If it doesn't work or something goes wrong, do: sudo mv /var/cache/apt/archives/lock.backup /var/cache/apt/archives/lock and comment here. Done Building dependency tree Reading state information... Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root These commands should be run in the order presented.

thanks a ton! –user161940 May 26 '13 at 15:15 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using If you are not able to figure which other program is causing this issue and want to get the control back immediately, try the following command to fix the issue of I then used "fuser" as described in earlier posts and apt worked, but I was getting complaints about needing to run dpkg -a -reconfigure. weblink So, I thought these were symptoms and changed my data and time manually.