This happens when you have just started the ubuntu. asked 2 years ago viewed 18817 times active 1 year ago Related 5I cannot install new packages: “Could not get lock /var/lib/dpkg/lock”1Ubuntu Could not purge package3Weird issue with unmet dependencies when How to replace not found reference "??" in an another constant e.g "REF"? How can I tell whether a generator was just-started? http://sinistro.org/unable-to/could-not-get-lock-var-lib-dpkg-lock-open-11-resource.html
share|improve this answer answered Jun 11 '12 at 21:47 izx 93.8k22220264 add a comment| up vote 1 down vote I don't see this answer anywhere above but on Ubuntu 16.04, I EB Tutorials 7.710 görüntüleme 6:50 Fix Ubuntu Upgrade to 16.04 stuck at "Configuring grub-pc" section - Süre: 3:45. CentOS How to install Univention Corporate Server Linux tutorials POPULAR CATEGORYLinux distributions1476Software570Linux tutorials461News428Frequently Asked Questions313Opensource271Releases139CentOS118Unix113 ABOUT USUnixmen provide Linux Howtos, Tutorials, Tips & Tricks ,Opensource News. Is it bad form to write mysterious proofs without explaining what one intends to do? http://askubuntu.com/questions/15433/unable-to-lock-the-administration-directory-var-lib-dpkg-is-another-process
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 Spllitting a line into two Why did it take longer to go to Rivendell in The Hobbit than in The Fellowship of the Ring? Does a byte contain 8 bits, or 9?
Ekle Bu videoyu daha sonra tekrar izlemek mi istiyorsunuz? Turns out that there was a background process in the Ubuntu Software Center that was waiting for me to manually install some updates. –jvriesem May 12 at 21:16 add a comment| Vagiigav 1 11.150 görüntüleme 11:01 Installing packages using apt-get or dpkg command in Debian/ Ubuntu Operating Systems - Süre: 5:57. Unable To Lock Directory /var/cache/apt/archives/ After this operation, 16.9 MB of additional disk space will be used.
Why is credit card information not stolen more often? Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu This should be done only if everything else fails... Is it possible to have 3 real numbers that have both their sum and product equal to 1? http://askubuntu.com/questions/346143/e-could-not-get-lock-var-lib-dpkg-lock-open-11-resource-temporarily-unavai apt-fast MAY be responsible for not unlocking properly; this happens sometimes when you abort apt-get or dpkg too.
Konuşma metni Etkileşimli konuşma metni yüklenemedi. Sudo Rm /var/lib/apt/lists/lock If there is a lock with no apparent process running, this may mean the process got stuck for some reason. All of this was very strange as I've never seen it before. But to reduce the risk of corrupting an installation, it is better to first close the program that's holding the lock (which in essence is covered by step #2 above).
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 Jarett Dunn 2.452 görüntüleme 9:58 How to Reset Root Password In Ubuntu 12.04 | 14.04 | 15.04 | 16.04 LTS - Süre: 4:07. Could Not Get Lock /var/lib/dpkg/lock Kali 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, Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked 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
If those answers do not fully address your question, please ask a new question. 2 Reboot and try again. –Mitch♦ Sep 16 '13 at 7:13 2 Have a look Check This Out User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. It is also a pretty bad idea, as you point out, the OP should first look for running apt processes and kill them. –terdon♦ Nov 29 '13 at 4:18 Open a terminal and type Code: sudo lsof /var/lib/dpkg/lock Enter your password. /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable
Uygunsuz içeriği bildirmek için oturum açın. Kind regards If you believe everything you read, you better not read. ~ Japanese Proverb If you don't read the newspaper, you're uninformed. Interesting, because I am the only user (I just installed the system) and there's no other process using dpkg. Source Adv Reply October 12th, 2011 #4 majordread View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date Oct 2011 Beans 19 Re: Problem with update- Unable to
A Page of Puzzling Explain it to me like I'm a physics grad: Greenhouse Effect Regex with sed command to parse json text Is it possible to see animals from space? Rm: Cannot Remove ‘/var/lib/apt/lists/lock’: No Such File Or Directory Oturum aç Paylaş Daha fazla Bildir Videoyu bildirmeniz mi gerekiyor? EDIT: Added command.
Now the package manager lock has been released and you'll be able to install the packages without any issues. Cheers!SHARE Facebook Twitter tweet Previous articleHow To Install LIVES In Ubuntu In UbuntuNext articleKippo - A SSH Honeypot To Monitor Brute Force Attacks On Debian 7 / Ubuntu 13.10 However, once you are sure that's not the case, the following usually works for me. have a peek here If those answers do not fully address your question, please ask a new question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). The time now is 06:35 AM. Jul 24 at 21:01 add a comment| Not the answer you're looking for? If you have any problems then post back.