Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I tried to install updates and it's saying to get partial upgrade When trying Partial Upgrade doesn't working again. And when trying to install any software it doesn't installing. Can someone help me?

EDIT

the sudo apt-get update output is

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) 
E: Unable to lock directory /var/lib/apt/lists/ E: 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?
share|improve this question
please provide output of this "sudo apt-get update" – Ringtail Mar 7 '12 at 18:33
that output is: E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ E: 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? – geoh Mar 7 '12 at 18:34

marked as duplicate by Jorge Castro, Eric Carvalho, Seth, Florian Diesch, hhlp Feb 26 at 7:44

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.

1 Answer

up vote 5 down vote accepted

First, check to make sure that there are not more than 1 instance of "apt-get" open. you cannot have Ubuntu Software Center open and/or Synaptic at the same time.

Second, just to be sure run sudo killall apt-get

You can reboot the machine and clear the process too.

Open a terminal

sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
sudo apt-get update
share|improve this answer
Ive tryed sudo killall apt-get and it says apt-get not found. What must I do now? – geoh Mar 7 '12 at 18:56
thank you. this helps. – geoh Mar 7 '12 at 19:19
you are welcome – Ringtail Mar 7 '12 at 19:23

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