Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

在尝试apt-get 时出现如下错误:

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?
有进程正在运行,可能是正在安装某个程序。可等程序安装更新后在apt-get

也可以结束进程,参考解决方法

原文地址:https://www.cnblogs.com/algs/p/8656995.html