-1
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?
Dan
  • 6,753
  • 5
  • 26
  • 43

2 Answers2

1

You can get this if you have some kind of package manager running at the same time. Only one process can access package management at a time. Has hit me a couple times when I forgot about it.

ernoh
  • 125
1

Try to delete lock file with command:

sudo rm /var/lib/dpkg/lock