Ubuntu报错:“Could not get lock /var/lib/dpkg/lock”解决方案

在Ubuntu操作系统中,有时候运用sudo apt-get install 安装软件时,会出现一下的情况: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?