/var/lib/dpkg/lock.....help!

Posted by Pycnopodia on Ask Ubuntu See other posts from Ask Ubuntu or by Pycnopodia
Published on 2014-08-23T09:28:27Z Indexed on 2014/08/23 10:35 UTC
Read the original article Hit count: 262

Filed under:

I had to reinstall the entire OS a little while ago and I have been trying to reinstall all of the programs I had before but I got a bit a of a problem now. I was trying to download dropbox from synaptic but it cannot finish the process and as a result I cannot update anything anymore. The line that comes out is:

  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 have tried:

sudo apt-get install -f
sudo apt-get -f install
sudo rm /var/lib/dpkg/lock
sudo apt-get -f update
sudo dpkg --clear-selections
sudo dpkg --configure -a

But nothing seems to work.

So is there a way to solve this??

Thanks

© Ask Ubuntu or respective owner

Related posts about dpkg