I been getting this problem in terminal now for a day. I have tried fixing read many guides and nothing. I am new to ubuntu any help will be appreciated. "14.04 lts"

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

also have this data.


marked as duplicate by Eliah Kagan, g_p, αғsнιη, Sylvain Pineau, Eric Carvalho Oct 7 '14 at 10:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


If there is only one terminal running apt-get, or no Synaptic and Ubuntu Software Center; You can remove or move the lock file using:

sudo mv /var/cache/apt/archives/lock /var/cache/apt/archives/lock_bak

Not the answer you're looking for? Browse other questions tagged or ask your own question.