Home > Unable To > Linux Could Not Get Lock /var/lib/dpkg/lock

Linux Could Not Get Lock /var/lib/dpkg/lock


I just spent the better part of an hour dealing w/ this same error. but why happened this? –Jaime Hablutzel May 26 '12 at 22:40 15 @jaime: probably apt-get (or some GUI frontend to it) was halted while executing, leaving apt in a locked I also am unable to use the update manager or the synaptic package handler. 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 check over here

See my edit on my last post on how to add the keys. Linux System Administrator Bundle with 7-Courses (96% off) Add to Cart - $69 Ending In: 3 days CentOS & Red Hat Certified System Administrator Course (90% off) Add to Cart - Pentesting against own web service hosted on 3rd party platform What does this symbol of a car balancing on two wheels mean? If there is a lock with no apparent process running, this may mean the process got stuck for some reason. http://askubuntu.com/questions/15433/unable-to-lock-the-administration-directory-var-lib-dpkg-is-another-process

Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu

See my edit on my last post on how to add the keys. For all standard (non-LTS) releases, the maximum duration of support is 18 months.Both versions have pros and cons - LTS gets long term support and standard gets latest features. Not the answer you're looking for? Oturum aç Paylaş Daha fazla Bildir Videoyu bildirmeniz mi gerekiyor?

First try killing any running instance of apt or aptitude as described in Faheem's answer. Jack Lupton says: Perfect. apt-fast MAY be responsible for not unlocking properly; this happens sometimes when you abort apt-get or dpkg too. E: Unable To Lock Directory /var/cache/apt/archives/ Glenn Johnson says: dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo dnf install spotify-client Where's...

share|improve this answer answered Aug 1 '14 at 21:24 jimm-cl 660212 Ok. E: Unable To Lock The Administration Directory (/var/lib/dpkg/), Is Another Process Using It? So if you try again in a few minutes that should fix it. I tried to remove Dropbox via Ubuntu Software Center and the software center show me this: Waiting to dpkg to exit. This was pretty annoying as it stops you from installing updates or new softwares.

I went and did every code ya'll said but dnt know if it worked. Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked This error can be so annoying especially for new Linux (Ubuntu) users who may not know exactly the cause of the error. Silly, but it might still explain the error for some. See if there is any process running as apt-get then kill that processsudo kill -9 If the error persists, apply following commands in a termina, sudo su sudo rm /var/lib/apt/lists/lock apt-get

E: Unable To Lock The Administration Directory (/var/lib/dpkg/), Is Another Process Using It?

share|improve this answer answered Jan 29 '12 at 11:27 Bruno Pereira 49.9k20154187 these commands helped, but now when I tried to install again, got this reply : Could not https://ubuntuforums.org/showthread.php?t=1858466 current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to customize your list. Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu Tae Grado 722 görüntüleme 9:29 sudo apt-get update && sudo apt-get ugprade - Süre: 9:58. Could Not Get Lock /var/lib/dpkg/lock Kali Out of interest do you have synaptic package manager, update manager or software center running ?

I TecMint : BEGINNER'S GUIDE FOR LINUX Start learning Linux in minutes Vi/Vim Editor BEGINNER'S GUIDE Learn vi/vim as a Full Text Editor Advertise Here Linux Foundation Certification Exam Study Guide http://jessriegel.com/unable-to/i-could-not-get-lock-var-cache-apt-archives-lock.html Uygunsuz içeriği bildirmek için oturum açın. These commands should be run in the order presented. Cancel reply Your email address will not be published. E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem.

Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. I have 6 systems with a mix of both... :PReplyDeleteEmmanuel OlukaNovember 11, 2015 at 4:42 PMYou can delete the lock file with the following command:sudo rm /var/lib/apt/lists/locksudo rm /var/cache/apt/archives/locksudo apt-get updateReplyDeleteUnknownDecember so, I was able to run apt-get --fix-missing and then apt-get update and it seems to be working- Since I had let it do it's thing all evening I just now this content What is the day to day life like as a father?

Crazy 8s Code Golf "Shields at 10% one more hit and..." What? /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable Search for processps aux | grep aptThis will catch all running processes that contain apt in their name. 2. 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

You are missing a GPG key 2.

Oturum aç 1 Yükleniyor... Your name can also be listed here. Home How to Denial-of-Service Attack (DoS) Hacking Linux Administration VirtualBox Virtual Private Network (VPN) Wireless LAN (Wi-Fi) How to add RBL on Zimbra Server? Sudo Rm /var/lib/apt/lists/lock If you don't update your system very often, LTS is the way to go.

Kapat Daha fazla bilgi edinin View this message in English YouTube 'u şu dilde görüntülüyorsunuz: Türkçe. Javaweb4u 4.103 görüntüleme 5:51 FIX : iOS 9 Cydia Crashing + Cydia Tweaks Not Working/Showing In Settings - PanGu Jailbreak Errors - Süre: 2:57. Making identical C++ type aliases incompatible What does the author want to convey by ending his letter with »Tschüssikowsky«? have a peek at these guys Browse other questions tagged ubuntu process apt dpkg or ask your own question.

Oturum aç Çeviri Yazısı İstatistikler 4.472 görüntüleme 21 Bu videoyu beğendiniz mi? Prune the list looking for any single file called "lock"} 6> rm -rf /var/lib/dpkg/lock {This will forcefully removed the locks} 7> apt-get upgrade 8> dpkg --configure -a {I then re-ran this The time now is 02:36 PM. Konsole inside KDE.

If you are using Gnome Look for Gnome system monitor If you are using KDE look for KDE System Guard Or open a terminal and run htop craigevil View Public I tried killall -w apt-get as root but I don't know how to kill dpkg- Any suggestions? Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest 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