Locked admin directory ???

Basil Chupin blchupin at iinet.net.au
Sun Jun 13 15:24:54 UTC 2010


On 14/06/10 01:13, Larry wrote:
> On 06/13/2010 09:48 AM, Basil Chupin wrote:
>    
>> On 14/06/10 00:13, Larry wrote:
>>
>>      
>>> On 06/13/2010 09:02 AM, Tom H wrote:
>>>
>>>
>>>        
>>>> On Sun, Jun 13, 2010 at 9:30 AM, Larry<larryesu at charter.net>     wrote:
>>>>
>>>>
>>>>
>>>>          
>>>>> I have a problem with not being able to install or even use apt-get
>>>>> because I keep getting this...
>>>>>
>>>>> Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily
>>>>> unavailable)
>>>>> E: Unable to lock the administration directory (/var/lib/dpkg/), is
>>>>> another process using it?
>>>>>
>>>>> Does anyone know how to kill this processor that seems to be still
>>>>> open...???
>>>>>
>>>>>
>>>>>
>>>>>            
>>>> You have to be root or use sudo.
>>>>
>>>>
>>>>
>>>>
>>>>          
>>> *Thanks, but I no that, when using apt-get or synaptic etc...But the
>>> problem that I am having is I can not use either apt-get or synaptic
>>> because something has it locked, why or what I have no-idea...This is
>>> what I am trying to find out... ;-)
>>>
>>> Thanks again Larry
>>>
>>>
>>>        
>> Sounds like apt-get/synaptic is still trying to complete its work but is
>> stuck and therefore is 'locked' until it completes its task.
>>
>> Do you reboot your computer or is it running 24/7? Rebooting may clear
>> this lock. The easiest is to do the following otherwise one would need
>> to go and find the "!lock" which is locking apt-get/synaptic - and I
>> don't know where this could be without searching for it. (If you are
>> using Firefox or Thunderbird you will find "!lock" in the /.FF or TB
>> directory when either one is actually active.)
>>
>> Otherwise, at terminal do "sudo ps aux" and look to see which PID the
>> still running apt-get or synaptic has been assigned (which is causing
>> the lock)...and kill it (you know how don't you? with "kill xxxxx" or if
>> it doesn't want to get deaded then use apocalyptic "kill -9 xxxxx" where
>> "xxxxx" is the PID number of the still running apt-get/synaptic. Just
>> make sure that you use the right PID number, and don't mistype it :-) .)
>>
>> BC
>>
>>
>>
>>      
> *Ok fella's, I am right now downloading Ultimate Edition 2.7, and one
> does not need to be root, so I looked at ps aux, and don't see anything
> either...My last resort is to reboot, to see if that will fix the locked
> state...But not until my download has finished...
>
> I'll let you know afterwards...
>
> Thanks for the replies... ;-)
>
> Larry
>    

Larry, you have totally confused the situation...You are downloading UE 
2.7 and you expect synaptic/apt-get to work while this download is being 
done?!

Or are you downloading UE 2.7 as a file download from the UE site and 
not as an upgrade to an existing installation of UE?

Please be specific about what you are doing.....Makes it difficult to 
help when the description of the playing field keeps changing.... :-( .


BC

-- 
Those who hold and those who are without property have ever formed distinct interests in society.
                                            James Madison





More information about the ubuntu-users mailing list