Search for text in a file, then rename the file with that text Alias are not coming from language specific item version Should I find punctures by immersing inner tube in asked 2 years ago viewed 18800 times active 1 year ago Blog Stack Overflow Gives Back 2016 Developers, Webmasters, and Ninjas: Whatâ€™s in a Job Title? User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. Transcript The interactive transcript could not be loaded.
Loading... Explain it to me like I'm a physics grad: Global Warming Full disk problem on Ubuntu 16.04 (Xenial Xerus) How do I generate a time series in PostgreSQL? I tried to remove Dropbox via Ubuntu Software Center and the software center show me this: Waiting to dpkg to exit. Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 16 Thread: sudo apt-get update (Unable To Lock The List Directory)?
share|improve this answer edited Jul 21 at 14:16 terdon♦ 44.2k688155 answered Nov 30 '10 at 2:17 Martin Owens -doctormo- 16k34395 5 I was updating my software when I got the Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Quick Notepad Tutorial 315 views 1:16 Ubuntu Server apt-get update error SOLVED - Duration: 4:34. E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. It cover most popular distros like Ubuntu, LinuxMint, Fedora, Centos.
Join Date Feb 2009 Beans 47 Re: sudo apt-get update (Unable To Lock The List Directory)? /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable The lock is placed when an apt process is running, and is removed when the process completes. For all standard (non-LTS) releases, the maximum duration of support is 18 months.Both versions have pros and cons - LTS gets long term support and standard gets latest features. Adv Reply November 26th, 2010 #5 Soul-Sing View Profile View Forum Posts Chocolate-Covered Ubuntu Beans Join Date Aug 2006 Beans 1,374 DistroUbuntu 13.04 Raring Ringtail Re: sudo apt-get update (Unable
What change in history would I have to make to stop Christmas from happening? UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore â€ºAppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu I didn't try removing the lock file, though, since that can cause problems with the system. Could Not Get Lock /var/lib/dpkg/lock Kali Should I find punctures by immersing inner tube in water or hearing brezze or feeling breeze or how else?
Browse other questions tagged apt dpkg or ask your own question. http://crudlet.org/unable-to/ubuntu-12-04-unable-to-lock-administration-directory.html It might be better to find out which process has the lock and kill that process. In any case, if the process got stuck, you probably don't have a choice but to kill it. If you see a process listed with apt-get or aptitude, kill that process as it got stuck and did not release the lock. Unable To Lock Directory /var/cache/apt/archives/
So you only have to wait for this process to be completed. do it with sudo kill Process-id is the process number that you identified from step 1.If that doesn't work, then try (like Vivek suggested)kill -9 Also, note that it is not The most notable symptom is perhaps the date/time of the lock file being the exact date/time that you are trying to run the command. http://crudlet.org/unable-to/ubuntu-e-unable-to-lock-directory-var-lib-apt-lists.html Search for processesps -A | grep apt-get2.
A for loop that appears to be practically infinite What change in history would I have to make to stop Christmas from happening? Interview question "How long will you stay with us?" If the Châ€™in dynasty was so short-lived, why was China named for it? Join Date Feb 2008 Location Missouri, USA Beans 302 DistroLubuntu Re: sudo apt-get update (Unable To Lock The List Directory)? Ps Aux | Grep Apt doesnt work gives same message Adv Reply February 14th, 2011 #9 evil_iggy View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Aug 2009 Beans 5 Re:
I have definitely tried rebooting and a new session still a problem. I have 6 systems with a mix of both... :PReplyDeleteEmmanuel OlukaNovember 11, 2015 at 4:42 PMYou can delete the lock file with the following command:sudo rm /var/lib/apt/lists/locksudo rm /var/cache/apt/archives/locksudo apt-get updateReplyDeleteUnknownDecember Don't use rm -f (for that matter rm command in general) if you don't know what you are doing.Hope this helps!ReplyDeleteUnknownOctober 20, 2015 at 1:19 PMUbuntu 13.04 is also a stable http://crudlet.org/unable-to/ubuntu-unable-to-lock-directory-var-lib-apt-lists.html Clever. –here Apr 17 '14 at 18:03 add a comment| Not the answer you're looking for?
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 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 (3) So if you try again in a few minutes that should fix it. Advertisement Autoplay When autoplay is enabled, a suggested video will automatically play next.
You can fix this problem by simply removing all of the temporary list in /var/lib/apt/lists/ and lock file in the cache directory in /var/cache/apt/archives/lock.Ther are various commands to solve this error. share|improve this answer answered Jan 29 '12 at 11:27 Bruno Pereira 49.8k20154187 these commands helped, but now when I tried to install again, got this reply : Could not Be informed that this approach may even crash your system(but will reboot releasing the lock), this has never been my choice. When hiking, why is the right of way given to people going up?
However, once you are sure that's not the case, the following usually works for me. Theorems demoted back to conjectures A for loop that appears to be practically infinite Has Darth Vader ever been exposed to the vacuum of space? Join Date Feb 2009 Beans 47 Re: sudo apt-get update (Unable To Lock The List Directory)? Show more Language: English Content location: United States Restricted Mode: Off History Help Loading...
First try to find out which application it is by using this command in the terminal ps aux | grep '[a]pt' If there is a process running using apt (like apt-get Do progress reports/logging information belong on stderr or stdout? Vagiigav 1 11,150 views 11:01 How to Delete files in Archives folder of ubuntu -Filesystem,var,cache ,apt,archives - Duration: 2:04.