lock-unlock
Lonni J Friedman
netllama at gmail.com
Tue Jun 7 16:51:58 PDT 2011
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)
> E: Unable to lock directory /var/lib/apt/lists/
> bob at bob-System-Product-Name:~$ sudo unlock /var/lib/apt/lists/lock
> sudo: unlock: command not found
> bob at bob-System-Product-Name:~$ sudo open /var/lib/apt/lists/lock
> bob at bob-System-Product-Name:~$ sudo apt-get update
> E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
> E: Unable to lock directory /var/lib/apt/lists/
> bob at bob-System-Product-Name:~$ sudo apt-get open /var/lib/apt/lists/lock update lock /var/lib/apt/lists/lock
> E: Invalid operation open
> bob at bob-System-Product-Name:~$
> What have I done wrong and how do I fix it?
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.
> Been a while since I've needed your help. Had bigger problems. My wife, Florine, died of a cerebral hemorrhage last June 30th. Ended up in the hospital with a nervous-breakdown. My son&his son flew to Medford, OR picked up a rental van loaded it and we left Friday Sept. 17 after a dialysis treatment. Arrived in Kilgore, TX, Monday Sept. 20 for my next scheduled dialysis. I'm ready to go home now.
> Anyway, in advance, thanks for the help.
> Bob
Bob, I'm sorry to hear that the past year has been so challenging. I
hope that the next year is much more favorable.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at gmail.com
LlamaLand https://netllama.linux-sxs.org
More information about the Linux-users
mailing list