Ubuntu error, can not get a lock E: Could not get lock / var / lib / dpkg / lock-frontend - open (11: Resource temporarily ...

Solution

Finally, use a solution of the most violent, just delete the lock file:

sudo rm /var/lib/dpkg/lock-frontend
sudo rm /var/lib/dpkg/lock

https://www.jianshu.com/p/db98b84ac882 

Published 101 original articles · won praise 73 · views 120 000 +

Guess you like

Origin blog.csdn.net/usstmiracle/article/details/103760441