<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div id="yiv669253915"><table cellspacing="0" cellpadding="0" border="0" id="yiv669253915bodyDrftID" class="yiv669253915"><tbody><tr><td id="yiv669253915drftMsgContent" style="font:inherit;font-family:arial;font-size:10pt;"><br><br>--- On <b>Tue, 6/7/11, Collins Richey <i><crichey@gmail.com></i></b> wrote:<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><br>From: Collins Richey <crichey@gmail.com><br>Subject: Re: lock-unlock<br>To: "Linux tips and tricks" <linux-users@linux-sxs.org><br>Date: Tuesday, June 7, 2011, 5:33 PM<br><br><div class="yiv669253915plainMail">On Tue, Jun 7, 2011 at 5:51 PM, Lonni J Friedman <<a rel="nofollow">netllama@gmail.com</a>> wrote:<br>> On Tue, Jun 7, 2011 at 3:37 PM, Bob Hemus <<a rel="nofollow">bob_hemus@yahoo.com</a>> wrote:<br>>><br>>>
Help fellas,<br>>> I'm trying to
add packages from synaptic package manager and apt-get and get the following errors. You can see what I tried to do to fix it, but...<br>>> bob@bob-System-Product-Name:~$ sudo apt-get update<br>>> [sudo] password for bob:<br>>> E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)<br><br><br>> Is this Ubuntu or Debian? Anyway, I'm guessing wildly that there is<br>> some GUI package mgr running which might have a lock on<br>> /var/lib/apt/lists/lock . Perhaps something like synaptic ? If you<br>> shutdown whatever the GUI is, that might fix the problem.<br>><br><br>After you've done enough research to find out if another apt process<br>is really using the lock, there is always the possibility that you had<br>an unscheduled shutdown leaving the lock file in place. Only after<br>checking everything out, you can rm the lock file.<br><br>I, too, and sad for all the
sadness you've experienced. Best of luck<br>for the future.<br><br><br><br>-- <br>Collins Richey<br> If you fill your heart with regrets of yesterday and the worries<br> of tomorrow, you have no today to be thankful for.<br>Ah, you folks stirred old memories. I "ps auxed" it, picked out the two that looked like that file deleted them and I'm back in business.</div><div class="yiv669253915plainMail"><br></div><div class="yiv669253915plainMail">Ubuntu 10.?</div><div class="yiv669253915plainMail"><meta http-equiv="content-type" content="text/html; charset=utf-8">I "ps auxed" it picked out the two that looked like that file deleted them and I'm back in business.</div><div class="yiv669253915plainMail">Thanks fellas.</div><div class="yiv669253915plainMail">Bob</div></blockquote></td></tr></tbody></table></div></td></tr></table>