Home > Unable To > Unable To Lock Directory /var/cache/apt/archives

Unable To Lock Directory /var/cache/apt/archives


Last modified: Fri Oct 14 22:47:19 2016; Machine Name: beach Debian Bug tracking system Copyright (C) 1999 Darren O. A word like "inappropriate", with a less extreme connotation Unusual keyboard in a picture What are "desires of the flesh"? How would you help a snapping turtle cross the road? Notify me of new posts by email. Source

Acknowledgement sent to Dave Sherohman : New Bug report received and forwarded. Logical fallacy: X is bad, Y is worse, thus X is not bad Did Sputnik 1 have attitude authority? [email protected]:~$ ps -ef |grep apt root 1756 1 0 12:12 ? 00:00:00 apt-get install auto-apt root 1758 1756 0 12:13 ? 00:00:00 /bin/sh -c /usr/sbin/dpkg-preconfigure --apt || true root 1759 1758 Full text and rfc822 format available. More Bonuses

Error Unable To Lock The Download Directory

Privacy PolicyContact us: contact (at) theeighthnetwork (dot) comFOLLOW US © Copyright 2015 - Newspaper 6 by TagDiv Saturday , October 15 2016 Home How to Denial-of-Service Attack (DoS) Hacking Linux Administration If you think that there is nothing currently installing or uninstalling, then just reboot your system with the command sudo reboot. apt-get is now unlocked. –Maxime R. Killing a dpkg process directly, if present, is not a good idea, because if dpkg is active, it is probably manipulating the package database, and killing it may leave the package

After this operation, 70.9 MB of additional disk space will be used. ubuntu root share|improve this question edited Aug 1 at 6:56 karel 6,83992227 asked Aug 1 at 5:31 hasee 6 1 please anyone help by solving my error. –hasee Aug 1 It happens to the best of us. Unable To Lock The Administration Directory Kali apt package-management dpkg share|improve this question edited Jul 2 at 10:33 Volker Siegel 6,14122144 asked Nov 30 '10 at 2:12 La Ode Adam Saputra 1,965398 5 This is also true

Browse other questions tagged ubuntu root or ask your own question. Unable To Lock Directory /var/lib/apt/lists Insightful comments too! Debian bug tracking system administrator . Determine if a coin system is Canonical Is it possible to have a planet unsuitable for agriculture?

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 Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Debian Trying to fix the error Tried multiple steps Try 1 - Rebooting: At this point I tried restart and see if that makes any differences. Best Lightweight Linux Distros for Older ComputersBest Linux Adobe Alternatives You Need to Know4 of the Best Linux Distros for Windows Users5 of the Best Antivirus Programs for UbuntuThe Beginner's Guide Finally, sometimes if the process is crashed a stale pid file is left behind, in this case you need to rm that pid file by hand to let system know the

Unable To Lock Directory /var/lib/apt/lists

Hot Network Questions Is there a place in academia for someone who compulsively solves every problem on their own? http://superuser.com/questions/1107260/unable-to-lock-the-administration-directory-var-lib-dpkg-error-when-trying-t DistroUbuntu Re: Unable to lock the download directory My bad- I should have been more clear. Error Unable To Lock The Download Directory [email protected]:~# rm /var/lib/dpkg/lock and then try to update again [email protected]:~# apt-get update Hit http://security.kali.org sana/updates InRelease . . Unable To Lock The Administration Directory [email protected]:~# sudo apt-get update Hit http://http.kali.org sana InRelease . .

Browse other questions tagged apt package-management dpkg or ask your own question. http://smartphpstatistics.com/unable-to/convert-unable-to-open-image-no-such-file-or-directory.html Is there anything wrong with what I am doing? From a beginner's point of view, it's a complex error, as new users are mostly not aware about the "/var/lib/dpkg/" directory and what it has to do with the current operation The cause was the time on my computer was set into the future. (This is because I'm on a Windows+Ubuntu dual boot system and I guess I have messed up local Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root

Need to get 0 B/70.6 MB of archives. E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ Solution: If you encounter with the same error, do the following steps. In your case you could run Code: sudo kill -9 1756 1758 1759 GNU/Linux Notes || Linux Command Line Learning Resources Adv Reply January 19th, 2012 #7 Bumpalot View Profile have a peek here How do I explain that this is a terrible idea?

I knew there was a problem with the date/time when I logged in, but was ignoring it. (Previously, it was setting it automatically via the Internet and NTP). Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu Period. –Jay Sullivan Nov 18 '14 at 3:36 2 Note, killall apt-get does the same thing as your ps/kill combo. –Cerin Jan 15 at 22:09 | show 3 more comments In all cases just run them on two separate lines as in: sudo apt-get update sudo apt-get dist-upgrade share|improve this answer edited Sep 7 '15 at 12:40 Ghanima♦ 6,82752450 answered Sep

Recent Posts Take picture of unauthorized user trying to access your Laptop October 12, 2016 Add timestamp to terminal in Linux October 11, 2016 Run Kali Linux in Microsoft Azure on

What are "desires of the flesh"? As an example, the following screenshots show the "apt-get install" command throwing similar looking errors.However, if you take a closer look, you'll observe that the text within brackets in the first apt-fast MAY be responsible for not unlocking properly; this happens sometimes when you abort apt-get or dpkg too. Unable To Lock The Administration Directory Is Another Process Using It For the error mentioned in the comment: Errors were encountered while processing: /var/cache/apt/archives/libgtk-3-bin_3.18.9-1ubuntu3.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Try fixing it by running these commands: sudo apt-get clean

Is there a role with more responsibility? Adv Reply January 20th, 2012 #10 cortman View Profile View Forum Posts Private Message HAGGIS! Here are my attempts.... Check This Out Sometimes if a process that has lock on dpkg or apt-get and it quits suddenly, it causes issues, as the lock file isn't removed like it should.