ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

sudo apt-get update [closed]

asked 2015-07-08 20:59:23 -0500

Vito 178 gravatar image

updated 2015-07-09 02:26:18 -0500

gvdhoorn gravatar image

I tried to update using the sudo apt-get update command in ubuntu 12.04 it gives me an error

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?

can anyone help me how to solve this problem??

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see for more details. by tfoote
close date 2015-07-09 07:03:05.515322



In addition to the answer given, you can probably have Synaptic package manager open. Close it in that case.

Javier V. Gómez gravatar image Javier V. Gómez  ( 2015-07-09 03:28:40 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-07-08 22:29:27 -0500

allenh1 gravatar image

You have two instances of apt-get running right now. Are you installing anything using dpkg? If not, and only if you're sure you're not, you can do the following.

sudo rm -f /var/lib/dpkg/lock

But I do not recommend it. Patience is probably the answer.

edit flag offensive delete link more


Or it could be synaptic or any other apt management tool, including Software Updater. Thiis is a generic Ubuntu problem. I'm going to close as off topic. If you need more help please use I suggest searching first.

tfoote gravatar image tfoote  ( 2015-07-09 07:02:57 -0500 )edit

Question Tools


Asked: 2015-07-08 20:59:23 -0500

Seen: 174 times

Last updated: Jul 09 '15