Home > Unable To > Unable To Lock Directory /var/lib/apt/lists/ Ubuntu 12.04

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

Hot Network Questions What to do when using your private key from another computer? 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 Please try again later. 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 check over here

share|improve this answer edited Feb 13 at 14:04 answered Jul 3 '13 at 9:01 Faheem Mitha 2,6441810 1 Also, I would kill dpkg. Kayla Echols 115,628 views 1:03 Kernel headers problem solved (linux-headers-$(uname -r)) - Duration: 5:51. 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 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. http://askubuntu.com/questions/15433/unable-to-lock-the-administration-directory-var-lib-dpkg-is-another-process

That should resolve the issue. Working... WinAndLinuxTutorials 46,324 views 2:53 How to remove/fix " Permission Denied" in linux (Ubuntu,Linux Mint,Fedora)? - Duration: 2:09. Would you like to answer one of these unanswered questions instead?

You decide which version you want. UNIX is a registered trademark of The Open Group. bloger bobo 33,750 views 4:34 Fix dpkg was interrupted you must manually - Duration: 3:59. 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?

Sign in Share More Report Need to report the video? Working... What are these boxes mounted inline on each of the 3 phase wires of a high voltage power line in Miami? 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

E.g. 12.04 LTS and 14.04 LTS.DeleteReplyjeevan reddy mandaliDecember 11, 2014 at 8:49 PMawesome this single command saved my 2days headache!boom!ReplyDeleteAjay KumarJanuary 22, 2015 at 1:20 PMsudo rm /var/lib/dpkg/lock Resolved error using apt-fast MAY be responsible for not unlocking properly; this happens sometimes when you abort apt-get or dpkg too. How to Install Broadcom Wireless Driver (BCM4313) ... If they are not, you may not be able to acquire the lock as the package installer will not be able to access the filesystem.

  • share|improve this answer edited Jul 21 at 14:16 terdon♦ 44.2k688155 answered Nov 30 '10 at 2:17 Martin Owens -doctormo- 16k34395 5 I was updating my software when I got the
  • What is the intuition behind the formula for the average?
  • Taken from: http://askubuntu.com/a/15469/68707 share|improve this answer edited Jun 7 '12 at 10:04 Yi Jiang 91611227 answered Jun 6 '12 at 7:17 Nabeel Ahmed 28534 1 This was the problem in
  • 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

You are currently viewing LQ as a guest. corrupted. Colony on the moon - how fast can Santa deliver? Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community.

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 http://amazonfonts.com/unable-to/unable-to-lock-mailbox-directory-183.html Sign in to make your opinion count. If you don't update your system very often, LTS is the way to go. Don't be so fast in removing anything before trying other solutions.

Minimum font size for mobile view What is a "frozen ATPL"? Browse other questions tagged apt package-management dpkg or ask your own question. iPeris 20,722 views 3:02 [Ubuntu] [Fix] Error when using Ubuntu Software Center, apt-get, Package Manager, Update Manager - Duration: 2:53. http://amazonfonts.com/unable-to/unable-to-lock-the-administration-directory-ubuntu-12-04.html Running the command then resolved the issue.

Once I realized this I just ran apt-get, and it worked. Then, all of the above problems were fixed... Why wouldn't the part of the Earth facing the Sun a half year before be facing away from it now at noon?

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.

Hot Network Questions Seven Impatient Knights Checking to see if a string is alphabetic What is a real-world metaphor for irrational numbers? Sign in to add this video to a playlist. 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) share|improve this answer answered Mar 31 at 2:43 BluePython 1114 add a comment| up vote 0 down vote In my case I just waited for several minutes and the lock has

This is shown also in update manager. ['Unable to get exclusive lock This usually means that another package management application (like apt-get or aptitude) is already running. I don't recommend doing that as a first measure; maybe if there is no alternative. KaliTut 719 views 3:59 No se pudo bloquear /var/lib/dpkg/lock - Duration: 2:12. have a peek at these guys Can't run apt-get, synaptic package manager, or any other.

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 Either you need to kill one process completely or you have to delete the lock file which is in /var/lib/dpkg/lock & /var/cache/apt/archives/lock 1 members found this post helpful. 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 Javaweb4u 3,871 views 5:51 sudo apt-get update && sudo apt-get ugprade - Duration: 9:58.

What to do when using your private key from another computer?