downloading updates

Asked by David

when i attempt to d/l the updates this is the message that appears:

E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory

what does it mean? how can i fix it?

thanks
+david

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Matt Walker (matthaeus123) said :
#1

it means that you have another app open that is running as a superuser. So you can't run that program till you close the sudo program

Revision history for this message
Murali Krishna Marimekala (murali-marimekala) said :
#2

David,

Whenever you try to install or upgrade any package, /var/cache/apt/archives/lock will be enabled so that other installation problem cannot start parallely. This is like a mutex kinda concept.

Since you might have given $sudo apt-cache search update command in one terminal and trying to do the same or through gui updating the new packages. So, two applications cant update at same time bcos of lock.

Solution is to close or kill one.

-Murali Marimekala

Can you help with this problem?

Provide an answer of your own, or ask David for more information if necessary.

To post a message you must log in.