当“无法获得锁定 /var/lib/dpkg/lock – 打开(11 资源暂时不可用)”尝试安装或最近在 Ubuntu 虚拟机上从命令行升级软件包,所以我想我会写一篇关于如何摆脱这些问题的帖子。
这是完整的错误消息:
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?