Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
hemant@HmNt-pc:~$ sudo apt-get remove nautilus-dropbox
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?

This error comes after I input the following command

sudo apt-get remove nautilus-dropbox

Can anyone suggest a way around this, please?

share|improve this question

From the error message it sounds like another package manager is already running. You will not be able to run apt-get if you have, for example, synaptic package manager open at the same time.

Close out of the other package manager and try again. Or restart to make sure that no other ones are running.

share|improve this answer
The one other reason would be that apt-get crashed and somehow did not remove the lock (which is unlikely, but could happen.) Although I think a reboot would resolve that issue. – Alexis Wilke Aug 9 '13 at 19:09

Try and remove it with Synaptic and see if that helps. To install Synaptic type the following:

sudo apt-get install synaptic

After synaptic is installed launch it as the root user as follows:

sudo synaptic

Once the program opens you should then be able to search for Dropbox and remove the relevant packages.

share|improve this answer
Unlikely to succeed - The question states that a lock on the database cannot be created. – guntbert Aug 9 '13 at 19:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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