simulation with kinetic friction, weird results What are those "sticks" on Jyn Erso's back? Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [SOLVED] Problem with update- Unable Khaled21cydia 10.205 görüntüleme 5:28 Django 01.04: Installing MySQL - Süre: 3:30. I got it by reading many answers to questions like this one. http://netfiscal.com/unable-to/e-unable-to-lock-directory-var-cache-apt-archives-debian.html
You can delete the lock file with the following command: sudo rm /var/lib/apt/lists/lock You may also need to delete the lock file in the cache directory sudo rm /var/cache/apt/archives/lock sudo rm 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 Depowering a high AC PC without killing the rest of the group Big O Notation "is element of" or "is equal" Can cheese in hand luggage be mistaken for plastic explosive? I'm an absolute beginner. –kern Jan 29 '12 at 11:38 sudo - execute command as root, rm - remove file. his comment is here
First execute the command below to remove the lock file in the /var/lib/dpkg/ directory: $ sudo rm /var/lib/dpkg/lock Afterwards force package(s) to reconfigure like so: $ sudo dpkg --configure -a Alternatively, Extensible code to support different HR rules Is there a non-medical name for the curve where index finger and thumb meet? 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? ps aux | grep apt or ps aux | grep dpkg. –Faheem Mitha Aug 1 '14 at 21:04 add a comment| 1 Answer 1 active oldest votes up vote 7 down
Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Open a terminal and type Code: sudo lsof /var/lib/dpkg/lock Enter your password. If you see an apt-get process or an aptitude process that looks stuck, you can try kill processnumber and if that doesn't work try kill -9 processnumber This should kill the /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable greetings cccc cccc View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by cccc 05-05-2006, 06:11 AM #2 jschiwal LQ Guru Registered:
I then used "fuser" as described in earlier posts and apt worked, but I was getting complaints about needing to run dpkg -a -reconfigure. 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, Would you like to answer one of these unanswered questions instead? https://ubuntuforums.org/showthread.php?t=1858466 apt-get is now unlocked. –Maxime R.
Search for processesps -A | grep apt-get2. Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked I have tried to edit the directory, and nothing has worked. Should I find punctures by immersing inner tube in water or hearing brezze or feeling breeze or how else? 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
Adv Reply October 12th, 2011 #7 majordread View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date Oct 2011 Beans 19 Re: Problem with update- Unable to up vote 244 down vote I see pretty much all the answers recommend deleting the lock. Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu The dpkg lock file is locked. E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. If you need to reset your password, click here.
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 Check This Out Quick Notepad Tutorial 315 görüntüleme 1:16 Fix dpkg was interrupted you must manually - Süre: 3:59. nnn mmm says: I think what you mean is that Chromium is based off... Forums Chat | Popular wiki pages | Ubuntu Membership Adv Reply Quick Navigation Installation & Upgrades Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Unable To Lock Directory /var/cache/apt/archives/
cavite Posts: 1 Rep: hi i have the same pro. To add to his solution, 1. In any case, if the process got stuck, you probably don't have a choice but to kill it. Source 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
shafiqueksg 958 görüntüleme 3:30 حل هالخطا could not open file /var/lib/dpkg/status - Süre: 2:20. December 19, 2016 Disable touchscreen in LinuxOctober 26, 2016Browse anonymously in Kali Linux with AnonsurfOctober 17, 2016Building updated Kali Linux ISOAugust 9, 2016 Popular Categories Kali Linux Security Linux Desktop Managers Your name can also be listed here. Rm: Cannot Remove '/var/lib/apt/lists/lock': No Such File Or Directory That should resolve the issue.
Oturum aç Çeviri Yazısı İstatistikler 4.398 görüntüleme 21 Bu videoyu beğendiniz mi? Related 5I cannot install new packages: “Could not get lock /var/lib/dpkg/lock”1Ubuntu Could not purge package3Weird issue with unmet dependencies when cloning package states from earlier installation on same machine-2dpkg / apt-get How can you solve the above error in case you bump into it in the future? http://netfiscal.com/unable-to/e-unable-to-lock-the-download-directory.html pabloab777 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by pabloab777 11-15-2011, 10:09 PM #10 kimeunice LQ Newbie Registered: Nov 2011 Location:
Browse other questions tagged ubuntu process apt dpkg or ask your own question. If you have any problems then post back. Can the product of two nonsymmetric matrices be symmetric? There are several ways of dealing with this error(s), but in this guide, we will go through the two easiest and probably the most effective ways of solving it. 1.
Can three +1/+1 counters be considered one +3/+3 counter? asked 4 months ago viewed 1447 times active 4 months ago Blog Stack Overflow Gives Back 2016 Developers, Webmasters, and Ninjas: What’s in a Job Title? Interesting, because I am the only user (I just installed the system) and there's no other process using dpkg. you cannot run both at the same time, make sure any other package managers on the system are closed before trying to update or upgrade.
If you read the newspaper, you're mis-informed. - Mark Twain Thinking about becoming an Ubuntu Member? 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. Why does a (D)DoS attack slow down the CPU and crash a server? Tags: Ubuntu FAQ's View all Posts Aaron Kili Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves
This asks the process to exit normally, which allows it to clean up first. What is a real-world metaphor for irrational numbers? If you don't update your system very often, LTS is the way to go. What are those "sticks" on Jyn Erso's back?
share|improve this answer edited Oct 6 '15 at 6:40 kos 20.4k55092 answered Jan 15 '15 at 9:54 Wessi 9112 This looks like a comment rather than an answer. 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 Do (did) powered airplanes exist where pilots are not in a seated position? It's just not an LTS (long term support) which has a commitment (in general) from canonical to release updates for 5 years for server and 3 years for desktop.