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

When I try to install through my terminal I get this error:

enyel@Alexandria:~$ sudo apt-get unsettings
E: Invalid operation unsettings
enyel@Alexandria:~$ sudo apt-get install unsettings
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?

I already added the PPA and updated it, can anyone help?

share|improve this question

marked as duplicate by Jorge Castro, Eric Carvalho, Seth, hhlp, stephenmyall Feb 26 '13 at 7:59

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.

Is anything else running like the Update Manager, Software Center? – Uri Herrera Feb 25 '13 at 23:42

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

This tells you that another dpkg or apt command is already running. Please inspect your running processes with `ps auxw |egrep -e 'apt|dpkg'

  • If such a program is running, kill it.
  • If really no such program is running, delete the lock file: sudo rm -f /var/lib/dpkg/lock

For sanity invoke dpkg --configure -a

share|improve this answer


sudo rm /var/lib/dpkg/lock

sudo dpkg --configure -a

sudo apt-get install unsettings

share|improve this answer

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