Home > Unable To > Sudo Rm /var/cache/apt/archives/lock

Sudo Rm /var/cache/apt/archives/lock


Or using two terminals at the same time while one is already using ‘apt-get'. How to Install Broadcom Wireless Driver (BCM4313) ... What is 'sparrow bath' and how do you do it in airport bathroom? 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://popupjammer.com/unable-to/e-unable-to-lock-directory-var-cache-apt-archives.html

If the above does not work for you, then you may want to take a look at this: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? Advertisement Autoplay When autoplay is enabled, a suggested video will automatically play next. Swapnil Sharma 12,842 views 9:15 حل هالخطا could not open file /var/lib/dpkg/status - Duration: 2:20. How do i solve quadratic equations when the coefficients are complex and real? http://askubuntu.com/questions/15433/unable-to-lock-the-administration-directory-var-lib-dpkg-is-another-process

Sudo Rm /var/cache/apt/archives/lock

Hot Network Questions An Array of Challenges #2: Separate a Nested Array How could the sky be orange in a breathable atmosphere? Don't recommend deleting lock file... I had to kill it which left various locks in place.

Please try again later. Unix & Linux Stack Exchange works best with JavaScript enabled 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 Unable To Lock Directory /var/cache/apt/archives/ 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

Adv Reply May 24th, 2012 #2 kc1di View Profile View Forum Posts Private Message Ubuntu Cappuccino Scuro Join Date Nov 2004 Location Maine Beans 1,858 DistroUbuntu 16.04 Xenial Xerus Re: Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked I left the PC works with this, one day, waiting for the end of this but nothing happened). I used it and apparently it worked, but the Dropbox is still downloading. http://askubuntu.com/questions/335794/could-not-get-lock-var-lib-apt-lists-lock Adv Reply September 15th, 2013 #10 ibjsb4 View Profile View Forum Posts Ubuntu addict and loving it Join Date Sep 2012 Beans 5,003 Re: Could not get lock /var/lib/apt/lists/lock -

UNIX is a registered trademark of The Open Group. Ps Aux | Grep Apt Does advantage negate disadvantage (for things such as sneak attack)? Probably you run 2 instances of program or you have synaptic or some another package manager. –2707974 Apr 22 '14 at 7:41 @Parto Thanks it is solved :D –Yelmaaz Join Date Nov 2007 Beans 331 DistroUbuntu 12.04 Precise Pangolin Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailab I have just installed Ubuntu 12.04 in VirtualBox.

Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked

Bayes regression: how is it done in comparison to standard regression? but why happened this? –Jaime Hablutzel May 26 '12 at 22:40 15 @jaime: probably apt-get (or some GUI frontend to it) was halted while executing, leaving apt in a locked Sudo Rm /var/cache/apt/archives/lock 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 Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu This is the error message I get: Code: sudo apt-get update && sudo apt-get upgrade Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) I have tried repeatedly but

Adv Reply September 3rd, 2013 #7 Ashiq_Irphan View Profile View Forum Posts Private Message Spilled the Beans Join Date Sep 2013 Location Chennai, India Beans 15 DistroUbuntu 12.04 Precise Pangolin this page In terminal ic an see the problem as: Fetched 19.8 MB in 1min 48s (183 kB/s) E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the 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 I have forgotten what the puzzle was Can a mathematician review my t-shirt design? Could Not Get Lock /var/lib/dpkg/lock Kali

If you try ps aux | grep apt that will catch processes containing the word apt, at least. Privacy PolicyContact us: contact (at) theeighthnetwork (dot) comFOLLOW US © Copyright 2015 - Newspaper 6 by TagDiv current community chat Unix & Linux Unix & Linux Meta your communities Sign Try to run apt-get update, DO NOT DELETE ANYTHING FIRST. –Drt Apr 11 '15 at 6:12 I found this question instead of duplicate, and also this one helped me get redirected here Do check if your disk drives are mounted.

An idiom or phrase for when you're about to be ill Validate Random Die Tippers Snowman Bowling Depowering a high AC PC without killing the rest of the group When hiking, /var/cache/debconf/config.dat Is Locked By Another Process Writing a recommendation letter for a student I reported for academic dishonesty How can I keep the computers on my spaceship from dying after a hull breach? I didn't try removing the lock file, though, since that can cause problems with the system.

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E:

sudo fuser -cuk /var/cache/apt/lists/locksudo rm -f /var/cache/apt/lists/lockOR (as the case may be)sudo fuser -cuk /var/cache/apt/archives/locksudo rm -f /var/cache/apt/archives/lockOR (if dpkg was stuck instead of apt)sudo fuser -cuk /var/lib/dpkg/locksudo rm -f /var/lib/dpkg/lock What caused my meringue to fall after adding cocoa? If you see an apt-get process or an aptitude process that looks stuck, you can try kill processnumber and if that doesn't work try kill -9 processnumber This should kill the Rm Cannot Remove Var Lib Apt Lists Lock No Such File Or Directory 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?

Loading... See this for more info: ubuntuforums.org/showthread.php?t=1858466 –user3728501 Oct 10 '15 at 18:46 add a comment| 1 Answer 1 active oldest votes up vote 40 down vote search for processes. Could you move this instead as a comment to the answer it was responding to? –jvriesem May 12 at 21:15 1 @jvriesem I think this is a very important answer, useful reference Khaled21cydia 22,539 views 2:20 How to remove/fix " Permission Denied" in linux (Ubuntu,Linux Mint,Fedora)? - Duration: 2:09.

Big O Notation "is element of" or "is equal" If the ground's normal force cancels gravity, how does a person keep rotating with the Earth? Hot Network Questions Is there a way to hide/disable standard Salesforce button clicked Would society of simultaneous hermaphrodites have gender roles? Hopefully, this helps someone else! Wireless script Dave Registered Linux User #462608 Ubuntu 16.04.1 Adv Reply May 24th, 2012 #3 kc1di View Profile View Forum Posts Private Message Ubuntu Cappuccino Scuro Join Date Nov 2004

This should be done only if everything else fails... How To Fix "E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)" in Ubuntu By Enock Seth Nyamador Share on Facebook Tweet on Twitter tweet Question: Hello, I