lock-unlock

Collins Richey crichey at gmail.com
Tue Jun 7 17:33:35 PDT 2011


On Tue, Jun 7, 2011 at 5:51 PM, Lonni J Friedman <netllama at gmail.com> wrote:
> On Tue, Jun 7, 2011 at 3:37 PM, Bob Hemus <bob_hemus at yahoo.com> wrote:
>>
>> Help fellas,
>> 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...
>> bob at bob-System-Product-Name:~$ sudo apt-get update
>> [sudo] password for bob:
>> E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)


> Is this Ubuntu or Debian?  Anyway, I'm guessing wildly that there is
> some GUI package mgr running which might have a lock on
> /var/lib/apt/lists/lock .  Perhaps something like synaptic ?  If you
> shutdown whatever the GUI is, that might fix the problem.
>

After you've done enough research to find out if another apt process
is really using the lock, there is always the possibility that you had
an unscheduled shutdown leaving the lock file in place. Only after
checking everything out, you can rm the lock file.

I, too, and sad for all the sadness you've experienced. Best of luck
for the future.



-- 
Collins Richey
     If you fill your heart with regrets of yesterday and the worries
     of tomorrow, you have no today to be thankful for.




More information about the Linux-users mailing list