[ubuntu-za] Update error

Charl Wentzel charl.wentzel at vodamail.co.za
Wed Jun 9 09:08:43 BST 2010


On Wed, 2010-06-09 at 09:52 +0200, Andy Rabagliati wrote:
> On Wed, 09 Jun 2010, Dr. Johan P. Prinsloo wrote:
> 
> > Since one of the recent upgrades, I've been getting the following 
> > message that prevents me from running further upgrades:
> > 
> > An error occurred
> > The following details are provided:
> > E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource 
> > temporarily unavailable)
> > E: Unable to lock the download directory
> > 
> > I cannot open the file or change the permissions, because I need to do 
> > that as root (sudo), which I'm rather careful with and in any case I 
> > would not know the command.
> > What I wcan I do about this?
> > Johan
> 

This also happens when you already have a package manager open, e.g.
Update manager/Synaptic/etc and then try to use apt-get or aptitude.
The one that is already open has locked the files so the second can't
work.  

Simply close one of them and it will work from there.

Regards
Charl




More information about the ubuntu-za mailing list