Question:
Sudo apt get update in Ubuntu
The following error is prompted
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/)
Solution:
Google keyword Ubuntu resource temporarily unavailable
Find the link below
How do I fix a “Could not get lock /var/lib/dpkg/lock” problem?
http://askubuntu.com/questions/15433/how-do-i-fix-a-could-not-get-lock-var-lib-dpkg-lock-problem
It says that the file is locked by other threads, and that the process needs to be found and killed; Or restart Ubuntu
I didn’t restart my installation of Ubuntu, so I chose to restart it
After restart, the problem is solved
Note: don’t be misled by posts that modify the maximum number of threads
Linux: resource temporarily unavailable error resolution
http://badqiu.iteye.com/blog/1149965