While most or all of this is presented in the other answers, this distills the fix down to a few commands. Nothing open and clean reboot. sudo rm /var/lib/apt/lists/lock Removing lock is probably not an ideal solution. Copied and pasted several of the above options to Konsole and tried them ….nothing removing "lock". have a peek at this web-site
missnaem on April 6, 2011 at 2:59 am said: thanks Eruaran it works for me 😉 Rakhunathan on April 9, 2011 at 2:49 am said: Hey friends, just type sudo bash After I typed in the command you prescribed, this is what I received: lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/tyler/.gvfs Output information may be incomplete. You can then either close that program, restart your PC or send a -TERM to the program with the lock by using kill and the pid. What is the truth about 1.5V "lithium" cells Why wouldn't the part of the Earth facing the Sun a half year before be facing away from it now at noon? http://askubuntu.com/questions/15433/unable-to-lock-the-administration-directory-var-lib-dpkg-is-another-process
Here are some of the things that can went wrong. 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, Quote & Reply| shnigi View Public Profile Send a private message to shnigi Find all posts by shnigi « Previous Thread | Next Thread » Thread Tools Show Printable Version Active Topics [Announce] tIDE - transportable IDE (14) to Applications by robthebold - 4 hrs ago Fairphone (210) to Competitors by explit - 4 hrs, 18 mins ago [Intex][LTE] European LTE
When I run terminal and type in sudo apt-get update it runs as if it will update, but then I get this message: W: GPG error: http://packages.medibuntu.org natty InRelease: The following I am newb and might be screwing it up. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME dpkg 2815 root 3rW REG 8,5 0 1043009 /var/lib/dpkg/lock please help Adv Reply June 20th, 2012 #9 nothingspecial View Profile View E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. 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...
Otherwise this is a sign that something else is installing or removing software and has locked the apt database while it performs the actions. If you have any problems then post back. Last edited by shnigi; 2011-08-22 at 14:50. Close the program and run it again it should work.You may either have synaptic open, or have another terminal window open running apt-get, or have the update manager running.Check it and
Do check if your disk drives are mounted. /var/cache/debconf/config.dat Is Locked By Another Process 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 The time now is 05:35. -- talk.maemo.org -- Classic Light ---- Classic Dark -- Minimalist Light ---- Minimalist Dark Contact Us - Home - Archive - Top All Content CC Legal Adv Reply June 20th, 2012 #8 bantolo View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Jun 2012 Beans 1 Re: Problem with update- Unable to
The most notable symptom is perhaps the date/time of the lock file being the exact date/time that you are trying to run the command. Close any other package managers (including Add/Remove application, language pack installer, etc.) and retry. Could Not Get Lock /var/cache/apt/archives/lock If you're facing the same error without 'Update Manager' running you have to remove it from /var/lib/dgkg/lock, which definitely you can't do it manually sudo fuser -cuk /var/lib/dpkg/lock sudo rm -f Could Not Get Lock /var/lib/dpkg/lock Kali Please try the other answers before doing this.
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) Check This Out I used the System Monitor to confirm it was still running and not stuck. Nokia-N900:~# Quote & Reply| zookmulla View Public Profile Send a private message to zookmulla Find all posts by zookmulla anthonie 2011-12-10 , 11:38 Posts: 1,047| Thanked: 1,123 times | Joined help please Quote & Reply| ShoOoSh View Public Profile Send a private message to ShoOoSh Find all posts by ShoOoSh Alfred 2011-06-06 , 17:10 Posts: 855| Thanked: 609 times | Unable To Lock Directory /var/cache/apt/archives/
If you read the newspaper, you're mis-informed. - Mark Twain Thinking about becoming an Ubuntu Member? Here is fapman log: --- 2011-08-22 17:43:33 --- /usr/bin/apt-get -q update -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts="" Get:1 http://repository.maemo.org fremantle-1.3 Release.gpg [489B] Get:2 https://downloads.maemo.nokia.com ./ Release.gpg [198B] Ign http://repository.maemo.org fremantle-1.3/free Translation-fi 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 Source EDIT: Added command.
and all the application catalog in application manager is able : nokia application nokia system software update ovi maemo.org extras-testing extras-devel maemo extras someone help me please with that You should Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked You should fix (2) before you fix (1). reboot will solve your problem...
here is xterm code. How to include multimedia files in beamer Were Palpatine or Vader ever congratulatory or nice to any of their subordinates? After that you need to import the key. Dpkg: Error: Dpkg Status Database Is Locked By Another Process Once I realized this I just ran apt-get, and it worked.
Active Topics [Announce] tIDE - transportable IDE (14) to Applications by robthebold - 4 hrs ago Fairphone (210) to Competitors by explit - 4 hrs, 19 mins ago [Intex][LTE] European LTE Killing an apt or aptitude process is harmless unless it is actually in the middle of package installation. Retired Dev - Thanks for all the fish! have a peek here You have two errors here. 1.
Active Topics [Announce] tIDE - transportable IDE (14) to Applications by robthebold - 4 hrs ago Fairphone (210) to Competitors by explit - 4 hrs, 19 mins ago [Intex][LTE] European LTE Make sure that you are not running aptitude, synaptic or adept. I have tried to edit the directory, and nothing has worked. Running the command then resolved the issue.
Who were the red-robed citizens of Jedha City? Please find info on the fundraiser HERE Best regards Ruediger 'Chemist' Schiller Maemo Community e.V. I literally wait 30 seconds and it fixes the issue. when running sudo apt-get dist-upgrade again.
Does having a finite number of generators with finite order imply that the group is finite? Please find info on the fundraiser HERE Best regards Ruediger 'Chemist' Schiller Maemo Community e.V. So, I thought these were symptoms and changed my data and time manually. I have looked in my system monitor and as far as I can tell none of them are running in the background either.
maemo.org > Talk > Talk > General > application manager locked howto open ? The apt-worker process is locked by another application. I am interested to see what has a lock on dpkg. Join Date May 2010 Location uk Beans 9,374 DistroXubuntu 14.04 Trusty Tahr Re: Problem with update- Unable to lock Administration directory Hi We're kind of cross posting Just in case you
Sever-sort an array What are these boxes mounted inline on each of the 3 phase wires of a high voltage power line in Miami? It's possible it may have got stuck. 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| 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
Quote & Reply| shnigi View Public Profile Send a private message to shnigi Find all posts by shnigi Rob1n 2011-08-22 , 15:04 Posts: 3,617| Thanked: 2,410 times | Joined on Nov Onkar Raut on November 30, 2010 at 12:12 am said: ps -e | grep apt (might show you a number which is essentially a job number. Catalogs doesnt update too.