Would presence of MANPADS ground the entire airline industry? This site is not affiliated with Linus Torvalds or The Open Group in any way. Join our community today! Kapat Evet, kalsın. http://sinistro.org/unable-to/could-not-get-lock-var-lib-dpkg-lock-open-11-resource.html
Browse other questions tagged apt package-management dpkg or ask your own question. The command provided by João should close the program that holds the lock and then remove the lock but won't protect you from install interruption: sudo fuser -cuk /var/lib/dpkg/lock; sudo rm 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) If you think that there is nothing currently installing or uninstalling, then just reboot your system with the command sudo reboot.
asked 4 months ago viewed 1484 times active 4 months ago Related 2I tried installing Ubuntu 10.04 and I got this message - any ideas on what to do?0Used recursive chown 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 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 share|improve this answer answered 3 hours ago wjandrea 2,2971827 add a comment| up vote -2 down vote After running commands told by Kern in his answer, you may try this: sudo
I'm an absolute beginner. –kern Jan 29 '12 at 11:38 sudo - execute command as root, rm - remove file. 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 The lock is placed when an apt process is running, and is removed when the process completes. Unable To Lock Directory /var/cache/apt/archives/ 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
This may leave the user stranded with a broken system. 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 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 why do they give the same output?
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 Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked Code: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2EBC26B60C5A2783 then type Code: sudo apt-get update Kind regards Last edited by matt_symes; October 12th, 2011 at 04:40 PM. apt-get is now unlocked. –Maxime R. when running sudo apt-get dist-upgrade again.
How to Install Broadcom Wireless Driver (BCM4313) ...
Are you trying to run synaptic package manager, ubuntu software center, software updater and commands like (apt-get update or apt-get upgrade or apt-get install package_name) You can't run two sources simultaneously. Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu apt package-management dpkg share|improve this question edited Jul 2 at 10:33 Volker Siegel 6,37122145 asked Nov 30 '10 at 2:12 La Ode Adam Saputra 2,2203108 6 This is also true E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. 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
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... Check This Out 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. share|improve this answer answered Oct 21 at 19:59 Joe 937619 add a comment| up vote 0 down vote In my case, X crashed while apt-get was still removing old kernels. That should resolve the issue. /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable
Konuşma metni Etkileşimli konuşma metni yüklenemedi. Having a problem logging in? Powered by Blogger. Source I don't recommend doing that as a first measure; maybe if there is no alternative.
Mobile media converter Install HP LaserJet P1108 printer in Ubuntu 12.04 Install Drupal on Ubuntu 12.04 To know wireless card information in your laptop? ► September (1) ► August (3) ► Sudo Rm /var/lib/apt/lists/lock Running Ubuntu 12.04. Anyone else?
So, I thought these were symptoms and changed my data and time manually. share|improve this answer answered Nov 30 '10 at 3:08 poolie 5,96512454 8 Great hint in contrast to the half-dozen replies suggesting to just remove the file ;-) I randomly ran What are those "sticks" on Jyn Erso's back? Rm: Cannot Remove '/var/lib/apt/lists/lock': No Such File Or Directory MooseMagnet View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Find More Posts by MooseMagnet View Blog 09-24-2013, 08:54 PM #2 MooseMagnet Member
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. mkdir ~/beckupVarLib sudo mv /var/lib/apt/lists/* ~/beckupVarLib sudo apt-get update MooseMagnet View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Find More Posts by How do organic chemistry mechanisms become accepted? have a peek here What is the truth about 1.5V "lithium" cells How to replace not found reference "??" in an another constant e.g "REF"?
this is the error now i am getting –hasee Aug 1 at 6:23 sudo apt-get dist-upgrade I tried above command i got the error as shown bellow Errors were I didn't try removing the lock file, though, since that can cause problems with the system. This happens when you have just started the ubuntu. ubuntu process apt dpkg share|improve this question asked Aug 1 '14 at 20:57 ArCiGo 63129 What was the exact package name you tried to install, and the actual command
Are you new to LinuxQuestions.org? Jarett Dunn 2.452 görüntüleme 9:58 الطريقة الصحيحة والسليمة لاعادة تثبيت السيديا عند حذفها بالغلط او بسبب اداة اخرى - Süre: 5:28. 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 A Page of Puzzling Is it possible to see animals from space?
I tried to remove Dropbox via Ubuntu Software Center and the software center show me this: Waiting to dpkg to exit. How to find punctures in inner tubes? 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 User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License.
Running the command then resolved the issue. asked 6 years ago viewed 1126077 times active today Linked 22 How can I solve Unable to lock the administration directory (/var/lib/dpkg/) 19 Could not get lock /var/lib/apt/lists/lock 15 E: Could Not the answer you're looking for?