Browse other questions tagged linux linux-mint or ask your own question. 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 Running the command then resolved the issue. Hopefully, this helps someone else! this contact form
Hot Network Questions Is there a risk connecting to POP3 or SMTP email server without secure connection? If you decide to do it, you can add this text to your question. –Eliah Kagan Jun 6 '12 at 9:10 1 I would suggest one more thing that you Browse other questions tagged apt package-management dpkg or ask your own question. share|improve this answer edited Dec 31 '13 at 8:16 minerz029 13.3k84583 answered Nov 30 '10 at 4:55 karthick87 30k43145206 9 Deleting the lock file is, what I would consider, a
Hopefully, this helps someone else! 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 Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable I would appreciate any input I can get, but if I have to I can wipe the partition entirely and reinstall (all of my important data is religiously redundant elsewhere, and
Do progress reports/logging information belong on stderr or stdout? Share + If You Appreciate What We Do Here On TecMint, You Should Consider: Stay Connected to: Twitter | Facebook | Google Plus Subscribe to our email updates: Sign Up Now If you use this carelessly you can end up with a broken system. Thank you very much.
While most or all of this is presented in the other answers, this distills the fix down to a few commands. Sudo Rm /var/lib/apt/lists/lock As ubuntu allows installing software only one at a time, hence the 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 If another process is locking for a valid reason - and you remove that lock file and force an install with what you were doing prior - you could seriously, in
Can cheese in hand luggage be mistaken for plastic explosive? weblink If you decide to do it, you can add this text to your question. –Eliah Kagan Jun 6 '12 at 9:10 1 I would suggest one more thing that you All of this was very strange as I've never seen it before. What is the difference between perspective distortion and barrel or pincushion distortion? Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked
share|improve this answer edited Jul 21 at 14:16 terdon♦ 44.1k688155 answered Nov 30 '10 at 2:17 Martin Owens -doctormo- 16k34395 5 I was updating my software when I got the I literally wait 30 seconds and it fixes the issue. Once I realized this I just ran apt-get, and it worked. navigate here Are the mountains surrounding Mordor natural?
I think I would have to do like previous unlocking problem, but please tell me the exact keywords for command. Rm: Cannot Remove '/var/lib/apt/lists/lock': No Such File Or Directory If those answers do not fully address your question, please ask a new question. What are these boxes mounted inline on each of the 3 phase wires of a high voltage power line in Miami?
I don't recommend doing that as a first measure; maybe if there is no alternative. I am interested to see what has a lock on dpkg. share|improve this answer edited Oct 17 at 17:10 Denja 2501422 answered Apr 22 '14 at 7:41 kushvarma 66838 I am running no other dpkg program :\ –Yelmaaz Apr 22 Ps Aux | Grep Apt 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
This will tell you what has got a lock on dpkg. How to make a shell read the whole script before executing it? How can I get an HDR to leave a silhouette? his comment is here If so then close that program, otherwise from the terminal type Code: sudo kill -TERM 15004 to close dpkg gracefully.
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 Where should a galactic capital be? These commands should be run in the order presented. If you think that there is nothing currently installing or uninstalling, then just reboot your system with the command sudo reboot.
For me, it was almost always caused by apt-get or some GUI that called it getting hung for some reason. All Rights Reserved. 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 Use sudo before a command to run the command with root privileges, like this: sudo apt-get install example-package This example command installs a package named example-package.
corrupted. Got a tip?