<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>&lt;crichey@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><br>From: Collins Richey &lt;crichey@gmail.com&gt;<br>Subject: Re: lock-unlock<br>To: "Linux tips and tricks" &lt;linux-users@linux-sxs.org&gt;<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 &lt;<a rel="nofollow">netllama@gmail.com</a>&gt; wrote:<br>&gt; On Tue, Jun 7, 2011 at 3:37 PM, Bob Hemus &lt;<a rel="nofollow">bob_hemus@yahoo.com</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt;
 Help fellas,<br>&gt;&gt; I'm trying to
 add packages from synaptic package manager and apt-get and get the following errors. &nbsp;You can see what I tried to do to fix it, but...<br>&gt;&gt; bob@bob-System-Product-Name:~$ sudo apt-get update<br>&gt;&gt; [sudo] password for bob:<br>&gt;&gt; E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)<br><br><br>&gt; Is this Ubuntu or Debian? &nbsp;Anyway, I'm guessing wildly that there is<br>&gt; some GUI package mgr running which might have a lock on<br>&gt; /var/lib/apt/lists/lock . &nbsp;Perhaps something like synaptic ? &nbsp;If you<br>&gt; shutdown whatever the GUI is, that might fix the problem.<br>&gt;<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>&nbsp; &nbsp;&nbsp; If you fill your heart with regrets of yesterday and the worries<br>&nbsp; &nbsp;&nbsp; of tomorrow, you have no today to be thankful for.<br>Ah, you folks stirred old memories. &nbsp;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&nbsp;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>