If you'd like to contribute content, let us know. I am interested to see what has a lock on dpkg. 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. 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 have a peek at this web-site
Sign in to make your opinion count. Published on Jun 4, 2016sudo apt-get updateE: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)E: Unable to lock directory /var/lib/apt/lists/ Category Education License Standard YouTube License Show more For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. Interesting, because I am the only user (I just installed the system) and there's no other process using dpkg. recommended you read
If you don't update your system very often, LTS is the way to go. 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. Newer Post Older Post Home Subscribe to: Post Comments (Atom) About Me Vimal Kumar View my complete profile Followers Search This Blog Popular Posts How to root Android Jelly Bean and Loading...
If you use this carelessly you can end up with a broken system. If you still get a lock error, close the Ubuntu Software Center (Ubuntu 14.04) or Software application (Ubuntu 16.04) and the terminal to unlock /var/lib/dpkg/, reopen the terminal and try the sudo rm /var/lib/dpkg/lock sudo dpkg --configure -a It should work after this. /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable So, I thought these were symptoms and changed my data and time manually.
Searching on the WEB, I applied this.- sudo lsof /var/lib/dpkg/lock sudo kill -TERM
DPKG - Duration: 8:19. Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked Code: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2EBC26B60C5A2783 then type Code: sudo apt-get update Kind regards Last edited by matt_symes; October 12th, 2011 at 04:40 PM. For me, it was almost always caused by apt-get or some GUI that called it getting hung for some reason. Show more Language: English Content location: United States Restricted Mode: Off History Help Loading...
Cracker & Patcher 7,166 views 2:58 حل مشكلة "E: Could not get lock /var/lib/dpkg/lock" على ubuntu/elementary os/linux mint - Duration: 7:25. عمر ويب 11,111 views 7:25 Fixing E: Could not get
Some of that is in comments, but it's incomplete and hard to follow. Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu Open a terminal and type Code: sudo lsof /var/lib/dpkg/lock Enter your password. E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. 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 left the PC works with this, one day, waiting for the end of this but nothing happened). Check This Out Bharat Adhana 6,222 views 7:19 Package Management with DPKG and APT - Duration: 18:43. E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: When hiking, why is the right of way given to people going up? Unable To Lock Directory /var/cache/apt/archives/
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 Mobile media converter Install HP LaserJet P1108 printer in Ubuntu 12.04 Install Drupal on Ubuntu 12.04 To know wireless card information in your laptop? ► September (1) ► August (3) ► That should resolve the issue. http://sinistro.org/unable-to/could-not-get-lock-var-lib-dpkg-lock-open-11-resource.html Running Ubuntu 12.04.
In any case, if the process got stuck, you probably don't have a choice but to kill it. Sudo Rm /var/lib/apt/lists/lock If so then close that program, otherwise from the terminal type Code: sudo kill -TERM 15004 to close dpkg gracefully. share|improve this answer answered May 16 at 22:02 Wh33t 385 add a comment| up vote 0 down vote In my case I was getting the same message by not realizing I
What does the author want to convey by ending his letter with »Tschüssikowsky«? I have looked in my system monitor and as far as I can tell none of them are running in the background either. KaliTut 719 views 3:59 حل اكبر مشكل في نضام كالي لنكي kalii linux 2017 - Duration: 2:02. Rm: Cannot Remove '/var/lib/apt/lists/lock': No Such File Or Directory What does the author want to convey by ending his letter with »Tschüssikowsky«?
why do they give the same output? Search this Thread 09-24-2013, 02:02 PM #1 MooseMagnet Member Registered: Oct 2007 Location: U.S. Is the OBJECTID in an Oracle Geodatabase table the primary key? have a peek here E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or directory) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?